SetPlayerMarkerForPlayer
#1

Hi,
I was reading on the wiki while I found this piece of code;
pawn Код:
// Make the players marker invisible to the player while keeping chat colour the same. Will only work correctly if SetPlayerColor has been used:
SetPlayerMarkerForPlayer( 42, 1, ( [b]GetPlayerColor( 1 ) & 0xFFFFFF00 ) );
 
// Make the players marker fully opaque (solid) to the player while keeping chat colour the same. Will only work correctly if SetPlayerColor has been used:
SetPlayerMarkerForPlayer( 42, 1, ([b] GetPlayerColor( 1 ) | 0x000000FF ) );
Now is my question what the bold parts do, I never saw such pawno code before...
Thanks

EDIT: The parts that should have been bold xd
Reply


Messages In This Thread
[SOLVED by PowerPC603] SetPlayerMarkerForPlayer - by Nameless303 - 29.12.2010, 13:36
Re: SetPlayerMarkerForPlayer - by TopAz07 - 29.12.2010, 15:07
Re: SetPlayerMarkerForPlayer - by Nameless303 - 29.12.2010, 15:31
Re: SetPlayerMarkerForPlayer - by Nero_3D - 29.12.2010, 17:09
Re: SetPlayerMarkerForPlayer - by PowerPC603 - 29.12.2010, 18:01
Re: SetPlayerMarkerForPlayer - by Nameless303 - 29.12.2010, 19:22

Forum Jump:


Users browsing this thread: 1 Guest(s)