open.mp | AllowAdminTeleport
  • Home
  • FAQ
  • Forum
  • Servers
  • Docs
  • Blog
  • Login
  • Englishاللغة العربيةar-TNবাংলাbosanski jezikDeutschΕλληνικάEspañoleestiفارسیFrançaisHrvatskimagyarBahasa IndonesiaItaliano日本語ქართულიlietuvių kalbaNederlandsNorskjęzyk polskiPortuguêsRomânăРусскийslovenski jezikсрпски језикไทยWikang TagalogTürkçeУкраїнськаاردوTiếng Việt简体中文繁體中文
warning Not Translated

This page has not been translated into the language that your browser requested. The English content is being shown as a fallback.

If you want to contribute a translation for this page then please click here.

AllowAdminTeleport

warning

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.

NameDescription
allow0 to disable and 1 to enable.

Returns

This function does not return any specific values.

Examples

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

Related Functions

  • IsPlayerAdmin: Checks if a player is logged into RCON.
  • AllowPlayerTeleport: Toggle waypoint teleporting for players.

Community

  • Discord
  • Instagram
  • Twitter
  • Twitch
  • YouTube
  • Facebook
  • VK

More

  • SA-MP
  • Blog
  • GitHub