Private Vehicle
#5

Change the "if(Vehicle isn't theres)" bit to suit you, and try both idk how they'll turn out.

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(Vehicle isn't theres)
    {
        RemovePlayerFromVehicle(playerid);
        SendClientMessage(playerid, 0xFF00FFFF, "You'
re a tard");
    }
    return 1;
}
pawn Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER)
    {
      if(Vehicle isn't theres)
      {
        RemovePlayerFromVehicle(playerid);
            SendClientMessage(playerid, 0xFF00FFFF, "You'
re a tard");
        }
    }
  return 1;
}
Reply


Messages In This Thread
Private Vehicle - by Puzi - 26.05.2009, 20:04
Re: Private Vehicle - by JoeDaDude - 26.05.2009, 20:05
Re: Private Vehicle - by Weirdosport - 26.05.2009, 20:06
Re: Private Vehicle - by Puzi - 26.05.2009, 20:09
Re: Private Vehicle - by Weirdosport - 26.05.2009, 20:12
Re: Private Vehicle - by JoeDaDude - 26.05.2009, 20:13
Re: Private Vehicle - by Puzi - 26.05.2009, 20:14
Re: Private Vehicle - by Puzi - 26.05.2009, 20:18
Re: Private Vehicle - by Weirdosport - 26.05.2009, 20:19
Re: Private Vehicle - by Puzi - 26.05.2009, 20:22

Forum Jump:


Users browsing this thread: 7 Guest(s)