VERY basic zcmd question
#1

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

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;}
Reply
#3

Try this out for size.
pawn Код:
CMD:armor(playerid)
{
     SetPlayerArmor(playerid, 50);
     SendClientMessageEx(playerid, COLOR_WHITE,"You have given yourself armor.");
     return 1;
}
Reply
#4

Guys , seems he want an admin command that can set someone's armour. ( NOT SURE :S )

Please state properly that what you actually want ?
Reply
#5

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' ******.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)