Posts: 673
Threads: 45
Joined: May 2010
Reputation:
0
did you have a login/register system?
Posts: 673
Threads: 45
Joined: May 2010
Reputation:
0
you must load/save your donate files see under onplayerconnect an onplayerdisconnect
Posts: 684
Threads: 122
Joined: Jul 2011
Reputation:
0
Theres more to this as you think. Its not only adding it to the Enum
Posts: 6,129
Threads: 36
Joined: Jan 2009
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.