Usage: gms_instance_is_owner ( id )


Returns whether this player is responsible for syncing the instance to all other players. See server_team_player_is_friend for an example.

Replies (2)

Last message on 6 Sep 2016

Aaron13ps on 29 Aug 2016, 16:11:11
To clarify, does this mean that imputing "gms_instance_is_owner(id)" will return true if the instance was created originally on the current client and false if created by a different client?
Size43 (Administrator) on 6 Sep 2016, 21:11:51
If you're not using gms_instance_handover, then yes. The owner might also switch if the original owner leaves the room or quits the game.