14.10.2018, 18:46
Код:
PlayerInfo[playerid][pGOD] == 0; PlayerInfo[playerid][pGOD] < 1;
It should be:
Код:
CMD:vgod(playerid) { if(PlayerInfo[playerid][pVIP] >= 2) return SendClientMessage(playerid, COLOR_RED, "You don't have V.I.P Access to you're account."); { if(PlayerInfo[playerid][pGOD] < 0) { SetPlayerHealth(playerid, 999999999); SendClientMessage(playerid, COLOR_GREEN, "You have enabled God Mode."); PlayerInfo[playerid][pGOD] = 1; } if(PlayerInfo[playerid][pGOD] < 1) { SetPlayerHealth(playerid, 100); SendClientMessage(playerid, COLOR_GREEN, "You have disabled God Mode."); PlayerInfo[playerid][pGOD] = 0; } } return 1; }