Admin Teleport with click player on tab
#1

i want the admin when click player on tab and the admin will teleport to that player but player can't do that
and finally i want to use command to change teleport mode
like use /atpmode and it will teleport when click on tab and , /agetheremode , the admin will teleport to admin , it's possible ?
sorry my bad english
Reply
#2

pawn Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
    if(IsPlayerAdmin(playerid) {
    new Float:X,Float:Y,Float:Z;
    GetPlayerPos(clickedplayerid,X,Y,Z);
    SetPlayerPos(playerid,X,Y,Z+5);
    return 1;  
   }
}
Reply
#3

Quote:
Originally Posted by DaTa[X]
Посмотреть сообщение
pawn Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
    if(IsPlayerAdmin(playerid) {
    new Float:X,Float:Y,Float:Z;
    GetPlayerPos(clickedplayerid,X,Y,Z);
    SetPlayerPos(playerid,X,Y,Z+5);
    return 1;  
   }
}
nice + rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)