[AJUDA] Ajeita o cmd
#7

pawn Код:
new Float:plocx,Float:plocy,Float:plocz; // tem  que se alinhado com as outras linhas.. aki ta dando bug..
            new plo = strval(inputtext);
            new string[64];
            if(GetPlayerState(playerid) == 2)
            {
                new tmpcar = GetPlayerVehicleID(playerid);
                SetVehiclePos(tmpcar, plocx, plocy+4, plocz);
            }
            SetPlayerPos(playerid,plocx,plocy+2, plocz);
            SendClientMessage(playerid, COLOR_GOLD, "Teste");
            GetPlayerPos(plo, plocx, plocy, plocz);
            SetPlayerInterior(playerid,GetPlayerInterior(plo));
            format(string, sizeof(string), "[INFO] Vocк teleportou atй %s.", plo);
            SendClientMessage(playerid, COLOR_GOLD, string);
            format(string2, sizeof(string2), "[INFO] O admin %s, teleportou atй vocк.", sendername);
            SendClientMessage(plo, COLOR_GOLD, string);
pawn Код:
if(dialogid == Testedialog3)
    {
        if(response)
        {
            new Float:plocx,Float:plocy,Float:plocz;
            new plo = strval(inputtext);
            new string2[64];
            if(GetPlayerState(playerid) == 2)
            {
                new tmpcar = GetPlayerVehicleID(playerid);
                SetVehiclePos(tmpcar, plocx, plocy+4, plocz);
            }
            SetPlayerPos(playerid,plocx,plocy+2, plocz);
            SendClientMessage(playerid, COLOR_GOLD, "Teste");
            GetPlayerPos(plo, plocx, plocy, plocz);
            SetPlayerInterior(playerid,GetPlayerInterior(plo));
            format(string, sizeof(string), "[INFO] Vocк teleportou atй %s.", plo);
            SendClientMessage(playerid, COLOR_GOLD, string);
            format(string2, sizeof(string2), "[INFO] O admin %s, teleportou atй vocк.", sendername);
            SendClientMessage(plo, COLOR_GOLD, string);
        }
    }
Tenta isso..
Reply


Messages In This Thread
[AJUDA] Ajeita o cmd - by atsbs - 18.05.2012, 20:53
Re: [AJUDA] Ajeita o cmd - by DrTHE - 18.05.2012, 21:07
Re: [AJUDA] Ajeita o cmd - by atsbs - 18.05.2012, 21:15
Re: [AJUDA] Ajeita o cmd - by Bruno Pereira - 18.05.2012, 21:16
Re: [AJUDA] Ajeita o cmd - by ViniBorn - 18.05.2012, 21:40
Re: [AJUDA] Ajeita o cmd - by atsbs - 18.05.2012, 21:47
Re: [AJUDA] Ajeita o cmd - by leonardo1434 - 18.05.2012, 21:48
Re: [AJUDA] Ajeita o cmd - by atsbs - 18.05.2012, 21:53
Re: [AJUDA] Ajeita o cmd - by leonardo1434 - 18.05.2012, 22:02
Re: [AJUDA] Ajeita o cmd - by atsbs - 18.05.2012, 22:37

Forum Jump:


Users browsing this thread: 2 Guest(s)