[Ajuda] Icones no mapas
#1

Criei os нcones, nгo deu nenhum erro mas tambйm nгo apareceu os нcones que coloquei... Tem algo de errado nessas linhas?

pawn Код:
public OnPlayerConnect(playerid)

{
    GameTextForPlayer(playerid,"~y~SA-MP: LunaticoS DM/TDM ~g~[Brasil]",5000,5);
    SendClientMessage(playerid, COR_LARANJA,"[INFO]: Bem Vindo ao LunaticoS [BRASIL] DM/TDM digite /ajuda para ver o menu de ajuda.");
    SendClientMessage(playerid, COR_LARANJA,"[INFO]: /comandos Para ver os comandos disponнveis.");
    gActivePlayers[playerid]++;
    gLastGaveCash[playerid] = GetTickCount();
   

SetPlayerMapIcon(playerid,0,2247.624267,2395.871093,19.659206,52,0); //Icone Dolar
SetPlayerMapIcon(playerid,0,2391.499023,2038.536254,20.578125,14,0); //Icone Frango
SetPlayerMapIcon(playerid,0,2547.583984,2086.374755,15.672016,6,0); //Icone Arma
SetPlayerMapIcon(playerid,0,2386.569091,1047.296997,18.318904,27,0); //Icone Ferramenta
SetPlayerMapIcon(playerid,0,2010.142944,1004.415039,39.091094,31,0); //Icone Casa Verde
SetPlayerMapIcon(playerid,0,2198.672119,1990.434204,16.737953,52,0); //Icone Dolar
SetPlayerMapIcon(playerid,0,2471.185546,2030.207519,16.093750,10,0); //Icone Hamburguer
SetPlayerMapIcon(playerid,0,2278.493164,2452.183349,46.969257,30,0); //Icone Policia
SetPlayerMapIcon(playerid,0,2079.851074,2076.195556,26.523002,31,0); //Icone Casa Verde
SetPlayerMapIcon(playerid,0,2094.563476,2127.429687,18.580097,31,0); //Icone Casa Verde
SetPlayerMapIcon(playerid,0,2192.682861,1678.835815,20.390625,31,0); //Icone Casa Verde
SetPlayerMapIcon(playerid,0,2162.488525,944.171081,15.672016,6,0); //Icone Arma
SetPlayerMapIcon(playerid,0,1715.606445,1619.931640,13.531250,5,0); //Icone Aviгo
return 1;
}
Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
Reply
#3

O cуdigo parece tar certo, so que os icones nгo aparecem.
Reply
#4

playerid, id, x, y, z, tipo, cor

pawn Код:
SetPlayerMapIcon(playerid,0,2247.624267,2395.871093,19.659206,52,0); //Icone Dolar
SetPlayerMapIcon(playerid,1,2391.499023,2038.536254,20.578125,14,0); //Icone Frango
SetPlayerMapIcon(playerid,2,2547.583984,2086.374755,15.672016,6,0); //Icone Arma
SetPlayerMapIcon(playerid,3,2386.569091,1047.296997,18.318904,27,0); //Icone Ferramenta
SetPlayerMapIcon(playerid,4,2010.142944,1004.415039,39.091094,31,0); //Icone Casa Verde
SetPlayerMapIcon(playerid,5,2198.672119,1990.434204,16.737953,52,0); //Icone Dolar
SetPlayerMapIcon(playerid,6,2471.185546,2030.207519,16.093750,10,0); //Icone Hamburguer
SetPlayerMapIcon(playerid,7,2278.493164,2452.183349,46.969257,30,0); //Icone Policia
SetPlayerMapIcon(playerid,8,2079.851074,2076.195556,26.523002,31,0); //Icone Casa Verde
SetPlayerMapIcon(playerid,9,2094.563476,2127.429687,18.580097,31,0); //Icone Casa Verde
SetPlayerMapIcon(playerid,10,2192.682861,1678.835815,20.390625,31,0); //Icone Casa Verde
SetPlayerMapIcon(playerid,11,2162.488525,944.171081,15.672016,6,0); //Icone Arma
SetPlayerMapIcon(playerid,12,1715.606445,1619.931640,13.531250,5,0); //Icone Aviгo
Tente.
Reply
#5

Й esqueci de uma parte imporante, os ids >_<

Vlw pela ajuda!
Reply
#6

Nada
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)