[Tutorial] How to make a personal car
#4

Obviously not tested, because it won't work. You have the 'vehicleid' parameter in the header of OnPlayerEnterVehicle. Use it. Using GetPlayerVehicleID in OnPlayerEnterVehicle will always return 0 because the player isn't in the vehicle yet. Furthermore, you have not defined newstate. It looks to me like you mixed up OnPlayerEnterVehicle with OnPlayerStateChange.
Reply


Messages In This Thread
How to make a personal car - by DiGiTaL_AnGeL - 09.01.2013, 21:28
Re: How to make a personal car - by InActtive™ - 10.01.2013, 00:53
Re: How to make a personal car - by DiGiTaL_AnGeL - 10.01.2013, 09:10
Re: How to make a personal car - by Vince - 10.01.2013, 09:18
Re: How to make a personal car - by DiGiTaL_AnGeL - 10.01.2013, 13:36
Re: How to make a personal car - by Mr.Anonymous - 10.01.2013, 20:18
Re: How to make a personal car - by DiGiTaL_AnGeL - 09.02.2013, 18:19
Re: How to make a personal car - by [WA]iRonan - 11.02.2013, 13:17
Re: How to make a personal car - by DiGiTaL_AnGeL - 11.02.2013, 15:50
Re: How to make a personal car - by DiffeReNt - 17.02.2013, 09:18

Forum Jump:


Users browsing this thread: 2 Guest(s)