[Ajuda] /localizar rua
#6

Quote:
Originally Posted by MultiKill
Посмотреть сообщение
Olhando estб funзгo:
pawn Код:
LocaisRua1(playerid, zone[], len)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    for(new i = 0; i != sizeof(gSAZones); i++ )
    {
        if(x >= gSAZones[i][SAZONE_AREA][0] && x <= gSAZones[i][SAZONE_AREA][3] && y >= gSAZones[i][SAZONE_AREA][1] && y <= gSAZones[i][SAZONE_AREA][4])
        {
            return format(zone, len, gSAZones[i][SAZONE_NAME], 0);
        }
    }
    return false;
}
Vocк nгo percebe o erro netas linhas:
pawn Код:
GetPlayerPos(LocaisRua1, x, y, z);
//
SetPlayerCheckpoint(LocaisRua1, X,Y,Z, 6);
E ainda o comando vai dar errado.
Entгo me ajuda com uma base pq ta dнficil...
Reply


Messages In This Thread
/localizar rua - by PetterAdriano - 09.01.2015, 02:09
Re: /localizar rua - by MatheusDalZot - 09.01.2015, 02:17
Re: /localizar rua - by PetterAdriano - 09.01.2015, 14:26
Re: /localizar rua - by PetterAdriano - 09.01.2015, 22:11
Re: /localizar rua - by MultiKill - 09.01.2015, 23:03
Re: /localizar rua - by PetterAdriano - 09.01.2015, 23:43
Re: /localizar rua - by MultiKill - 10.01.2015, 00:04
Re: /localizar rua - by PetterAdriano - 10.01.2015, 15:53
Re: /localizar rua - by PT - 10.01.2015, 16:45

Forum Jump:


Users browsing this thread: 1 Guest(s)