Donator system
#6

As long as you add the variable to your enum, reset the value when a player connects (from the old variable), load the value when a player connects and save it when they disconnect, you're fine.

Most file systems will add the new 'donator' variable you've made when you save the character's file from your SA-MP server, if you add your variable to the saving sequence.
Reply


Messages In This Thread
Donator system - by Kingunit - 02.08.2011, 17:24
Re: Donator system - by Tigerkiller - 02.08.2011, 17:28
Re: Donator system - by Kingunit - 02.08.2011, 17:31
Re: Donator system - by Tigerkiller - 02.08.2011, 17:35
Re: Donator system - by Shockey HD - 02.08.2011, 17:36
Re: Donator system - by Calgon - 02.08.2011, 17:42
Re: Donator system - by Kingunit - 02.08.2011, 18:25
Re: Donator system - by Kingunit - 02.08.2011, 18:38
Re: Donator system - by Tigerkiller - 02.08.2011, 18:52

Forum Jump:


Users browsing this thread: 3 Guest(s)