Help with little code plz
#5

OnPlayerEnterVehicle gets called when the player presses the key to enter a vehicle. The player is not actually in a vehicle at the point yet and the action can even be aborted. Hence GetPlayerVehicleID returns 0. I Don't know why you would need to use that function, seeing as you have a vehicleid parameter right there at your disposal.
Reply


Messages In This Thread
Help with little code plz - by 123bob123 - 14.07.2015, 15:40
Re: Help with little code plz - by notime - 14.07.2015, 15:45
Re: Help with little code plz - by kyriakos587 - 14.07.2015, 15:48
Re: Help with little code plz - by 123bob123 - 14.07.2015, 16:58
Re: Help with little code plz - by Vince - 14.07.2015, 17:39
Re: Help with little code plz - by iMouiz - 14.07.2015, 18:06
Re: Help with little code plz - by Sime30 - 14.07.2015, 18:33
Re: Help with little code plz - by 123bob123 - 15.07.2015, 06:59
Re: Help with little code plz - by notime - 15.07.2015, 07:22
Re: Help with little code plz - by 123bob123 - 15.07.2015, 07:28

Forum Jump:


Users browsing this thread: 1 Guest(s)