27.05.2014, 13:37
An easier way of writing this, just for piece of mind, is:
This will change the alpha values to '00', hence making it a transparent marker.
Example of its usage:
This could be used in a command such as /invisible, which would make your map marker invisible to others.
This would do the opposite and make the alpha values 'FF', hence your marker being full color and no transparency again. Like a /visible command.
pawn Code:
GetPlayerColor(playerid) & (0xFFFFFF00);
Example of its usage:
pawn Code:
SetPlayerColor(playerid, GetPlayerColor(playerid) & (0xFFFFFF00));
pawn Code:
SetPlayerColor(playerid, GetPlayerColor(playerid) & (0xFFFFFFFF));