Player hours - 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: Player hours (
/showthread.php?tid=617337)
Player hours -
StR_MaRy - 19.09.2016
hey guys how can i make a /top10 players ?
and be like
Код HTML:
1. Name: StR_Mame - Hours Played: 23
and switch whenever a player has bigger hours like
Код HTML:
1. Name: StR_Mame - Hours Played: 23
2. Name: Nixter - Hours Played: 22
after he do 24 and i was afk or disconnected
Код HTML:
1. Name: Nixter - Hours Played: 24
2. Name: StR_Mame - Hours Played: 23
my data base info are
Код HTML:
`players` // where are the account's
Respect // is called in my DB `players` account's and pRespect in my gamemode
HoursPlayed // is called in my DB `players` account's and pHoursPlayed in my gamemode
if help's with something i want to make count for HoursPlayed if is possible
and at the end of top10 to give to that player who used /top10 something like
Код HTML:
Your position: 32 - Your HoursPlayed: 4
Re: Player hours -
Abagail - 19.09.2016
Код:
SELECT PlayerName, Respect, HoursPlayed FROM players DESC SORT BY HoursPlayed LIMIT 10
https://sampwiki.blast.hk/wiki/MySQL/R33