Raised This Month: $51 Target: $400
 12% 

[REQ/HELP]nVault Play Time Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 02-02-2018 , 10:01   [REQ/HELP]nVault Play Time Plugin
Reply With Quote #1

Hello,

Guys help me need 1 players play time plugin on nvault. Means /pt to i can see my playtime on server
and if possible /toppt15 it will show top15 playtime.

Thank You
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
Mixtaz
Junior Member
Join Date: Sep 2017
Old 02-02-2018 , 10:15   Re: [REQ/HELP]nVault Play Time Plugin
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=201869

this might suffice your need - I'm using it by myself and can't complain so far.

But 2 things: don't forget to connect it with your MySQL and add HLTV to exceptions, so it's time won't be counted on the top15 playtime.

@edit: oh I just realized you want it for nVault, well then you might as well reconvert it from the scratch, which is possible, but I don't think anyone is willing to do that due to fact there is a lot of to work at.

Last edited by Mixtaz; 02-02-2018 at 10:19.
Mixtaz is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 02-02-2018 , 21:21   Re: [REQ/HELP]nVault Play Time Plugin
Reply With Quote #3

i need nVault edition plz any one make it idk Nvault and Playtime
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
ish12321
Veteran Member
Join Date: May 2016
Old 02-03-2018 , 00:13   Re: [REQ/HELP]nVault Play Time Plugin
Reply With Quote #4

Quote:
Originally Posted by soumyadip77 View Post
i need nVault edition plz any one make it idk Nvault and Playtime
Any reason for not using whats already there but getting someone to make the same again?
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-03-2018 , 12:20   Re: [REQ/HELP]nVault Play Time Plugin
Reply With Quote #5

Top 15 will take some extra work. I recommend SQL if any type of querying/ordering is needed.
__________________

Last edited by Bugsy; 02-03-2018 at 12:21.
Bugsy is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 02-03-2018 , 22:22   Re: [REQ/HELP]nVault Play Time Plugin
Reply With Quote #6

Quote:
Originally Posted by Bugsy View Post
LOVE U BUGSY <3

This plugin working fine for me you help me all time

Thank YOU
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 02-04-2018 , 10:05   Re: [REQ/HELP]nVault Play Time Plugin
Reply With Quote #7

https://forums.alliedmods.net/showpo...23&postcount=9

how to can i add hours and days tell me plz on this plugin
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-04-2018 , 10:26   Re: [REQ/HELP]nVault Play Time Plugin
Reply With Quote #8

PHP Code:
FormatTimeiSeconds szBuffer[] , iSize )
{
    new 
iPos;
    
    new 
iDays iSeconds 86400;
    
iSeconds -= iDays 86400;
    
    new 
iHours iSeconds 3600;
    
iSeconds -= iHours 3600;
    
    new 
iMinutes iSeconds 60;
    
iSeconds -= iMinutes 60;
    
    if ( 
iDays )
        
iPos formatexszBuffer iSize "%d day%s, " iDays iDays "s" "" );
    
    if ( 
iHours )
        
iPos += formatexszBufferiPos ] , iSize-iPos "%d hour%s, " iHours iHours "s" "" );
        
    if ( 
iMinutes )
        
iPos += formatexszBufferiPos ] , iSize-iPos "%d minute%s, " iMinutes iMinutes "s" "" );
        
    
szBufferiPos ] = EOS;
    
    return 
iPos;

__________________
Bugsy is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 02-04-2018 , 22:51   Re: [REQ/HELP]nVault Play Time Plugin
Reply With Quote #9

Quote:
Originally Posted by Bugsy View Post
PHP Code:
FormatTimeiSeconds szBuffer[] , iSize )
{
    new 
iPos;
    
    new 
iDays iSeconds 86400;
    
iSeconds -= iDays 86400;
    
    new 
iHours iSeconds 3600;
    
iSeconds -= iHours 3600;
    
    new 
iMinutes iSeconds 60;
    
iSeconds -= iMinutes 60;
    
    if ( 
iDays )
        
iPos formatexszBuffer iSize "%d day%s, " iDays iDays "s" "" );
    
    if ( 
iHours )
        
iPos += formatexszBufferiPos ] , iSize-iPos "%d hour%s, " iHours iHours "s" "" );
        
    if ( 
iMinutes )
        
iPos += formatexszBufferiPos ] , iSize-iPos "%d minute%s, " iMinutes iMinutes "s" "" );
        
    
szBufferiPos ] = EOS;
    
    return 
iPos;

I cant understand how to add on playtime plugin this one

https://forums.alliedmods.net/showpo...23&postcount=9
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 02-05-2018 , 07:29   Re: [REQ/HELP]nVault Play Time Plugin
Reply With Quote #10

hELP PLZ
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
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 12:18.


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