I need help here
#1

hey guys. I want to ask something. Can someone help me with making this thing.
I want to make pizza job. I have command /jobhelp i have vehicle i have place to take job but i need this. When player is not employed as pizza boy it will kick him out of vehicle untill he take job. Can someone do this for me or at least give my guide because i am confused
Reply
#2

Anyone??
Reply
#3

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
        new seat = GetPlayerVehicleSeat(playerid);
	if(vehicleid == /*id of the vehicle here*/);
	  {
	  if(pInfo[playerid][Job] == "Pizza boy"); //or if you have it with numbers, change it to your variable.
		{
		// your stuff here...
		}
	  else
		{
                if(seat == 0)
                  {
		  SendClientMessage(playerid,/*color*/,/*error text*/);
		  RemovePlayerFromVehicle(playerid);
                  }
		}
	  }
	return 1;
}
Change the variables with yours.
Reply
#4

i dont understand what you want, and no one do the script for you, you just post the errors and if we know we help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)