OnPlayerEnterVehicle help
#1

Hello guys, i made a job script ..it has been compiled successfuly but one problem is !
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
   if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 448)
     {
     if ((Pizzajob) == 1)
        {
        SendClientMessage(playerid,0xF5FF00FF, "[JOBHELP]:Use /deliverpizza to start your job");
        }
        else if ((Pizzajob) == 0)
		{
		 RemovePlayerFromVehicle(playerid);
	    }
     }
}
When Pizzajob = 1 i recieve the message but when Pizzajob = 0 the play won't be ejected :/
Reply


Messages In This Thread
OnPlayerEnterVehicle help - by EthanMason - 11.11.2013, 17:47
Re: OnPlayerEnterVehicle help - by Konstantinos - 11.11.2013, 17:52
Re: OnPlayerEnterVehicle help - by CJay9209 - 12.11.2013, 00:54

Forum Jump:


Users browsing this thread: 1 Guest(s)