SA-MP Forums Archive
[Ajuda] icones nгo aparecem no mapa ! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] icones nгo aparecem no mapa ! (/showthread.php?tid=658292)



icones nгo aparecem no mapa ! - Duun - 31.08.2018

Код:
	SetPlayerMapIcon( playerid, 10, 2365.8528,2075.7424,10.3966, 1, 0 ); // Burguer shot 1
	SetPlayerMapIcon( playerid, 29, 2539.5369,2149.7537,10.3843, 1, 0 ); // Well Stacked Pizza Co
	SetPlayerMapIcon( playerid, 57, 2192.3462,1676.3215,12.3672, 1, 0 ); // Spawn civil
	SetPlayerMapIcon( playerid, 14, 2367.0671,2034.2717,10.3955, 1, 0 ); // Cluckin' Bell 1
	SetPlayerMapIcon( playerid, 21, 2515.7087,2297.1125,10.3957, 1, 0 ); // Sexshop
	SetPlayerMapIcon( playerid, 40, 2446.2229,2376.4846,11.7276, 1, 0 ); // Prefeitura
	SetPlayerMapIcon( playerid, 55, 2363.7092,2377.7949,10.3835, 1, 0 ); // Detran
	SetPlayerMapIcon( playerid, 30, 2290.3806,2431.1997,10.3905, 1, 0 ); // PM LV
Botei isso no OnPlayerConnect, mais nгo aparece !

segundo essa pбgina https://sampwiki.blast.hk/wiki/MapIconStyle o icone com style 1 fica visнvel global, mais n aconteceu. Troquei pra 3 tambйm nada, o que pode ser ?


Re: icones nгo aparecem no mapa ! - Malandrin - 31.08.2018

Exemplos de um SetPlayerMapIcon correto.
PHP код:
    SetPlayerMapIcon(playerid211352.3220, -1759.253713.507817COR_CINZA );//Mercado (24/7)
    
SetPlayerMapIcon(playerid221473.0833, -1264.625614.56252COR_CINZA );//Banco de LS
    
SetPlayerMapIcon(playerid231836.9907 ,-1682.449013.324948COR_CINZA );//CLUB
    
SetPlayerMapIcon(playerid241996.1321, -1308.148720.903638COR_CINZA );//Spawn civil
    
SetPlayerMapIcon(playerid251190.0177, -1324.109913.566922COR_CINZA );//Hospital
    
SetPlayerMapIcon(playerid261555.5005, -1675.667816.195330COR_CINZA );//Policia Militar 
Wiki: https://sampwiki.blast.hk/wiki/SetPlayerMapIcon


Re: icones nгo aparecem no mapa ! - SIZET - 31.08.2018

Vocк ta usando os parametros do SetPlayerMapIcon errado

Veja:

PHP код:
SetPlayerMapIcon(playerid0XYZIconeBranco); // MapIcon 0
SetPlayerMapIcon(playerid1XYZIconeBranco); // MapIcon 1
SetPlayerMapIcon(playerid2XYZIconeBranco); // MapIcon 2
SetPlayerMapIcon(playerid3XYZIconeBranco); // MapIcon 3 
E assim vai...


Re: icones nгo aparecem no mapa ! - Duun - 31.08.2018

vlw galera