why this doesnt work :
#2

Try this

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new vehicleid;
    vehicleid = GetPlayerVehicleID(playerid);
    if(newstate == 2 || newstate == 3)
    {
      if(vehicleid == 476 || vehicleid == 520)
      {
        RemovePlayerFromVehicle(playerid);
        SendClientMessage(playerid,0xFF9900AA, "This vehicle is not allowed!");
        }
    }
    return 1;
}
UNTESTED
Reply


Messages In This Thread
why this doesnt work : - by hvampire - 05.02.2010, 18:22
Re: why this doesnt work : - by VonLeeuwen - 05.02.2010, 19:00
Re: why this doesnt work : - by MadeMan - 05.02.2010, 19:13
Re: why this doesnt work : - by hvampire - 05.02.2010, 20:29
Re: why this doesnt work : - by hvampire - 05.02.2010, 20:35
Re: why this doesnt work : - by hvampire - 05.02.2010, 20:40
Re: why this doesnt work : - by MadeMan - 05.02.2010, 20:44
Re: why this doesnt work : - by hvampire - 05.02.2010, 20:48
Re: why this doesnt work : - by MadeMan - 05.02.2010, 20:49
Re: why this doesnt work : - by hvampire - 05.02.2010, 21:12

Forum Jump:


Users browsing this thread: 1 Guest(s)