gms_settings_declare_syncable_object

Gebruik: gms_settings_declare_syncable_object ( object_index )

Omschrijving

This script must be called before gms_settings. It must be called exactly once for each object that might be used in a call to gms_instance_sync.

The extension will now refuse to sync objects that have not been declared with this method. If you do not call this script for all objects that will be synced, you might notice that they don't appear on other clients. In such a case, calling this function with the object as the first argument might fix this.

Voorbeeld

gms_settings_declare_syncable_object(obj_bullet)
gms_settings_declare_syncable_object(obj_npc)
gms_settings(...)

Reacties (0)

Laatste bericht op 30 May 2021