you'd need to include:
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
Store the coordinate for teleporting: (needs to be a global var)
Register the commands:
Replace access_level with a level
Code:
register_concmd("amx_setpoint","admin_function",ACCESS_LEVEL,"Help String") // Used for storing the point
register_clcmd("say /teleport","funtion_to_execute",0," Help string") // Used for teleporting to the point
and use:
http://www.amxmodx.org/funcwiki.php?...igin&go=search
http://www.amxmodx.org/funcwiki.php?...igin&go=search
__________________