AllowAdminTeleport

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 19:00, 1 October 2013
W (Talk | contribs)

← Previous diff
Revision as of 23:10, 12 May 2015
MP2 (Talk | contribs)

Next diff →
Line 1: Line 1:
{{Scripting}} {{Scripting}}
-{{Deprecated|function|Please see [[OnPlayerClickMap]].}}+{{Deprecated|function, as of 0.3d, |Please see [[OnPlayerClickMap]].}}
{{Description|This function will determine whether RCON admins will be teleported to their waypoint when they set one.}} {{Description|This function will determine whether RCON admins will be teleported to their waypoint when they set one.}}

Revision as of 23:10, 12 May 2015



Image:50px-Ambox_outdated_serious.png This function, as of 0.3d, is deprecated. Please see OnPlayerClickMap.


Description:

This function will determine whether RCON admins will be teleported to their waypoint when they set one.


Parameters:
(allow)
allow0 to disable and 1 to enable.


Return Values:

This function does not return any specific values.


public OnGameModeInit()
{
    AllowAdminTeleport(1);
    // Other stuff
    return 1;
}

Related Functions

The following functions may be useful, as they are related to this function in one way or another.