help .. onplayerentervehicle problem
#4

I would use OnPlayerStateChange and check if PLAYER_STATE_PASSENGER and if not RemovePlayerFromVehicle

Because The onplayerentervehicle is called every time a player hits the G button(or the F button) , and if he hits it 2 times he can't enter the vehicle because first time BoughtTicket[playerid] will be set to 1 and when he pres the second time G it will set his position and will not be able to enter the vehicle and it will have to buy another ticket
Reply


Messages In This Thread
help .. onplayerentervehicle problem - by Anak - 20.03.2013, 05:19
Re: help .. onplayerentervehicle problem - by Anak - 20.03.2013, 05:22
Re: help .. onplayerentervehicle problem - by Gamer_007 - 20.03.2013, 05:26
Re: help .. onplayerentervehicle problem - by shady001 - 20.03.2013, 05:27
Re: help .. onplayerentervehicle problem - by Anak - 20.03.2013, 06:45

Forum Jump:


Users browsing this thread: 1 Guest(s)