Something to script.
#4

Quote:
Originally Posted by Steven82
Посмотреть сообщение
You would have to detect if someone is even in the drivers seat. And if not then set the person who pressed 'G' as the pilot.
Why not just get them to spectate the vehicle...? Anyway, this is quite easily accomplished. Just loop through the vehicles under OnPlayerKeyStateChange. If they are already 'in' a vehicle and press it, get the position of the vehicle they are spectating and set their position there. In case of a plane, you'll need to give them a parachute. Also, you'll need to modify IsPlayerInAnyVehicle and other seat related functions.
Reply


Messages In This Thread
Something to script. - by SomebodyAndMe - 11.12.2011, 07:05
Re: Something to script. - by suhrab_mujeeb - 11.12.2011, 07:07
Re: Something to script. - by Steven82 - 11.12.2011, 07:28
Re: Something to script. - by JamesC - 11.12.2011, 08:59
Re: Something to script. - by Rafiko - 11.12.2011, 10:02
Re: Something to script. - by Babul - 11.12.2011, 10:33

Forum Jump:


Users browsing this thread: 3 Guest(s)