[Ajuda] Map Icon
#1

Pessoal, estou fazendo um sistema de banco, deste modo coloquei aqueles , mas nenhum deles estб aparecendo no mapa, cуdigo referente:

pawn Код:
SetPlayerMapIcon(playerid, 11, 1223.09960938, -1695.79980469, 13.19999981, 52, 0);
    SetPlayerMapIcon(playerid, 12, 1550.30004883, -1671.69995117, 13.19999981, 52, 0);
    SetPlayerMapIcon(playerid, 13, 1809.69995117, -1566.69995117, 13.10000038, 52, 0);
    SetPlayerMapIcon(playerid, 14, 1845.09997559, -1171.09997559, 23.50000000, 52, 0);
    SetPlayerMapIcon(playerid, 15, 2150.30004883, -1012.50000000, 62.40000153, 52, 0);
    SetPlayerMapIcon(playerid, 16, 2195.39990234, -1310.50000000, 23.60000038, 52, 0);
    SetPlayerMapIcon(playerid, 17, 2109.30004883, -1790.69995117, 13.19999981, 52, 0);
    SetPlayerMapIcon(playerid, 18, 1727.90002441, -1943.00000000, 13.19999981, 52, 0);
    SetPlayerMapIcon(playerid, 19, 1014.20001221, -1562.69995117, 13.19999981, 52, 0);
    SetPlayerMapIcon(playerid, 20, 1027.80004883, -1310.59997559, 13.19999981, 52, 0);
    SetPlayerMapIcon(playerid, 21, 1550.30004883, -1671.69995117, 13.19999981, 52, 0);
    SetPlayerMapIcon(playerid, 22, 320.89999390, -1521.59997559, 35.70000076, 52, 0);

Aguardo Resposta,
Reply
#2

pawn Код:
SetPlayerMapIcon(playerid, 11,1223.09960938, -1695.79980469, 13.19999981, 52, 0xE6E6E6E6);
poderia mostra um print?

esse funciona
pawn Код:
SetPlayerMapIcon(playerid, 11,1461.8320,-1010.3407,26.8438, 52, 0xE6E6E6E6);//Banco
Reply
#3

N entendi o que eu faзo, tiro uma print dos нcones in-game ?
Reply
#4

isso fica em
Quote:

public OnPlayerConnect( playerid )

Tira um print INGame
Reply
#5

AFF, nгo acredito, fui tirar as prints e agora ta funcionando tudo certinho, :/

Mesmo Assim dou +REP pela atenзгo ao post.
Reply
#6

exemplo:

pawn Код:
SetPlayerMapIcon(playerid, 22, 320.89999390, -1521.59997559, 35.70000076, 52, 0);
nгo estб returnando pois estб zero no range.

o certo seria

pawn Код:
SetPlayerMapIcon(playerid, 22, 320.89999390, -1521.59997559, 35.70000076, 52, MAPICON_GLOBAL);
// MAPICIN_GLOBAL o mapicon serб mostrado sempre
Reply
#7

Mas queria que sу quando chegasse perto do нcone ele comeзasse a aparecer ao player.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)