[FilterScript] Health & armour cmds [6 cmds]
#7

Have you guys even seen this code? Clicked on the pastebin link?
Sorry, but this code looks like a fail.

pawn Код:
if (strcmp("/armour", cmdtext, true, 10) == 0)
}
SetPlayerArmour(playerid,100);
GivePlayerMoney(playerid, -1000);
{
return 1;
 return SendClientMeassage(playerid, 0xffffffaa "you now have full armour");
What the heck?

Correct would be:
pawn Код:
if(strcmp("/armour",cmdtext,7) == 0)
{
SetPlayerArmour(playerid,100);
GivePlayerMoney(playerid, -1000);
SendClientMeassage(playerid, 0xffffffaa "you now have full armour");
return 1;
}
Reply


Messages In This Thread
Health & armour cmds [6 cmds] - by Shockey - 04.08.2010, 22:22
Re: Health & armour cmds [6 cmds] - by Kar - 04.08.2010, 23:12
Re: Health & armour cmds [6 cmds] - by Septimus314 - 28.08.2010, 18:02
Re: Health & armour cmds [6 cmds] - by Claude - 28.08.2010, 20:24
Re: Health & armour cmds [6 cmds] - by Creation - 29.08.2010, 02:03
Re: Health & armour cmds [6 cmds] - by Kwarde - 09.09.2010, 18:01
Re: Health & armour cmds [6 cmds] - by Double-O-Seven - 09.09.2010, 18:12

Forum Jump:


Users browsing this thread: 4 Guest(s)