I have some simple question THANKS A LOT
#1

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
Reply
#2

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

Код:
#include <ZCMD>
below #include <a_samp>

Код:
CMD:mycommand(playerid)
{
    // Function here
    return 1; // Always return something like 1.
}
Reply
#3

1. Add this line under OnGameModeInIt
pawn Код:
UsePlayerPedAnims();
3. Add this on top of your script.
pawn Код:
#include <zcmd>
Reply
#4

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)