Need Help With Map Icons - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need Help With Map Icons (
/showthread.php?tid=147346)
Need Help With Map Icons -
rs2fun111 - 11.05.2010
How I Can Change White Square Color to
Red ?
Код:
SetPlayerMapIcon(playerid, 0, -1416.8024902344, 402.52310180664, 30.252838134766, 5, 0);
what i must do this This?
please help.-
@ [url=https://sampwiki.blast.hk/wiki/MapIcons[/url]
Wiki There wasnt Tut About It.
Re: Need Help With Map Icons -
Killa_ - 11.05.2010
SetPlayerColor
Re: Need Help With Map Icons -
Killa_ - 11.05.2010
Код:
SetPlayerMapIcon(playerid, 0, -1416.8024902344, 402.52310180664, 30.252838134766, 1, 151);
Re: Need Help With Map Icons -
Zh3r0 - 11.05.2010
Quote:
|
Originally Posted by » Kalvi «
How I Can Change White Square Color to Red ?
Код:
SetPlayerMapIcon(playerid, 0, -1416.8024902344, 402.52310180664, 30.252838134766, 5, 0);
what i must do this This?
please help.-
@ [url=https://sampwiki.blast.hk/wiki/MapIcons[/url] Wiki There wasnt Tut About It.
|
There is NO tutorial, because your searching level is LOW.
https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
Re: Need Help With Map Icons -
David-Sean - 11.05.2010
try
this
Код:
SetPlayerMapIcon(playerid, 0, -1416.8024902344, 402.52310180664, 30.252838134766, 5, 0, COLOR_YELLOW); // For
Re: Need Help With Map Icons -
Zh3r0 - 11.05.2010
Quote:
|
Originally Posted by David-Sean
try
this
Код:
SetPlayerMapIcon(playerid, 0, -1416.8024902344, 402.52310180664, 30.252838134766, 5, 0, COLOR_YELLOW); // For
|
That will give error "Argument does not match definition"
This is the good version:
pawn Код:
SetPlayerMapIcon(playerid, 0, -1416.8024902344, 402.52310180664, 30.252838134766, 5, 0xFF0000FF);
0xFF0000FF - Color red.
Re: Need Help With Map Icons -
David-Sean - 11.05.2010
Quote:
|
Originally Posted by PlayON
Quote:
|
Originally Posted by David-Sean
try
this
Код:
SetPlayerMapIcon(playerid, 0, -1416.8024902344, 402.52310180664, 30.252838134766, 5, 0, COLOR_YELLOW); // For
|
That will give error "Argument does not match definition"
This is the good version:
pawn Код:
SetPlayerMapIcon(playerid, 0, -1416.8024902344, 402.52310180664, 30.252838134766, 5, 0xFF0000FF);
0xFF0000FF - Color red.
|
yea

i not remember it hhaaha
Re: Need Help With Map Icons -
rs2fun111 - 11.05.2010
Thank You Guys , and sorry for waste your Time
Re: Need Help With Map Icons -
Zh3r0 - 11.05.2010
Quote:
|
Originally Posted by [ĦŁ₣
ЉǾǖŦĦЗŁΛẄ ]
I have a small problem:
The icon is just some big white square, looks ugly
If no one else is having this it must be my script or some dodgy texture mod
Here is the function
SetPlayerMapIcon(playerid, 87, 100, 100, 0, 1, RED);
#define RED 0xAA3333AA
If it is a texture problem can someone tell me the txt file and I can fix it
Thanks 
|
I actually think it's a texture fail, OR NOT.
Because if yes, even the player's blips would bee huge like that
If not, then the map icon would have been the same as the player's blip.
So it's tricky.
Advice, DON'T MOD SAN ANDREAS.