/aduty teleport
#1

pawn Код:
dcmd_goto(playerid,params[])
{
    if(!strlen(params)) return
    SendClientMessage(playerid, LIGHTBLUE2, "Usage: /goto [PlayerID]") &&
    SendClientMessage(playerid, orange, "Function: Will Go to specified player");
    if(GetPVarInt(playerid,"ImInADMZone") == 1) return SendClientMessage(playerid,COLOR_RED,"If you want to teleport use /leavedm");
    new player1;
    new string[128];
    if(!IsNumeric(params))
    player1 = ReturnPlayerID(params);
    else player1 = strval(params);
    if(GetPVarInt(player1,"AdutyOn") == 1) return SendClientMessage(playerid, -1, "Admin is on duty, please do not disturb");
    if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID && player1 != playerid)
    {
I want admins to be able to tp to me, not regular players. How can I do that?
Reply


Messages In This Thread
/aduty teleport - by ColdIce - 13.06.2011, 22:23
Re: /aduty teleport - by xalith - 13.06.2011, 22:38
Re: /aduty teleport - by ColdIce - 13.06.2011, 22:46
Re: /aduty teleport - by xalith - 13.06.2011, 23:10
Re: /aduty teleport - by futuretrucker - 13.06.2011, 23:16
Re: /aduty teleport - by ColdIce - 13.06.2011, 23:17
Re: /aduty teleport - by futuretrucker - 13.06.2011, 23:18
Re: /aduty teleport - by xalith - 13.06.2011, 23:20
Re: /aduty teleport - by ColdIce - 13.06.2011, 23:20
Re: /aduty teleport - by futuretrucker - 13.06.2011, 23:23

Forum Jump:


Users browsing this thread: 1 Guest(s)