You don't need YSI if you're using sqlite
EDIT: If you want to have command like /top [from] [to], edit the LIMIT to [to] and add OFFSET [from] after LIMIT [to] in the query, example:
That will show 5 players from 11th to 15th place
Code:
SELECT
online_time
FROM
Players
WHERE
is_online = 1
ORDER BY
online_time DESC
LIMIT 10;
EDIT: If you want to have command like /top [from] [to], edit the LIMIT to [to] and add OFFSET [from] after LIMIT [to] in the query, example:
Code:
SELECT
online_time
FROM
Players
WHERE
is_online = 1
ORDER BY
online_time DESC
LIMIT 5 OFFSET 10;
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.