Need help! The gamemode got screwed!
#5

pawn Код:
if(strcmp(cmd, "/robcityhall", true) == 0)
    {
        new success = random(2);
        if(CityHallRobbedRecently = 1) //26722
        {
            SendClientMessage(playerid, COLOR_GREY, "* This location was robbede recently, try again later");
            return 1;
        }
        if(PlayerInfo[playerid][pRobTime] >= 1)
        {
            SendClientMessage(playerid, COLOR_GREY, "* You already attempted or robbed a place recently, please wait.");
            return 1;
        }
You cannot put a ; on the end of an 'if' statement.
Reply


Messages In This Thread
Need help! The gamemode got screwed! - by geohareas - 08.12.2012, 09:41
Re: Need help! The gamemode got screwed! - by Threshold - 08.12.2012, 09:46
Re: Need help! The gamemode got screwed! - by geohareas - 08.12.2012, 10:07
Re: Need help! The gamemode got screwed! - by DaRk_RaiN - 08.12.2012, 10:14
Re: Need help! The gamemode got screwed! - by Threshold - 08.12.2012, 10:18
Re: Need help! The gamemode got screwed! - by geohareas - 08.12.2012, 10:36
Re: Need help! The gamemode got screwed! - by ThomasCarter - 08.12.2012, 10:37
Re: Need help! The gamemode got screwed! - by geohareas - 08.12.2012, 10:40
Re: Need help! The gamemode got screwed! - by Threshold - 08.12.2012, 10:43
Re: Need help! The gamemode got screwed! - by geohareas - 08.12.2012, 10:47

Forum Jump:


Users browsing this thread: 1 Guest(s)