Ta a dar esse warning
#6

Код:
ZoneInfo[idx][zID] = GangZoneCreate(ZoneInfo[idx][zMinX], ZoneInfo[idx][zMinY], ZoneInfo[idx][zMaxX], ZoneInfo[idx][zMaxY]);
Mas tem de ser o ZoneInfo[i][zLeader] para edificar a cor! so que ta a dar erro

Код:
stock GetTeamZoneColor(teamid)
{
    switch(teamid)
    {
        case 0: return 0xFFFFFFA4; // Braco
        case 1: return 0xFFB4005B; // Laranja
    }
    return -1;
}
Ai se a ZoneInfo[i][zLeader] for a '1' vai a parecer em laranja se for a '0' vai aparecer em braco
Reply


Messages In This Thread
Ta a dar esse warning - by CJoao - 07.09.2011, 15:54
Re: Ta a dar esse warning - by WLSF - 07.09.2011, 15:58
Re: Ta a dar esse warning - by Dolby - 07.09.2011, 15:59
Re: Ta a dar esse warning - by ViniBorn - 07.09.2011, 16:00
Re: Ta a dar esse warning - by WLSF - 07.09.2011, 16:01
Re: Ta a dar esse warning - by CJoao - 07.09.2011, 16:08
Re: Ta a dar esse warning - by StrondA_ - 07.09.2011, 16:36
Re: Ta a dar esse warning - by CJoao - 07.09.2011, 16:52
Re: Ta a dar esse warning - by Dolby - 07.09.2011, 16:57
Re: Ta a dar esse warning - by CJoao - 07.09.2011, 16:59

Forum Jump:


Users browsing this thread: 2 Guest(s)