21.04.2016, 18:31
Basically I coded this INI user file system and these are the variables it creates/saves
Password
Cash
Admin
VIP Level
Took Tutorial
But the thing is , everytime a player disconnects the user file repeats the VIP Level and Took Tutorial variables and saves them so the files looks like
[data]
Password = 199754503
Cash = 0
Admin = 0
V.I.P Level = 0
Took Tutorial = 0
Score = 0
V.I.P Level = 0
Took Tutorial = 1
V.I.P Level = 0
Took Tutorial = 1
it says took tutorial = 1 because after registration you enter tutorial so after that it stays as 1 but the thing is about spamming it, why does it do that
Password
Cash
Admin
VIP Level
Took Tutorial
But the thing is , everytime a player disconnects the user file repeats the VIP Level and Took Tutorial variables and saves them so the files looks like
[data]
Password = 199754503
Cash = 0
Admin = 0
V.I.P Level = 0
Took Tutorial = 0
Score = 0
V.I.P Level = 0
Took Tutorial = 1
V.I.P Level = 0
Took Tutorial = 1
it says took tutorial = 1 because after registration you enter tutorial so after that it stays as 1 but the thing is about spamming it, why does it do that