SA-MP Forums Archive
[SEARCHING] Invisable Player Square on Mini-Map - 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: [SEARCHING] Invisable Player Square on Mini-Map (/showthread.php?tid=237745)



[FOUND] Invisable Player Square on Mini-Map - Rolyy - 10.03.2011

Some other day I read something about making an player square on mini-map inivisable, currently I am searching for it but cannot find it anywhere.

I guess it has something to do with https://sampwiki.blast.hk/wiki/SetPlayerColor


I have been searching 10 minutes already, and it starts pissing me off now >_<.






Quote:
Originally Posted by Riddick94
Посмотреть сообщение
You mean SetPlayerColor(playerid, COLOR_WHITE);

pawn Код:
#define COLOR_WHITE             0xFFFFFFFF
This'll make player invisible on the map without using ShowPlayerMarkers(false);
Quote:
Originally Posted by Meyer
Посмотреть сообщение
use 50 alpha at end of hex

Ex: 0xFFFFFF50



Re: [SEARCHING] Invisable Player Square on Mini-Map - Riddick94 - 10.03.2011

ShowPlayerMarkers(false);

In OnGameModeInit.


Re: [SEARCHING] Invisable Player Square on Mini-Map - Rolyy - 10.03.2011

Well I'm looking for something different..
I think it was posted on forum.sa-mp.com or wiki.sa-mp.com

But thanks anyways.


Re: [SEARCHING] Invisable Player Square on Mini-Map - Riddick94 - 10.03.2011

You mean SetPlayerColor(playerid, COLOR_WHITE);

pawn Код:
#define COLOR_WHITE             0xFFFFFFFF
This'll make player invisible on the map without using ShowPlayerMarkers(false);


Re: [SEARCHING] Invisable Player Square on Mini-Map - Rolyy - 10.03.2011

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
You mean SetPlayerColor(playerid, COLOR_WHITE);

pawn Код:
#define COLOR_WHITE             0xFFFFFFFF
This'll make player invisible on the map without using ShowPlayerMarkers(false);
Yea exactly, it was something like that but how can I make the colour like 50% visable?
Do you have a kind of link of an tutorial or?


Re: [SEARCHING] Invisable Player Square on Mini-Map - XFlawless - 10.03.2011

use 50 alpha at end of hex

Ex: 0xFFFFFF50


Re: [SEARCHING] Invisable Player Square on Mini-Map - Rolyy - 10.03.2011

Quote:
Originally Posted by Meyer
Посмотреть сообщение
use 50 alpha at end of hex

Ex: 0xFFFFFF50
Okay I'll try that, Thank you all.


Re: [SEARCHING] Invisable Player Square on Mini-Map - NeTuddMeg - 10.03.2011

0x12345600 is better, i think
123456 --> replace with ur color.


Re: [SEARCHING] Invisable Player Square on Mini-Map - XFlawless - 10.03.2011

Quote:
Originally Posted by NeTuddMeg
Посмотреть сообщение
0x12345600 is better, i think
123456 --> replace with ur color.
Sets completely Invisible.