12.03.2014, 17:04
Hi,
I am trying to make this...
When someone register on server, it will set regplayers++; but i dont know how to open INI file to load number on variable regplayers. If you know what i mean xD
Now i don't know how to load that file on OnGameModeInit...if server doesn't load it, it will start counting from 0.
BTW Check is this right what i wrote in code.
I am trying to make this...
When someone register on server, it will set regplayers++; but i dont know how to open INI file to load number on variable regplayers. If you know what i mean xD
Код:
new INI:R = INI_Open("regplayers"); regplayers++; INI_SetTag(R,"Reg"); INI_WriteInt(R, "regpl", regplayers); INI_Close®;
BTW Check is this right what i wrote in code.