16.08.2011, 20:40
Hi!
On the wiki, there's the following code:
I tried it, but it doesn't work.
The function itself definitively works and I doubt that there's a bug in my code.
I simply set the color of the player and used SetPlayerMarkerForPlayer as seen above.
And ideas? Is it possible, that this doesnt work anymore?
Thanks in advance!
On the wiki, there's the following 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, ( GetPlayerColor( 1 ) & 0xFFFFFF00 ) );
The function itself definitively works and I doubt that there's a bug in my code.
I simply set the color of the player and used SetPlayerMarkerForPlayer as seen above.
And ideas? Is it possible, that this doesnt work anymore?
Thanks in advance!