/top command ! - 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 ! (
/showthread.php?tid=315530)
/top command ! -
Champ - 03.02.2012
do you know any /top command filterscript, i can't find it, if not, can you post here please ?
Re: /top command ! -
Scenario - 03.02.2012
What the hell are you talking about?
Re: /top command ! -
Champ - 03.02.2012
oops sorry i forgot to explain, i need a /top cmd in which people can find who is the top killer.
Re: /top command ! -
[LoF]Zak - 03.02.2012
This depends entirely on what type of server it is, how kills are saved.
No-one can make a command for you if they have no idea what type of script/saving system you have.
It's possible for /top for until the player logs out, but that would suck hard.
Re: /top command ! -
milanosie - 03.02.2012
Give us this information:
Save System used: (dini, y_ini, mysql, sqllite, etc)
What command processor are u using/
etc.
Re: /top command ! -
Konstantinos - 03.02.2012
Just show the variable with the enum for kills and I will make it for you.
Re: /top command ! -
Champ - 03.02.2012
i am using dini register/login system
enum↓
pawn Код:
enum PlayerData
{
Registered,
LoggedIn,
Level,
Muted,
Caps,
Jailed,
JailTime,
Frozen,
FreezeTime,
Kills,
Deaths,
hours,
mins,
secs,
TotalTime,
ConnectTime,
MuteWarnings,
Warnings,
Spawned,
TimesSpawned,
Score,
God,
GodCar,
DoorsLocked,
SpamCount,
SpamTime,
PingCount,
PingTime,
BotPing,
pPing[PING_MAX_EXCEEDS],
blip,
blipS,
pColour,
pCar,
SpecID,
SpecType,
bool:AllowedIn,
FailLogin,
duty,
vip,
};
and i am using dcmd command processor
Re: /top command ! -
Konstantinos - 03.02.2012
And the variable is?
pawn Код:
new
/* Global Variable */[ MAX_PLAYERS ][ PlayerData ];
Post it here or PM me, I will make it tomorrow, I am off now!