Ban(playerid); Reseting Enum File?
#1

Why is the Ban(playerid); function reseting the "Account" enum file values? Resets score/levels and everything

I dnt even use ban in my enum??

Any answers? Happen to you?? Avoidable?


EDIT: Is it because i set all values to 0 OnPlayerConnect and load on /login? And when they try login after ban it sets to 0 because they connect for that split second? lol?
Reply
#2

It is because when they connect it sets it to 0. It saves that to the file and doesn't do anything to load back the data.
Reply
#3

i see xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)