Sweeper[rep]
#8

i wanted at Onplayerstatechange.. i added this.

PHP Code:
 (6542) : warning 219local variable "newcar" shadows a variable at a preceding level 
i put this at onplayerstatechange

PHP Code:
if(PlayerInfo[playerid][pJob] >= 18)
                {
                if(
IsPlayerConnected(playerid)) {
        
LINE: (6542)         new newcar GetPlayerVehicleID(playerid);
                if(
IsASweeper(newcar)) {
                
CP[playerid] = 78;
                
SetPlayerCheckpoint(playerid1195.8503,-1324.3208,13.12363.0);
                
SendClientMessage(playeridCOLOR_YELLOW,"Strazile sunt de mult nematurate..");
                }
                } 
Reply


Messages In This Thread
Sweeper[rep] - by Dan_Barocu - 11.04.2012, 23:39
Re: Sweeper[rep] - by The__ - 11.04.2012, 23:58
Re: Sweeper[rep] - by Dan_Barocu - 11.04.2012, 23:59
Re: Sweeper[rep] - by Marco_Valentine - 12.04.2012, 00:01
Re: Sweeper[rep] - by Dan_Barocu - 12.04.2012, 00:03
Re: Sweeper[rep] - by The__ - 12.04.2012, 00:06
Re: Sweeper[rep] - by Marco_Valentine - 12.04.2012, 00:09
Re: Sweeper[rep] - by Dan_Barocu - 12.04.2012, 00:18
Re: Sweeper[rep] - by Marco_Valentine - 12.04.2012, 00:23
Re: Sweeper[rep] - by Dan_Barocu - 12.04.2012, 00:25

Forum Jump:


Users browsing this thread: 3 Guest(s)