Thread: [HELP]Error !!
View Single Post
Old 25/08/2015, 02:52 PM   #1
Andy5
Big Clucker
 
Andy5's Avatar
 
Join Date: Mar 2015
Location: -
Posts: 53
Reputation: 0
Exclamation [HELP]Error !!

i was try to compiling something , and i got an error can someone help me to fix it

The Code :


PHP Code:
public Robbery(playerid)
{
   new 
string[256];
   new 
PlayerName[MAX_PLAYER_NAME];
   
GetPlayerName(playeridPlayerNamesizeof(PlayerName));
   {
        if(
Robbed[playerid] == 0);
        {
            if(
IsPlayerInRangeOfPoint(playerid5,2208.1985,-1072.3022,1050.4766))
            {
                     new 
Earning 500 random(500);
                    
format(stringsizeof(string), "%s Robbed %d from The Tatto Shop"Name(playerid), Earning);
                       
SendClientMessageToAll(COLOR_GREY,string);
                    
SendClientMessage(playeridCOLOR_RED"Rob Complete");
                      
GivePlayerMoney(playerid,Earning);
                      
Robbed[playerid] = 1;
                      
SetTimerEx("AbleRobbing"30000false"i"playerid);
                      
SetPlayerWantedLevel(playerid,GetPlayerWantedLevel(playerid)+1);
                      
SetPlayerScore(playerid,GetPlayerScore(playerid)+2);
                
            }


        }
            
    }
        

Error :

Code:
C:\Users\ma\Downloads\fp.pwn(367) : error 036: empty statement
Line (367) >>
Code:
        if(Robbed[playerid] == 0);
Andy5 is offline   Reply With Quote