Adding a Icon on the map?
#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


Messages In This Thread
Adding a Icon on the map? - by Studio - 08.08.2009, 01:20
Re: Adding a Icon on the map? - by ruarai - 08.08.2009, 01:58

Forum Jump:


Users browsing this thread: 1 Guest(s)