Quote:
Originally Posted by whitetigerswt
use
pawn Код:
CMD:god(playerid, params[]) { #pragma unused params if(God[playerid]) { GameTextForPlayer(playerid, "~r~GOD MODE DISABLED", 3000, 3); SetPlayerHealth(playerid, 100); God[playerid] = 0; } else { GameTextForPlayer(playerid, "~r~GOD MODE ENABLED", 3000, 3); SetPlayerHealth(playerid, 100); God[playerid] = 1; } return 1; }
|
no error but still not working. Can you give me another script for god mode? that uses 1 command.
/god - on /god -off