11.11.2011, 11:54
Maybe because you have an extra bracket?
pawn Код:
if(strcmp(cmd,"/heal",true)==0)
{
if(PlayerInfo[playerid][pDonateRank] >= 4)
{
if(GetTickCount() - GetPVarInt(playerid, "heal") < 120000) return SendClientMessage(playerid, 0xFF0000FF, "you must wait 2 minutes");
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
SendClientMessage(playerid,COLOR_GREEN,"You've set your health and armour to 100");
SetPVarInt(playerid, "heal", GetTickCount());
} /* <-------------------- */
}
return 1;
}