Add "enable_immediate_teleport"

With this function enabled, players with "tp_admin" privilege teleport immediately to the specified player.
Otherwise, it will send a request to the specified player.
This commit is contained in:
Panquesito7 2019-07-27 19:34:36 -05:00 committed by GitHub
parent 5e2d1cbaa8
commit 65cad92d7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,6 +27,9 @@ local S, NS = dofile(MP.."/intllib.lua")
timeout_delay = 60
version = "1.5"
-- Enable teleporting immediately to the player with "tp_admin" privilege.
enable_immediate_teleport = true
local chatmsg, source, target, name2, target_coords, pos
-- Set the values of the positions of your places, players will be able to teleport to them (no matter if it is protected, or not).