Invisible at 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)
+--- Thread: Invisible at Map (
/showthread.php?tid=605949)
Invisible at Map -
Amunra - 27.04.2016
How to make Player Invisible at Map ?
I Think use SetPlayerMarkerForPlayer thats Right ?
I'm not sure ... :/
Re: Invisible at Map -
biker122 - 27.04.2016
This is an invisible colour. Makes your nametag white, and hides you from the RADAR (Map aswell).
pawn Код:
SetPlayerColor(playerid, 0xFFFFFF00);
Re: Invisible at Map -
Amunra - 27.04.2016
Quote:
Originally Posted by biker122
This is an invisible colour. Makes your nametag white, and hides you from the RADAR (Map aswell).
pawn Код:
SetPlayerColor(playerid, 0xFFFFFF00);
|
Just thats ?
If i make white color ... the player show for another player
Re: Invisible at Map -
biker122 - 27.04.2016
Actually, the color code for white is: 0xFFFFFFFF (When the last two letters are changed to 00, it becomes a invisible color with white color as nametag)
So changing the white color into an invisible white color, you do use this: 0xFFFFFF00
You can use this for any color. If you just use '00' in the last of the color code, it hides you from the map (radar).
Re: Invisible at Map -
CalvinC - 27.04.2016
The last figures are the alpha transparency, 00 meaning fully invisible.
You can also add this under OnGameModeInit to remove all player markers completely:
Код:
ShowPlayerMarkers(PLAYER_MARKERS_MODE_OFF);
Re: Invisible at Map -
biker122 - 27.04.2016
Quote:
Originally Posted by CalvinC
The last figures are the alpha transparency, 00 meaning fully invisible.
You can also add this under OnGameModeInit to remove all player markers completely:
Код:
ShowPlayerMarkers(PLAYER_MARKERS_MODE_OFF);
|
And this hides everyone from the radar. This is for EVERYONE. This cannot be used for a single player.
So if you just want to hide a single player's marker, then you gotta use SetPlayerColor with invisible color.