12.09.2011, 02:57
pawn Код:
DisablePlayerCheckpoint(playerid);
pawn Код:
simplejobrunning[MAX_PLAYERS];
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
if(simplejobrunning[playerid] == 1)
{
simplejobrunning[playerid] = 0;
SendClientMessage(playerid, COLOR_RED, "You're job was canceled due to exiting the Vehicle");
DisablePlayerCheckpoint(playerid);
}
return 1;
}