30.07.2012, 16:35
new inGodmode[MAX_PLAYERS];
// /god
inGodmode[playerid] = 1;
// /godoff
inGodmode[playerid] = 0;
// in /dm command
if(inGodmode[playerid]) return SendClientMessage(playerid, red, "You cannot join in DM if you are in Godmode mode! Use /godoff for disable it!");
// /god
inGodmode[playerid] = 1;
// /godoff
inGodmode[playerid] = 0;
// in /dm command
if(inGodmode[playerid]) return SendClientMessage(playerid, red, "You cannot join in DM if you are in Godmode mode! Use /godoff for disable it!");