stop player from driving vehicle
#3

Quote:
Originally Posted by austin070
Посмотреть сообщение
pawn Код:
if(GetPlayerVehicleID(playerid) == 433)
    {
        SetVehicleParamsForPlayer(vehicle, playerid, false, true)
        SendClientMessage(playerid, YELLOW, "You are not qualified to drive this vehicle!");
    }
Try this, but fix the indentations that the samp forum loves messing up. Rather than letting the player enter the vehicle and then get removed from it, this will simply LOCK the vehicle and prevent the player from entering. Make sure this is under OnPlayerEnterVehicle(..)
thanks but it still doesnt work
player still Enters vehicle and the message doesnt even show
Reply


Messages In This Thread
stop player from driving vehicle - by park4bmx - 16.04.2011, 18:38
Re: stop player from driving vehicle - by austin070 - 16.04.2011, 18:43
Re: stop player from driving vehicle - by park4bmx - 16.04.2011, 18:48
Re: stop player from driving vehicle - by austin070 - 16.04.2011, 18:56
Re: stop player from driving vehicle - by park4bmx - 16.04.2011, 19:13
Re: stop player from driving vehicle - by austin070 - 16.04.2011, 19:21
Re: stop player from driving vehicle - by xir - 16.04.2011, 20:03
Re: stop player from driving vehicle - by aircombat - 16.04.2011, 20:12
Re: stop player from driving vehicle - by park4bmx - 16.04.2011, 21:01
Re: stop player from driving vehicle - by xir - 16.04.2011, 21:09

Forum Jump:


Users browsing this thread: 1 Guest(s)