cars not deleting
#1

PHP Code:
        if(PTruckerCP[playerid] >= 0
        { 
            
DisablePlayerCheckpoint(playerid); 
            
RemoveDestination(playerid); 
            
DestroyVehicle(VJob[playerid]); 
            
PTruckerCP[playerid] = -1
            
VJob[playerid] = -1
            
SendClientMessage(playeridCOLOR_WHITE"{FFFFFF}Job: {FFFFFF}You canceled the job because you got out of your car."); 
        } 
this is what i have at player state change,why doesnt it delete the car after the players leaves the job car?


SOLVED: Used
PHP Code:
OnPlayerExitVehicle 
Reply


Messages In This Thread
cars not deleting - by PepsiCola23 - 08.02.2018, 15:36

Forum Jump:


Users browsing this thread: 1 Guest(s)