Raised This Month: $ Target: $400
 0% 

nVault top15


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xxxnenadxxx
Junior Member
Join Date: Oct 2010
Location: Brod
Old 08-15-2013 , 21:36   nVault top15
Reply With Quote #1

Hi guys, I'm little new to pawn scripting for amxx so I hope somebody will help me I'm creating plugin for top time/online time on server using nVault include. So far I've done function and command to check time spent on server for any player and function for deleting all times, but now I want to make toptime command that will show top 15 players (online and offline) that were most on server.
This is for saving times:
Spoiler

And this is for showing how much time user spent on server:
Spoiler


I didn't use MySQL since I won't show times on webpage so please don't recommend me that. If someone can give me example how to create function for showing top 15 players that were most online (MOTD or console print), I would really appreciate it.

Last edited by xxxnenadxxx; 08-15-2013 at 21:43. Reason: typo
xxxnenadxxx is offline
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 08-16-2013 , 03:28   Re: nVault top15
Reply With Quote #2

nvault isnt the choicefor such request. You could also want to use sqlite, if you dont want do use mysql.
mottzi is offline
Send a message via MSN to mottzi
xxxnenadxxx
Junior Member
Join Date: Oct 2010
Location: Brod
Old 08-16-2013 , 06:28   Re: nVault top15
Reply With Quote #3

Then I would have to rewrite whole plugin. Is it possible to combine normal nVault and nVault Util include to create such function?
xxxnenadxxx is offline
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 08-16-2013 , 06:50   Re: nVault top15
Reply With Quote #4

Search for bugsys nvault tutorial. If I remember correctly he wrote something about reading every entry in a vault.
mottzi is offline
Send a message via MSN to mottzi
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 08-16-2013 , 07:03   Re: nVault top15
Reply With Quote #5

Its possible, with nVault or FVault.
guipatinador is offline
xxxnenadxxx
Junior Member
Join Date: Oct 2010
Location: Brod
Old 08-16-2013 , 07:19   Re: nVault top15
Reply With Quote #6

- mottzi
I found it but it didn't help, since it seems I'll have to rewrite whole plugin xD

- guipatinador
It would be nice if you give me example for nVault
xxxnenadxxx is offline
lobopack23
Senior Member
Join Date: Jun 2009
Location: California , United Stat
Old 08-20-2013 , 03:44   Re: nVault top15
Reply With Quote #7

I will be creating something like this soon..

if you havent gotten any help. I will look into making a version for myself that I can give you afterwards
sorry i cant help now..working on a big project
__________________
- Steam: Lobopack23 - Link
Contact me if you need any help with Pokemod.
- 2nd Generation Pokemod - Link
(new skills, items, and pokemons)
- Buy Xp - Link
lobopack23 is offline
xxxnenadxxx
Junior Member
Join Date: Oct 2010
Location: Brod
Old 08-22-2013 , 18:19   Re: nVault top15
Reply With Quote #8

Well it would be great (and thanks by the way), but since I realy need this, I hope that I will menage to solve it
xxxnenadxxx is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode