[FilterScript] [FS] Simple anti-vehicle v2
#3

You gonna have a lot of problems with this lol, Change
pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
  if (antiv == 0)
    {
      RemovePlayerFromVehicle(playerid);
    }
    return 1;
}
to
pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
  if(newstate = PLAYER_STATE_DRIVER || PLAYER_STATE_PASSENGER)
  {
    if (antiv == 0)
    {
      RemovePlayerFromVehicle(playerid);
    }
  }
  return 1;
}
Reply


Messages In This Thread
[FS] Simple anti-vehicle v2 - by mascii - 13.03.2009, 10:22
Re: [FS] Simple anti-vehicle - by _TeRmiNaToR_ - 13.03.2009, 15:00
Re: [FS] Simple anti-vehicle - by ICECOLDKILLAK8 - 13.03.2009, 15:09
Re: [FS] Simple anti-vehicle - by mascii - 13.03.2009, 21:50
Re: [FS] Simple anti-vehicle - by Kinetic - 22.03.2009, 07:51
Re: [FS] Simple anti-vehicle v2 - by Basss - 22.03.2009, 11:03
Re: [FS] Simple anti-vehicle v2 - by mascii - 22.03.2009, 11:04
Re: [FS] Simple anti-vehicle v2 - by Danny_Costelo - 22.03.2009, 11:20

Forum Jump:


Users browsing this thread: 1 Guest(s)