Difference between revisions of "SET PLAYER MAY ONLY ENTER THIS VEHICLE"
Jump to navigation
Jump to search
(Added function description) |
(No difference)
|
Latest revision as of 19:44, 12 June 2011
Number of parameters: 2 | ||
---|---|---|
Parameter # | Type | Description |
1. | Player index | The player |
2. | Vehicle id | The vehicle. Use 0 to allow all vehicles again |
Return value: | ||
Type | Description | |
None |
This function will limit the specified player to only be able to enter a specific vehicle. This changes the behaviour of the "Enter Vehicle" key to always enter the specified vehicle. Regardless of distance.