DisableInteriorEnterExits
From SA-MP Wiki
Description:
Disable all the interior entrances and exits in the game (the yellow arrows at doors).
This function has no parameters.
Return Values:
This function always returns 1.
Note | This function will only work if it has been used BEFORE a player connects (it is recommended to use it in OnGameModeInit). It will not remove a connected player's markers. |
Example Usage:
public OnGameModeInit() { DisableInteriorEnterExits(); return 1; }
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- AllowInteriorWeapons: Determine if weapons can be used in interiors.