VERY basic zcmd question - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: VERY basic zcmd question (
/showthread.php?tid=326256)
VERY basic zcmd question -
Jing_Chan - 16.03.2012
I'm making a command, and I need it to set your armor to 50, can someone show me what you put in the command?
Re: VERY basic zcmd question -
Ironboy - 16.03.2012
Quote:
Originally Posted by Jing_Chan
I'm making a command, and I need it to set your armor to 50, can someone show me what you put in the command?
|
This will set your amour to 50
pawn Код:
if(!strcmp(cmdtext,"/armour",true)) {
SetPlayerArmour(playerid, 50);
return 1;}
Re: VERY basic zcmd question -
Quinlynn - 16.03.2012
Try this out for size.
pawn Код:
CMD:armor(playerid)
{
SetPlayerArmor(playerid, 50);
SendClientMessageEx(playerid, COLOR_WHITE,"You have given yourself armor.");
return 1;
}
Re: VERY basic zcmd question -
Ronaldo_raul™ - 17.03.2012
Guys , seems he want an admin command that can set someone's armour. ( NOT SURE :S )
Please state properly that what you actually want ?
Re: VERY basic zcmd question -
ReneG - 17.03.2012
This is the wrong thread by the way.
You can find many (and I mean
many) ZCMD tutorials by clicking
this. There are a lot of helpful ones that even helped me quite a bit. You just have to hit up the mighty ol' ******.