Vehicle system
#3

Quote:
Originally Posted by §с†¶e®РµРe
Посмотреть сообщение
use OnPlayerEnterVehicle like that if a player enters vehicle id x and his faction is not x he will be removed from vehicle
Uhm, not really sure. I tried with this, didn't work:

Код:
else if(GetVehicleModel(vehicleid) == 416 && !ispassenger) {
        if(PlayerInfo[playerid][pMember] != 3) {
            new Float:cx, Float:cy, Float:cz;
            GetPlayerPos(playerid, cx, cy, cz);
            SetPlayerPos(playerid, cx,  cy, cz);
            SendClientMessage(playerid,COLOR_LIGHTRED," You're now allowed to drive this vehicle!");
Reply


Messages In This Thread
Vehicle system - by ChristofferHoffmann - 23.12.2011, 14:27
Re: Vehicle system - by §с†¶e®РµРe - 23.12.2011, 14:31
Re: Vehicle system - by ChristofferHoffmann - 23.12.2011, 14:59
Re: Vehicle system - by ChristofferHoffmann - 24.12.2011, 00:58

Forum Jump:


Users browsing this thread: 1 Guest(s)