16.04.2009, 14:27
Quote:
Originally Posted by deathdealer
Hello,
I think it is because you have Return 1 after the braket, try this: Код:
if(strcmp(cmdtext, "/kill", true) == 0) { SendClientMessage(playerid, 0xF97804FF, "You Just God Admin Powers!"); SetPlayerHealth(playerid, 0.0); return 1; } if(strcmp(cmdtext, "/adminon", true) == 0) { SendClientMessage(playerid, 0xF97804FF, "You Just God Admin Powers!"); SetPlayerHealth(playerid, 9999999999.99); SetPlayerArmour(playerid, 9999999999.99); GivePlayerWeapon(playerid, 38, 999999999); return 1; } Try it, and then post back. Thank You, Scott-Cameron |
pawn Код:
if(strcmp(cmdtext, "/adminon", true) == 0)
{
SendClientMessage(playerid, 0xF97804FF, "You Just God Admin Powers!");
SetPlayerHealth(playerid, 9999999999.99);
SetPlayerArmour(playerid, 9999999999.99);
GivePlayerWeapon(playerid, 38, 999999999);
return 1;
}