Map icon question -
BlackWolf120 - 25.12.2010
hi,
i want to set a map icon, such a map icon like the default N on the minimap that shows u where is north.
I dont mean the symbol N but my map icon shall behave just like the N on the minimap.
Like u are able to see it from everywhere and u dont need to be close to it to see it.
How to do that.
regards and marry christmas
Re: Map icon question -
trapped1 - 25.12.2010
Merry x-mas to you too...
http://forum.sa-mp.de/wiki_backup/wi...erMapIcon.html
Re: Map icon question -
BlackWolf120 - 25.12.2010
hi,
i red that page too but i still dont know how to do that
pls someone, gimme an example.
Re: Map icon question -
propilot - 25.12.2010
pawn Код:
public OnPlayerConnect( playerid )
{
// This example demonstrates how to create a dollar-icon on top of a 24/7 located
// in Las Venturas. This way new players know where to go with their money!
SetPlayerMapIcon( playerid, 12, 2204.9468, 1986.2877, 16.7380, 52, 0 );
}
So okay
pawn Код:
SetPlayerMapIcon( playerid, ,icon id, x, y, z, makertype., color0 unless it a square icon ( 1 ) );
Re: Map icon question -
BlackWolf120 - 25.12.2010
i still dont know how to do it and again
Ive red the wiki so pls dont post this wiki site again
i did it like this
SetPlayerMapIcon(playerid,1,-1633.6028,-2244.1521,31.4766,52,0);
well the icon appears but its not behaving like the N.
U can only see it if ure close enough
And if im adding one of these styles it shows me error (undefined symbols)
style MAPICON_LOCAL, MAPICON_GLOBAL, MAPICON_LOCAL_CHECKPOINT, MAPICON_GLOBAL_CHECKPOINT
pls help
Re: Map icon question -
BlackWolf120 - 27.12.2010
pls help
how to set a map icon thats behaving like this N that shows u the north direction
just like in the picture below??
pls i need this so badly
Re: Map icon question -
admantis - 27.12.2010
I think the N point is scripted in GTA SA to always point north, so if you place it, it will inmediately look north.
Re: Map icon question -
BlackWolf120 - 27.12.2010
no, i mean
i want to place another icon e.g a dollar sign icon
and i want the icon to behave exactly like the N icon
Not showing the north direction but i want it to be visible from everywhere on the map just like the N
so u dont have to be close to it to see the icon
u know what i mean?
regards.
pls this is very important
Re: Map icon question -
sjvt - 13.01.2011
use MAPICON_GLOBAL
pawn Код:
SetPlayerMapIcon(playerid, 1, -1633.6028, -2244.1521, 31.4766, 52, MAPICON_GLOBAL);