Map icon question
#1

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
Reply
#2

Merry x-mas to you too...
http://forum.sa-mp.de/wiki_backup/wi...erMapIcon.html
Reply
#3

hi,
i red that page too but i still dont know how to do that
pls someone, gimme an example.
Reply
#4

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 ) );
Reply
#5

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
Reply
#6

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
Reply
#7

I think the N point is scripted in GTA SA to always point north, so if you place it, it will inmediately look north.
Reply
#8

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
Reply
#9

use MAPICON_GLOBAL

pawn Код:
SetPlayerMapIcon(playerid, 1, -1633.6028, -2244.1521, 31.4766, 52, MAPICON_GLOBAL);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)