How to add Sweeper job to organizatsion
#1

I need to make that not everyone can drive with the sweeper, only the sweeper worker.
Reply
#2

Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(vehicleid == //sweeper model)
	{
	   if(!//check if player is sweeper worker) return SendClientMessage(playerid,-1,"You not swepeer worker"),
	                                                   RemovePlayerFromVehicle(playerid);
	}
	 
	return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)