why this doesnt work :
#3

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new vehicleid = GetPlayerVehicleID(playerid);
    new modelid = GetVehicleModel(vehicleid);
    if(newstate == 2 || newstate == 3)
    {
        if(modelid != 476 && modelid != 520)
        {
            RemovePlayerFromVehicle(playerid);
            SendClientMessage(playerid,0xFF9900AA, "This vehicle is not allowed!");
        }
    }
    return 1;
}
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)