Permanent Server Variables

Posted by TypicalAndy
So, I wanna make it like if i press a button a variable will change it will stay permanent and players should have the same variable too, hows that possible?

Replies (1)

Last message on 3 Jun 2018

Size43 (Administrator) on 3 Jun 2018, 09:34:13
If you want per-player variables, use gms_self_set.

If you want per-session variables, use gms_global_set.

If you want 'variables' that are the same across all sessions, use GameINIs.