How to make a new CMD?
#1

Can someone show me how to make new commands and be specific!
Reply
#2

Zcmd

pawn Код:
CMD:yourcmd(playerid, params[])
    {
     //your CMD here
    return 1;
}
Example

pawn Код:
CMD:kill(playerid, params[])
    {
     SetPlayerHealth(playerid, 0);
    return 1;
}
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=91354
Reply
#4

That's the whole part of SA-MP scripting bro, if you use ZCMD like me, a regular command would look like this
Код:
CMD:yourcommand(playerid, params[])
{
       //Do Something Here!!
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)