26.06.2012, 08:32
pawn Код:
CMD:god(playerid, params[])
{
if(God[playerid])
{
GameTextForPlayer(playerid, "~r~GOD ~r~MODE ~r~DISABLED", 3000, 3);
SetPlayerHealth(playerid, 100);
God[playerid] = 0;
}
else
{
GameTextForPlayer(playerid, "~r~GOD ~r~MODE ~r~DISABLED", 3000, 3);
SetPlayerHealth(playerid, 100);
God[playerid] = 1;
}
return 1;
}