08.06.2015, 11:13
Sorry but I'm good at PAWNO. I had Y_INI and now I want to converting into MYSQL.
If I have to store a variable that number is 50, I CAN'T create by manual 50 columns and I want to do it by pawno. So please, post an example post.. so I can understand, thank you.
With Y_INI to store 50 variables, I did:
If I have to store a variable that number is 50, I CAN'T create by manual 50 columns and I want to do it by pawno. So please, post an example post.. so I can understand, thank you.
With Y_INI to store 50 variables, I did:
PHP код:
for(new num = 0; num < sizeof(Water); num++)
{
new string[150];
format(string, sizeof(string), "Water_%d", num);
INI_WriteInt(string, PlayerInfo[playerid][Water][num]);
}