[Help] How to add map icons - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help] How to add map icons (
/showthread.php?tid=389558)
[Help] How to add map icons -
AchievementMaster360 - 02.11.2012
I started a new server and i see a couple of map icons and i was wondering how to add one
Re: [Help] How to add map icons -
DBan - 02.11.2012
https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
Re: [Help] How to add map icons -
silenthill - 02.11.2012
pawn Код:
em pъblico OnPlayerConnect ( playerid )
SetPlayerMapIcon ( playerid, 12 , 2204,9468 , 1986,2877 , 16,7380 , 52 , 0 , MAPICON_LOCAL ) ;
//explicaзгo:(Coordenadas do local desejado + icone EX: 52 й o simbolo do Cifrгo verde
onde pegar o numero correspondente ao simbolo >
https://sampwiki.blast.hk/wiki/MapIcons
Re: [Help] How to add map icons -
AchievementMaster360 - 02.11.2012
How do i get the coordinates?
Re: [Help] How to add map icons -
InfiniTy. - 02.11.2012
Quote:
Originally Posted by AchievementMaster360
How do i get the coordinates?
|
into game type /save where you want the map icon
And then in your documents file - GTA San Andreas User Files - SAMP - savedpositions.txt .. there you have it.. your coords will be there ..
It will be something like :
AddPlayerClass(280,1480.9382,-1771.8766,13.5469,342.3370,0,0,0,0,0,0); //
You only need ( what is marked with red down below )
AddPlayerClass(280,
1480.9382,-1771.8766,13.5469,342.3370,0,0,0,0,0,0); //