[Ajuda] map icon nгo funciona
#8

Quote:
Originally Posted by PT
Посмотреть сообщение
desse modo;

pawn Код:
#if !defined MAX_HOUSES

#define MAX_HOUSES 500

#endif


public  OnPlayerConnect(playerid) {

    SetTimerEx("AtualizarMapa", 1000, true, "i", playerid);
   
     
}


forward AtualizarMapa(i);
public AtualizarMapa(i) {

    for(new c ; c != MAX_HOUSES ; c++) {

        if( CasaInfo[c][Venda]) {
             SetPlayerMapIcon( i, c, CasaInfo[c][PickupX], CasaInfo[c][PickupY],CasaInfo[c][PickupZ], 32, 0, MAPICON_GLOBAL       );
        }
        else
        {
            RemovePlayerMapIcon( i, c );
        }
    }

    return true;

}
os erros do code do bruno ficam reparados penso

# nao testei...
e o mapicon id 31 ? no caso era para as casas sem dono ficar com mapicon de id 31 e as com dono de id 32 de forma que quando alguem comprasse o mapicon 31 seria destruido e posto o 32 e vice versa..
Reply


Messages In This Thread
map icon nгo funciona - by mindvivek - 03.11.2013, 02:48
Re: map icon nгo funciona - by zSuYaNw - 03.11.2013, 04:22
Respuesta: map icon nгo funciona - by ipsBruno - 03.11.2013, 16:25
Re: map icon nгo funciona - by yNexus - 03.11.2013, 17:58
Re: Respuesta: map icon nгo funciona - by mindvivek - 05.11.2013, 16:03
Re: map icon nгo funciona - by mindvivek - 05.11.2013, 22:18
Re: map icon nгo funciona - by PT - 05.11.2013, 22:44
Re: map icon nгo funciona - by mindvivek - 06.11.2013, 00:05
Re: map icon nгo funciona - by zSuYaNw - 06.11.2013, 00:23
Re: map icon nгo funciona - by mindvivek - 06.11.2013, 01:01

Forum Jump:


Users browsing this thread: 1 Guest(s)