25.01.2018, 19:05
Is there any way to load the columns in Mysql database with a loop?
I have the following columns in the database:
I tried something like that, but I think it's got to be formatted, I do not know how.
I have the following columns in the database:
Код:
Object1, Object2, Object3, Object4, Object5
Код:
if(cache_num_rows() > 0) { for(new i=0; t < 5; i++) { cache_get_value_int(0, "Object%d", Player[playerid][Object][%d]); } }