I have some simple question THANKS A LOT - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I have some simple question THANKS A LOT (
/showthread.php?tid=489236)
I have some simple question THANKS A LOT -
Soap_MacTavish - 21.01.2014
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 like
Код:
CMD: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
Re: I have some simple question THANKS A LOT -
BornHuman - 21.01.2014
First - Put this under OnGameModeInit: UsePlayerPedAnims();
Second - Take a look at this Filterscript:
https://sampforum.blast.hk/showthread.php?tid=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
below #include <a_samp>
Код:
CMD:mycommand(playerid)
{
// Function here
return 1; // Always return something like 1.
}
Re: I have some simple question THANKS A LOT -
Avi Raj - 21.01.2014
1. Add this line under OnGameModeInIt
3. Add this on top of your script.
Re: I have some simple question THANKS A LOT -
Soap_MacTavish - 21.01.2014
Thanks