How to let objects invisible in enemies'clients (just me and my team can see)~ Or some statements in event draw which enemies can't see~O~
P/S : I;m not good at English.~~~
Let see my pic:https://drive.google.com/open?id=0By9bnEaS0md_c2lvNVp6UXdrZzg
if gms_team_player_is_friend(owner) { // Draw things }
"owner" is a special variable that's set on all synchronised instances. It contains the playerID of the player that created the instance. gms_team_player_is_friend can then be used to check if this player is on the same team as you.