warning 215: expression has no effect
#5

pawn Код:
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;
     }
     else if(PlayerInfo[playerid][pGOD] == 1)
     {
        SetPlayerHealth(playerid, 100);
        SendClientMessage(playerid, COLOR_GREEN, "You have disabled God Mode.");
        PlayerInfo[playerid][pGOD] = 0;
     }
     return 1;
}
Reply


Messages In This Thread
warning 215: expression has no effect - by ZigGamerx - 14.10.2018, 18:39
Re: warning 215: expression has no effect - by Chyakka - 14.10.2018, 18:46
Re: warning 215: expression has no effect - by KinderClans - 14.10.2018, 18:59
Re: warning 215: expression has no effect - by DaniceMcHarley - 14.10.2018, 19:03
Re: warning 215: expression has no effect - by UFF - 15.10.2018, 05:28
Re: warning 215: expression has no effect - by v1k1nG - 15.10.2018, 08:44
Re: warning 215: expression has no effect - by UFF - 15.10.2018, 12:21

Forum Jump:


Users browsing this thread: 1 Guest(s)