13.11.2011, 23:00
andrew fix it on your own...
pawn Code:
if(strcmp, cmd, "/god", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 6)
{
SetPlayerHealth(playerid, 999999);
SendClientMessage(playerid, COLOR_GROVE, "You are now in God Mode.");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command");
}
}