[NEED HELP] vehicle names
#8

Quote:
Originally Posted by lol2112
True but if you look at the parameters of the callback:

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
You can use the parameter vehicleid and it will still return the id of the vehicle the player is trying to get into, even they don't manage it. It's a bad idea to make this script using this callback because it'll display the gametext before you're in the vehicle. Use OnPlayerStateChange instead.
+1!
Reply


Messages In This Thread
[NEED HELP] vehicle names - by Drift_King786 - 27.05.2009, 12:36
Re: [NEED HELP] vehicle names - by Think - 27.05.2009, 12:59
Re: [NEED HELP] vehicle names - by lol2112 - 27.05.2009, 13:08
Re: [NEED HELP] vehicle names - by Think - 27.05.2009, 13:10
Re: [NEED HELP] vehicle names - by lol2112 - 27.05.2009, 13:16
Re: [NEED HELP] vehicle names - by yom - 27.05.2009, 13:18
Re: [NEED HELP] vehicle names - by lol2112 - 27.05.2009, 13:31
Re: [NEED HELP] vehicle names - by Think - 27.05.2009, 13:33

Forum Jump:


Users browsing this thread: 1 Guest(s)