Donator system
#1

<fixed>
Reply
#2

did you have a login/register system?
Reply
#3

<fixed>
Reply
#4

you must load/save your donate files see under onplayerconnect an onplayerdisconnect
Reply
#5

Theres more to this as you think. Its not only adding it to the Enum
Reply
#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
#7

<fixed>
Reply
#8

<fixed>
Reply
#9

no problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)