OnPlayerEnterVehicle | Question
#4

I tried it like this
Код:
            if(PlayerInfo[playerid][pFaction] != 1 && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
            {
                ClearAnimations(playerid);
                SendClientMessage(playerid, COLOR_GREY, "This vehicle is faction restricted.");
            }
But it now allows passengers and drivers to enter.... Can you help me a bit more?

I tried both states

GetPlayerState(playerid) == PLAYER_STATE_DRIVER)

GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
Reply


Messages In This Thread
OnPlayerEnterVehicle | Question - by Cole_William - 17.07.2014, 18:47
Re: OnPlayerEnterVehicle | Question - by GeekSiMo - 17.07.2014, 18:58
Re: OnPlayerEnterVehicle | Question - by sammp - 17.07.2014, 19:01
Re: OnPlayerEnterVehicle | Question - by Cole_William - 17.07.2014, 19:03
Re: OnPlayerEnterVehicle | Question - by Dignity - 17.07.2014, 19:08

Forum Jump:


Users browsing this thread: 3 Guest(s)