22.01.2010, 14:43
Code:
if(strcmp(cmdtext, "/comandoteste", true) ==0) { if(PlayerInfo[playerid][pLevel] < 3) { SendClientMessage(playerid,COLOR_RED,"Vocк nгo й level 3!"); return 1; } if(PlayerInfo[playerid][pLevel] >= 3) { GivePlayerMoney(playerid, 10000); GivePlayerWeapon(playerid, 29,999); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); SendClientMessage(playerid,COLOR_RED,"Vocк usou o comando teste!"); } } return 1; }