DisableInteriorEnterExits

From SA-MP Wiki

Jump to: navigation, search


Description:

Disable all the interior entrances and exits in the game (the yellow arrows at doors).


Parameters:
This function has no parameters.


Return Values:

This function always returns 1.


Image:32px-Circle-style-warning.png

Important
Note

If the gamemode is changed after this function has been used, and the new gamemode doesn't disable markers, the markers will NOT reappear for already-connected players (but will for newly connected players).


Image:32px-Ambox_warning_orange.png

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.

Personal tools
Navigation
Toolbox
In other languages