Simple question
#1

If i have this :
pawn Код:
new AirVehicles [] =
{
        592, 577, 511, 512, 593, 520, 553, 476, 519, 460, 513,
        548, 425, 417, 487, 488, 497, 563, 447, 469
};
Can i just put this under onplayerstatechange?
pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
    {
        new vehicleid = GetPlayerVehicleID(playerid);
        if(GetVehicleModel(vehicleid) == AirVehicles)
        {
            SendClientMessage(playerid, red, "You dont know how to start this engine");
            RemovePlayerFromVehicle(playerid);
    }
    return 1;
}
If i need to make a stock or something can anyone explain me how ?

Thanks.
Reply


Messages In This Thread
Simple question - by demonarn - 11.02.2012, 13:03
Re: Simple question - by [XST]O_x - 11.02.2012, 13:21
Re: Simple question - by demonarn - 11.02.2012, 13:27

Forum Jump:


Users browsing this thread: 1 Guest(s)