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简体中文繁體中文

AllowAdminTeleport

warning

This function, as of 0.3d, is deprecated. Please see OnPlayerClickMap.

คำอธิบาย

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.

ส่งคืน

This function does not return any specific values.

ตัวอย่าง

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

ฟังก์ชั่นที่เกี่ยวข้องกัน

  • 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