Adding a Icon on the map?
#1

Hi, I'm having trouble with adding an icon on the radar/map.
If I wanted to add one here:

How would I do it?

Thanks, Studio.
Reply
#2

first goto there and do /save then go into your GTA SA folder and open "savedpositions.txt" and look for something like this
pawn Код:
AddPlayerClass( 0,[b] 1958.33, 1343.12[/b], 15.36, 269.15, 26, 36, 28, 150, 0, 0 );
The two bold numbers are the location for the map icon (ofcourse you would have a different location), then get those two numbers and put them into the SetPlayerMapIcon Function like this:
pawn Код:
SetPlayerMapIcon( playerid, [u]1[/u], [b]2204.9468, 1986.2877[/b], 0, [i]19[/i], 0 );
And put it under OnPlayerSpawn
The text in Underline is the ID of the map icon, This must be unique!
The text in bold is the Location of the map icon. which you got from the /save function.
The text in italic is the model of the map icon. which you can find here.
Then its done!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)