[Ajuda] Ajuda com Teleportes ???
#7

Quote:
Originally Posted by CaioMiglioli
Посмотреть сообщение
assim tб melhor?
pawn Код:
new STR[3][250];
    if(strcmp(cmdtext, "/entrandointerior", true) == 0)
    {
        new Float:VoltarX, Float:VoltarY, Float:VoltarZ;
        GetPlayerPos(playerid, VoltarX, VoltarY, VoltarZ);
        format(STR[0], 250, "%d",VoltarX);
        format(STR[1], 250, "%d",VoltarY);
        format(STR[2], 250, "%d",VoltarZ);
        if(IsPlayerInRangeOfPoint(playerid,2.0,>> AQUI PRESISA TER TODOS OS TELEPORTES ! '-' <<))
        {
            SetPlayerInterior(playerid, 16);
            SetPlayerPos(playerid,-25.132598,-139.066986,1003.546875);
        }
    }
    if(strcmp(cmdtext, "/sairdointerior", true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,1.0,-25.132598,-139.066986,1003.546875))
        {
            SetPlayerInterior(playerid, 0);
            SetPlayerPos(playerid,STR[0],STR[1], STR[2]);
        }
    }
que gasto de strings atoa hein e ainda mais 250 haa
Reply


Messages In This Thread
Ajuda com Teleportes ??? - by HeyHoLetsGo - 16.12.2012, 15:40
Re: Ajuda com Teleportes ??? - by HeyHoLetsGo - 16.12.2012, 17:21
Re: Ajuda com Teleportes ??? - by Gleisson_. - 16.12.2012, 18:18
Re: Ajuda com Teleportes ??? - by CaioMiglioli - 16.12.2012, 18:26
Re: Ajuda com Teleportes ??? - by Gleisson_. - 16.12.2012, 18:29
Re: Ajuda com Teleportes ??? - by CaioMiglioli - 16.12.2012, 18:35
Re: Ajuda com Teleportes ??? - by VenoN - 16.12.2012, 19:32
Re: Ajuda com Teleportes ??? - by HeyHoLetsGo - 16.12.2012, 20:05
Re: Ajuda com Teleportes ??? - by HeyHoLetsGo - 16.12.2012, 23:10
Re: Ajuda com Teleportes ??? - by HardWar - 16.12.2012, 23:13

Forum Jump:


Users browsing this thread: 1 Guest(s)