PDA

View Full Version : I have some simple question THANKS A LOT


Soap_MacTavish
21/01/2014, 03:03 PM
First: How to make the players run like CJ (cj run style)

Second: How to make a command like /createvehicle [PlayerID] [ModelID] [Color1] [Color2] with 4 space.

Third: Zcmd style likeCMD:Mycommand(playerid, params[])
{
//my command
}didn't work. When I compile it showed: Warning symbol "Mycommand" never used. And it is invalid in the game. I put this code in the end of gamemode of a Role-Play sever.

Forth: How to check whether a player shot by Sniper or something

Thanks a lot :)

BornHuman
21/01/2014, 03:06 PM
First - Put this under OnGameModeInit: UsePlayerPedAnims();
Second - Take a look at this Filterscript: http://forum.sa-mp.com/showthread.php?t=276887

Third: Do simple commands before you move on to difficult ones like that. Learn pawn a bit, self-teach yourself and get help. You'll get it sometime! aLSO, ADD

#include <ZCMD> below #include <a_samp>

CMD:mycommand(playerid)
{
// Function here
return 1; // Always return something like 1.
}

Avi Raj
21/01/2014, 03:08 PM
1. Add this line under OnGameModeInIt

UsePlayerPedAnims();

3. Add this on top of your script.
#include <zcmd>

Soap_MacTavish
21/01/2014, 03:09 PM
Thanks