Car problem.
#10

Quote:
Originally Posted by Dwane
Посмотреть сообщение
grovecar should be a global variable. As a user said, it should be in OnPlayerStateChange.
lol, that's true, now I am feeling a lot of shame, however, that's the idea, and someone can copy that code and define the variable after defines and before main() and initialize at the car creation into OnGameModeInit.

And of course you can use OnPlayerEnterVehicle, the only thing you have to do is force the player to stay out the car instead of removing from it.
Reply


Messages In This Thread
Car problem. - by Lynet - 10.12.2012, 13:34
Re: Car problem. - by dr.lozer - 10.12.2012, 13:39
Re: Car problem. - by Lynet - 10.12.2012, 13:48
Re: Car problem. - by dr.lozer - 10.12.2012, 14:58
Re: Car problem. - by you10 - 10.12.2012, 14:59
Re: Car problem. - by Lynet - 11.12.2012, 05:46
Respuesta: Car problem. - by deb014 - 11.12.2012, 06:01
Re: Respuesta: Car problem. - by Konstantinos - 11.12.2012, 09:23
Re: Car problem. - by Jarnu - 11.12.2012, 09:28
Respuesta: Re: Respuesta: Car problem. - by deb014 - 11.12.2012, 13:06

Forum Jump:


Users browsing this thread: 2 Guest(s)