Anti NRG
#2

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT)
    {
        new vehicleid = GetPlayerVehicleID(playerid);
        if(GetVehicleModel(vehicleid) == 522)//vehcile model id. :D
        {
            DestroyVehicle(vehicleid);
            //bla bla
        }
    }
    return 1;
}
Reply


Messages In This Thread
Anti NRG - by PlayerID - 01.01.2011, 12:21
Re: Anti NRG - by HyperZ - 01.01.2011, 12:21
Re: Anti NRG - by boelie - 01.01.2011, 13:01
Re: Anti NRG - by HyperZ - 01.01.2011, 13:32
Re: Anti NRG - by boelie - 01.01.2011, 13:37
Re: Anti NRG - by HyperZ - 01.01.2011, 13:38
Re: Anti NRG - by Mean - 01.01.2011, 18:25
Re: Anti NRG - by bartje01 - 01.01.2011, 19:03
Re: Anti NRG - by HyperZ - 01.01.2011, 19:05
Re: Anti NRG - by bartje01 - 01.01.2011, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)