EnableZoneNames

From SA-MP Wiki

Jump to: navigation, search


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

Warning

This function was removed in SA-MP 0.3. This was due to crashes it caused.


Description:

This function allows to turn on zone / area names such as the "Vinewood" or "Doherty" text at the bottom-right of the screen as they enter the area. This is a gamemode option and should be set in the callback OnGameModeInit.


Parameters:
(enable)
enableA toggle option for whether or not you'd like zone names on or off. 0 is off and 1 is on.


Return Values:

This function does not return any specific values.


Example Usage:

public OnGameModeInit()
{
    EnableZoneNames(1);
    return 1;
}
Personal tools
In other languages