SET PLAYER MAY ONLY ENTER THIS VEHICLE
Jump to navigation
Jump to search
| 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.