08.02.2018, 15:36
(
Last edited by PepsiCola23; 08/02/2018 at 04:51 PM.
)
PHP Code:
if(PTruckerCP[playerid] >= 0)
{
DisablePlayerCheckpoint(playerid);
RemoveDestination(playerid);
DestroyVehicle(VJob[playerid]);
PTruckerCP[playerid] = -1;
VJob[playerid] = -1;
SendClientMessage(playerid, COLOR_WHITE, "{FFFFFF}Job: {FFFFFF}You canceled the job because you got out of your car.");
}
SOLVED: Used
PHP Code:
OnPlayerExitVehicle