PLAYER_STATE_ENTER_VEHICLE_DRIVER
#3

this can be used to prevent driveby'ing, if you want to remove that feature, it can also be used for a wide variety of other uses, like checking to see if a person is a driver of a vehicle to make him able to do certain commands, etc.
ex:
you want only the driver of a vehicle to be able to /refuel, so you use this function under your /refuel command and make it return true, then make the passenger return false
^^there are other ways of doing this w/o using this function but this is just a way that you CAN use it.
Reply


Messages In This Thread
PLAYER_STATE_ENTER_VEHICLE_DRIVER - by Woz - 27.12.2010, 06:33
Re: PLAYER_STATE_ENTER_VEHICLE_DRIVER - by scottyishere - 27.12.2010, 06:38
Re: PLAYER_STATE_ENTER_VEHICLE_DRIVER - by Grah - 27.12.2010, 06:42

Forum Jump:


Users browsing this thread: 1 Guest(s)