[Request] Tab Teleport System
#1

Hello can anyone code me a Tab Teleporting system for my server
I want cmds that are like /gotome to enable and /gotome to disable people from teleporting to you

It should when you click Tab and double click someones name to teleport to them

Thanks!
Reply
#2

https://sampwiki.blast.hk/wiki/OnPlayerClickPlayer
Reply
#3

pawn Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{  
        // Need 3 float variables to store the X, Y and Z coordinates in
        new Float:x, Float:y, Float:z;
 
        // Use GetPlayerPos, passing the 3 float variables that we created
        GetPlayerPos(clickedplayerid,  x, y, z);

        // SetPlayerPos from: 3 float variables that we saved.
        SetPlayerPos(playerid, x,y,z);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)