08.08.2009, 01:58
first goto there and do /save then go into your GTA SA folder and open "savedpositions.txt" and look for something like this
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:
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!
pawn Код:
AddPlayerClass( 0,[b] 1958.33, 1343.12[/b], 15.36, 269.15, 26, 36, 28, 150, 0, 0 );
pawn Код:
SetPlayerMapIcon( playerid, [u]1[/u], [b]2204.9468, 1986.2877[/b], 0, [i]19[/i], 0 );
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!