If you exit a vehicle, it cancels the job. (need help)
#1

Hello, I'm trying to improve my filterscript, and I'm trying to make it so if you exit the vehicle, it will remove the checkpoint and say "You're delivery was canceled due to exiting the vehicle"

So far I have:

pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    if((simplejobrunning) == 1)
    {
        simplejobrunning = 0;
        SendClientMessage(playerid, COLOR_RED, "You're job was canceled due to exiting the Vehicle");

    }else if((simplejobrunning) == 0){

       
 }
}
I already have
pawn Код:
new simplejobrunning = 0;
What am I doing wrong?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)