Posts: 1,504
Threads: 109
Joined: Jan 2012
Alright, so I have this code which I thought it would work, but apparently it's wrong, so does anyone know how to make your enemies invisible but your teammates visible (in radar) ?
Thanks in advance
Posts: 1,504
Threads: 109
Joined: Jan 2012
I already know the function SetPlayerMarkerForPlayer, the question is where is the correct callback to use it? and how to make it work for only your enemies.
Posts: 333
Threads: 18
Joined: Jul 2010
Reputation:
0
Correct place would be OnPlayerSpawn (or when player chooses/changes team). To make it only for enemies, check their teams, and if team ids don't match, hide blip.