Rcon commands crash
#7

Quote:
Originally Posted by LowCo.
pawn Код:
if (strcmp("/armour (playerid)", cmdtext, true, 7) == 0)
{
if(IsPlayerAdmin(playerid))
{
SetPlayerArmour(playerid, 100);
SendClientMessage(playerid,COLOUR_RED,"You gave armour to %s!");
SendPlayerMessageToPlayer(playerid, COLOUR_YELLOW,"%s gave you armour!"); // I dont know what this does, but I think it won't show a name because you didn't get a name, you just put %s
return 1;
}
And that wont work.. You need 2 ending brackets
Reply


Messages In This Thread
Rcon commands crash - by Naxix - 06.03.2010, 09:01
Re: Rcon commands crash - by dice7 - 06.03.2010, 09:23
Re: Rcon commands crash - by Naxix - 06.03.2010, 09:35
Re: Rcon commands crash - by Rzzr - 06.03.2010, 09:38
Re: Rcon commands crash - by [WSM]Deadly_Evil - 06.03.2010, 09:40
Re: Rcon commands crash - by Naxix - 06.03.2010, 09:45
Re: Rcon commands crash - by Naxix - 06.03.2010, 09:47
Re: Rcon commands crash - by Rzzr - 06.03.2010, 09:50
Re: Rcon commands crash - by dice7 - 06.03.2010, 09:54
Re: Rcon commands crash - by Naxix - 06.03.2010, 09:59

Forum Jump:


Users browsing this thread: 1 Guest(s)