Player cant enter a Tank or A Hydra
#4

Use something like:

pawn Код:
if(GetVehicleModel(vehicleid) == 520 || 432 )
{
    if(GetPlayerScore(playerid) < 1000 )
    {
        SendClientMessage(playerid,0xFF0000FF,"You cant drive this vehicle you noob");
        RemovePlayerFromVehicle( playerid );
    }
}
That checks both vehicle together. Easy and short.
Reply


Messages In This Thread
Player cant enter a Tank or A Hydra - by California_ - 12.02.2013, 17:55
Re: Player cant enter a Tank or A Hydra - by SilverKiller - 12.02.2013, 18:00
Re: Player cant enter a Tank or A Hydra - by DaRk_RaiN - 12.02.2013, 18:07
Re: Player cant enter a Tank or A Hydra - by Mr.Anonymous - 12.02.2013, 18:14

Forum Jump:


Users browsing this thread: 1 Guest(s)