31.05.2012, 15:52
Currently setting up my mysql system.
I have a bool which has to be loaded from the database, and has to be saved in, how can i do those two?
These are the lines who has to be converted in true or false.
I have a bool which has to be loaded from the database, and has to be saved in, how can i do those two?
These are the lines who has to be converted in true or false.
pawn Код:
mysql_fetch_field("Muted", savingstring); APlayerData[playerid][Muted] = strval(savingstring); //10.
mysql_fetch_field("RulesRead", savingstring); APlayerData[playerid][RulesRead] = strval(savingstring); //11.
mysql_fetch_field("SRT", savingstring); APlayerData[playerid][SRT] = strval(savingstring); //12 .
mysql_fetch_field("PSwork", savingstring); APlayerData[playerid][PSwork] = strval(savingstring); //13