/gotopos command
#3

OK , sorry ! This is for /gotols command

// = Comanda: /gotols
//================================================== ================================================== ================================================== =======
pawn Код:
if(strcmp(cmd, "/gotols", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 2)
            {
                if (GetPlayerState(playerid) == 2)
                {
                    new tmpcar = GetPlayerVehicleID(playerid);
                    SetVehiclePos(tmpcar, 1529.6,-1691.2,13.3);
                    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                }
                else
                {
                    SetPlayerPos(playerid, 1529.6,-1691.2,13.3);
                }
                SendClientMessage(playerid, COLOR_GRAD1, ""#GAlbastru"[Suceava-RPG]: {ffd700}Ai fost Teleportat cu succes.");
                GetPlayerName(playerid, sendername, sizeof(sendername));
                format(string, 256, ""#GAlbastru"[Suceava-RPG]: {ffffff}Admin {059e42}[%s]{ffffff} a folosit comanda {f70f0f}[/gotols]", sendername);
                SendAdminMessage(COLOR_LIGHTRED,string);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
            }
            else
            {
                SendClientMessage(playerid, COLOR_GRAD1, ""#GAlbastru"[Suceava-RPG]: {ffffff}Ne pare rau, dar nu ai acces la aceasta comanda.");
            }
        }
        return 1;
    }
Reply


Messages In This Thread
/gotopos command - by Kirchhoff - 16.05.2013, 11:12
Re: /gotopos command - by Red_Dragon. - 16.05.2013, 11:13
Re: /gotopos command - by Kirchhoff - 16.05.2013, 11:15
Re: /gotopos command - by Red_Dragon. - 16.05.2013, 11:18
Re: /gotopos command - by Pillhead2007 - 16.05.2013, 11:29
Re: /gotopos command - by Kirchhoff - 16.05.2013, 11:43
Re: /gotopos command - by jordy.kiesebrink - 16.05.2013, 11:47
Re: /gotopos command - by Latisha - 16.05.2013, 11:52
Re: /gotopos command - by SilverKiller - 16.05.2013, 11:54
Re: /gotopos command - by Red_Dragon. - 16.05.2013, 12:02

Forum Jump:


Users browsing this thread: 1 Guest(s)