/top command help (using JAKE ADMIN SYSTEM!!!) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /top command help (using JAKE ADMIN SYSTEM!!!) (
/showthread.php?tid=655905)
/top command help (using JAKE ADMIN SYSTEM!!!) -
GameOvr - 02.07.2018
Hello guys im a noob scripter so i request help from you guys... so the problem is i wanna make a /top command. (i have jake admin system so all the players' data saves in a .db file)plz help me with that,
Ex:- When player types /top he receives a dialog style message with these topics,(i need only 3 i can make others if u guys give me an example code)
Score
Kills
Ratio, so lets think the player click on score then he will recieve best 100 scores with the relevent player name. THANKS IM WAITING FOR REPLIES PLZ HELP
Note:im using zcmd
Re: /top command help (using JAKE ADMIN SYSTEM!!!) -
Jochemd - 02.07.2018
Use OnDialogResponse and check if the listitem matches 0 (Score), 1 (Kills) or 2 (Ratio). Then give them the relevant item.
Re: /top command help (using JAKE ADMIN SYSTEM!!!) -
GameOvr - 03.07.2018
Thank you sir, but if you can plz show me an example code (even for score only)