This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[CS:GO] Pay for VIP Time plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bebe9b
Veteran Member
Join Date: May 2009
Location: Romania
Old 10-14-2015 , 13:05   [CS:GO] Pay for VIP Time plugin
Reply With Quote #1

I want a plugin for VIP to track time, like this



Vip1 - 50h
Vip2 - 150h
.....

Pay, who can help me.
Attached Thumbnails
Click image for larger version

Name:	c6f62fcdbc2a7dc82eece63ed0fdd839.png
Views:	180
Size:	90.1 KB
ID:	148885  
__________________
respecta si vei fi respectat

Last edited by bebe9b; 10-14-2015 at 13:11.
bebe9b is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 10-14-2015 , 14:03   Re: [CS:GO] Pay for VIP Time plugin
Reply With Quote #2

Don't pay, I'm sure a such plugin already exist, I think we do have everything on Alliedmodders.
__________________
Want to check my plugins ?
Arkarr is offline
lay295
Senior Member
Join Date: Sep 2013
Old 10-14-2015 , 14:39   Re: [CS:GO] Pay for VIP Time plugin
Reply With Quote #3

https://forums.alliedmods.net/showthread.php?p=1338942
__________________

lay295 is offline
bebe9b
Veteran Member
Join Date: May 2009
Location: Romania
Old 10-14-2015 , 15:30   Re: [CS:GO] Pay for VIP Time plugin
Reply With Quote #4

Is not same, i want only to track the time (not to give rank for time).
__________________
respecta si vei fi respectat
bebe9b is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 10-14-2015 , 16:09   Re: [CS:GO] Pay for VIP Time plugin
Reply With Quote #5

Quote:
Originally Posted by bebe9b View Post
Is not same, i want only to track the time (not to give rank for time).
Sooooo, just record the time that the player spend on your server right ? I can do that.
__________________
Want to check my plugins ?
Arkarr is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 10-14-2015 , 18:08   Re: [CS:GO] Pay for VIP Time plugin
Reply With Quote #6

On client connect, record time stamp of join, and on client disconnect, record time stamp of disconnection.

Subtract the 2 to get the total number of seconds spent.

Insert that into a database.

The !time command would just query the database and print back the result.

This can all be done on sqlite too.
Potato Uno 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 13:00.


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