13.09.2016, 10:18
Hello, I have a table, it is a log table, (used to see some logs in the server), anyway, I've made a command in-game to view the newest 10 inserted rows into this table, how will the "for" function be?
Can it be like this?
Can it be like this?
PHP код:
cache_get_row_count();
new count = cache_get_row_count();
for(new i = count-1; i = count-11; i--)
{
SCM(i, -1, "hi");
}
return 1