Hi I have a problem here
brasilis,232,322,5 script Class S na Halimaw 897,{
query_sql "SELECT `char`.`name`,CAST(`value` AS UNSIGNED) " +
"FROM global_reg_value " +
"LEFT JOIN `char` ON global_reg_value.char_id=`char`.char_id " +
"WHERE global_reg_value.`str`='class_s' " +
"ORDER BY CAST(`value` AS UNSIGNED) DESC LIMIT 20",.@aid$,.@var;
mes "[Class-S na Halimaw]";
for (set .@i,0; .@i<8; set .@i,.@i+1) {
mes (.@i+1) +". ^0000FF"+ .@aid$[.@i] +"^000000 ["+ .@var[.@i] +"]";
close;
}
end;
}
The ladder is just showing 1 player, it should show at least 8 but I dont how to do it. I tried but fail
please help.