Quote:
Originally Posted by Groven
Any updates so it wont reset?
Edit: It's broken with ABM and sometimes don't spawn people etc.
Code:
A Survivor Bot Can't Be Spawned Right Now
|
Do you have any plugin that reset player's data?
Just like eyal282 mentioned,
The solution is that you need to create a buffer attribute
Code:
Player g_playersBuffer[MAXPLAYERS + 1];
when you see g_players[?] += ?? (or any other changes) , you need to also add g_playersBuffer[?] += ?? (or any other changes)
and the SQL statement will need to use column = column + value instead of column = value, as well as replacing g_players to g_playersBuffer. After saving it into db, g_playersBuffer[?] need to be reset.
The another problem, you can try turnning off the SpawnCI function, just comment all the codes in that block.
__________________