[AJUDA] SetplayerMapIcon
#1

Olб pessoal,

Hб algum limite de Icones? porque quando chega no 30 comeзa adar erros no Pawno a compilar...

Consegui apenas atй o 29... abaixo:

pawn Код:
SetPlayerMapIcon(playerid, 1,-1956.6346,293.0974,35.4688, 55, 0xE6E6E6E6);
    SetPlayerMapIcon(playerid, 2,1552.6703,-1675.5068,16.1953, 30, 0xE6E6E6E6);
    SetPlayerMapIcon(playerid, 3,2350.1157,-1173.8123,35.5469, 60, 0xE6E6E6E6);//vagos
    SetPlayerMapIcon(playerid, 4,2516.1411,-1675.4065,13.9113, 62, 0xE6E6E6E6);//grove
    SetPlayerMapIcon(playerid, 5,1882.8721,-2008.8912,13.5469, 58, 0xE6E6E6E6);//aztec
    SetPlayerMapIcon(playerid, 6,1888.6598,-1107.4570,29.5155, 59, 0xE6E6E6E6);//ballas
    SetPlayerMapIcon(playerid, 7,1480.9403,-1770.8481,18.7958, 25, 0xE6E6E6E6);//Prefeitura
    SetPlayerMapIcon(playerid, 9,2243.6750,-1669.8136,21.0313, 45, 0xE6E6E6E6);//Binco
    SetPlayerMapIcon(playerid, 11,1461.8320,-1010.3407,26.8438, 52, 0xE6E6E6E6);//Banco
    SetPlayerMapIcon(playerid, 12,1792.9258,-1161.6808,28.8450, 18, 0xE6E6E6E6);//Ammu
    SetPlayerMapIcon(playerid, 13,2481.0957,-1365.6277,28.8359, 31, 0xE6E6E6E6); // - condominio1-
    SetPlayerMapIcon(playerid, 14,2795.7832,-1329.9231,32.3265, 31, 0xE6E6E6E6); // - condominio2-
    SetPlayerMapIcon(playerid, 15,2139.4204,-1176.4689,23.9922, 32, 0xE6E6E6E6); // - empresacarro
    SetPlayerMapIcon(playerid, 16,1415.8468,-1693.0602,13.5469, 32, 0xE6E6E6E6); // - empresaenergia
    SetPlayerMapIcon(playerid, 17,1928.8269,-1776.4055,13.5469, 32, 0xE6E6E6E6); // - empresagasulina
    SetPlayerMapIcon(playerid, 18,1775.4338,-1706.3094,13.5234, 32, 0xE6E6E6E6); // - empresadeanuncio
    SetPlayerMapIcon(playerid, 19,1310.1265,-1367.8122,13.5408, 32, 0xE6E6E6E6); // - paintball
    SetPlayerMapIcon(playerid, 20,2350.0000,-1411.8000,23.9923, 32, 0xE6E6E6E6); // - UpCasa
    SetPlayerMapIcon(playerid, 21,1205.9715,-1459.6737,13.3859, 32, 0xE6E6E6E6); // - ArmasdosCopa
    SetPlayerMapIcon(playerid, 22,1182.7567,-1242.9381,17.4995, 31, 0xE6E6E6E6); // - condominio3-
    SetPlayerMapIcon(playerid, 23,294.0238,-1602.5834,32.8331, 32, 0xE6E6E6E6); // - BrasilTelecom =)
    SetPlayerMapIcon(playerid, 24,334.0479,-1507.9438,36.0391, 30, 0xE6E6E6E6);//HQ G.T.3
    SetPlayerMapIcon(playerid, 25,2286.9778,2431.8884,10.8203, 30, 0xE6E6E6E6);//HQ policia
    SetPlayerMapIcon(playerid, 26,1205.0510,-2036.7617,69.0078, 42, 0xE6E6E6E6);//HQ Governo
    SetPlayerMapIcon(playerid, 27,2226.6536,-1730.1476,13.3828, 54, 0xE6E6E6E6);//Ginбsio
    SetPlayerMapIcon(playerid, 28,1794.0907,-1920.5289,13.3923, 57, 0xE6E6E6E6);//Taxistas
    SetPlayerMapIcon(playerid, 29,1195.3130,-1729.0592,13.5689, 48, 0xE6E6E6E6);//Onibus
Reply
#2

Depende Versгo

SA:MP 0.3:
Map Icons 100

SAMP 0.2x
Map Icons 32

Leia Mais Aqui
Reply
#3

Caso for erro no compilador, daн й erro nas linhas do script (poste aqui para poder receber ajuda), caso contrбrio se for erro por ultrapassar os limites do 0.3a (100) faзa isso:

1- Baixe este arquivo http://forum.sa-mp.com/index.php?topic=174718.0
2- Coloque no comeзo do seu script #include "PMS"
3- Apague as funзхes normais e coloque estas abaixo no OnGameModeInit
pawn Код:
pms_CriarMapIcon(-1956.6346, 293.0974,35.4688, 55, 0xE6E6E6E6);
    pms_CriarMapIcon(1552.6703, -1675.5068,16.1953, 30, 0xE6E6E6E6);
    pms_CriarMapIcon(2350.1157, -1173.8123,35.5469, 60, 0xE6E6E6E6);//vagos
    pms_CriarMapIcon(2516.1411, -1675.4065,13.9113, 62, 0xE6E6E6E6);//grove
    pms_CriarMapIcon(1882.8721, -2008.8912,13.5469, 58, 0xE6E6E6E6);//aztec
    pms_CriarMapIcon(1888.6598, -1107.4570,29.5155, 59, 0xE6E6E6E6);//ballas
    pms_CriarMapIcon(1480.9403, -1770.8481,18.7958, 25, 0xE6E6E6E6);//Prefeitura
    pms_CriarMapIcon(2243.6750, -1669.8136,21.0313, 45, 0xE6E6E6E6);//Binco
    pms_CriarMapIcon(1461.8320, -1010.3407,26.8438, 52, 0xE6E6E6E6);//Banco
    pms_CriarMapIcon(1792.9258, -1161.6808,28.8450, 18, 0xE6E6E6E6);//Ammu
    pms_CriarMapIcon(2481.0957, -1365.6277,28.8359, 31, 0xE6E6E6E6); // - condominio1-
    pms_CriarMapIcon(2795.7832, -1329.9231,32.3265, 31, 0xE6E6E6E6); // - condominio2-
    pms_CriarMapIcon(2139.4204, -1176.4689,23.9922, 32, 0xE6E6E6E6); // - empresacarro
    pms_CriarMapIcon(1415.8468, -1693.0602,13.5469, 32, 0xE6E6E6E6); // - empresaenergia
    pms_CriarMapIcon(1928.8269, -1776.4055,13.5469, 32, 0xE6E6E6E6); // - empresagasulina
    pms_CriarMapIcon(1775.4338, -1706.3094,13.5234, 32, 0xE6E6E6E6); // - empresadeanuncio
    pms_CriarMapIcon(1310.1265, -1367.8122,13.5408, 32, 0xE6E6E6E6); // - paintball
    pms_CriarMapIcon(2350.0000, -1411.8000,23.9923, 32, 0xE6E6E6E6); // - UpCasa
    pms_CriarMapIcon(1205.9715, -1459.6737,13.3859, 32, 0xE6E6E6E6); // - ArmasdosCopa
    pms_CriarMapIcon(1182.7567, -1242.9381,17.4995, 31, 0xE6E6E6E6); // - condominio3-
    pms_CriarMapIcon(294.0238, -1602.5834,32.8331, 32, 0xE6E6E6E6); // - BrasilTelecom =)
    pms_CriarMapIcon(334.0479, -1507.9438,36.0391, 30, 0xE6E6E6E6);//HQ G.T.3
    pms_CriarMapIcon(2286.9778, 2431.8884,10.8203, 30, 0xE6E6E6E6);//HQ policia
    pms_CriarMapIcon(1205.0510, -2036.7617,69.0078, 42, 0xE6E6E6E6);//HQ Governo
    pms_CriarMapIcon(2226.6536, -1730.1476,13.3828, 54, 0xE6E6E6E6);//Ginбsio
    pms_CriarMapIcon(1794.0907, -1920.5289,13.3923, 57, 0xE6E6E6E6);//Taxistas
    pms_CriarMapIcon(1195.3130, -1729.0592,13.5689, 48, 0xE6E6E6E6);//Onibus
Ou procure um outro streamer de sua preferкncia.

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)