Player hours
#1

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
Reply
#2

Код:
SELECT PlayerName, Respect, HoursPlayed FROM players DESC SORT BY HoursPlayed LIMIT 10
https://sampwiki.blast.hk/wiki/MySQL/R33
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)