gms_instance_created_by_sync

Usage: gms_instance_created_by_sync ( )

Description

Returns whether the event executed is caused by an instance synchronization. The only event that can be caused by a synchronization is the Create Event.

Example

//To prevent an instance from syncing itself when it's created on another client, the instance is only synced when it's not created because of a synchronization.

if(!gms_instance_created_by_sync())
{
    gms_instance_sync(id)
}

Replies (6)

Last message on 6 Apr 2015

amkgames on 5 Apr 2015, 21:31:06
I can't find is_full in documentation.
Size43 (Administrator) on 6 Apr 2015, 11:18:15
Please see gms_instance_sync
amkgames on 6 Apr 2015, 11:35:57
When i clicked this link i got this error:
Error
A fatal unknown error has occurred. No more information is available. Please contact the administrator if this problem persists.
Size43 (Administrator) on 6 Apr 2015, 11:38:15
Seems to work fine for me. Please try logging out and in again if you're logged in.
amkgames on 6 Apr 2015, 11:41:30
Ok its fixed when i clicked again.
amkgames on 6 Apr 2015, 11:34:57
Thanks :)