Invisible at Map
#1

How to make Player Invisible at Map ?
I Think use SetPlayerMarkerForPlayer thats Right ?
I'm not sure ... :/
Reply
#2

This is an invisible colour. Makes your nametag white, and hides you from the RADAR (Map aswell).
pawn Код:
SetPlayerColor(playerid, 0xFFFFFF00);
Reply
#3

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

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)