Quote:
Originally Posted by Konstantinos
- Pozicija and Interijer arrays are floats, not integers (INI_WriteFloat).
- They're also arrays so you have to save each index separate (for example):
pawn Код:
INI_WriteFloat(bFile, "Pozicija_X", BiznisInfo[i][Pozicija][0]); INI_WriteFloat(bFile, "Pozicija_Y", BiznisInfo[i][Pozicija][1]); INI_WriteFloat(bFile, "Pozicija_Z", BiznisInfo[i][Pozicija][2]);
- There is absolutely no reason to save label IDs.
- Why do you save them under OnPlayerDisconnect instead of OnGameModeExit (as it should be)?
|
Ok. IDK why am I saving it under OnPlayerDisconnect. I mean every other system like: Job system,register system in my script have been saved under onplayerdisconnect.