How to all can sit in taxi vehicle?
#1

I maked script taxi, and when players sit in taxi (G) not driver, script remove player from vehicle.
I want to all players can G in vehicle.
Sorry for my bad English.
Script:
Код:
if(TaxiV(vehicleid))
	{
 	if(PlayerData[playerid][pJob] != JOB_TAXI)
  	{
   	SendClientMessage(playerid, -1, ""CRVENA"[BD:RP]: "SIVA"You are not taxi driver!");
 	RemovePlayerFromVehicle(playerid);
	}
Reply
#2

Use GetPlayerVehicleSeat
Reply
#3

Try this:
pawn Код:
if(TaxiV(vehicleid))
    {
    if(PlayerData[playerid][pJob] != JOB_TAXI && GetPlayerVehicleSeat(playerid)==0)
    {
    SendClientMessage(playerid, -1, ""CRVENA"[BD:RP]: "SIVA"You are not taxi driver!");
    RemovePlayerFromVehicle(playerid);
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)