Raised This Month: $ Target: $400
 0% 

Solved Played Time Counter


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BerkayF
Junior Member
Join Date: Jun 2020
Old 07-18-2022 , 16:15   Re: Played Time Counter
Reply With Quote #1

Quote:
Originally Posted by lexzor View Post
PHP Code:
public client_disconnect(id)
{
    
SavePlayed(id)
    
    
played_time_day[id] = 0
    played_time_hour
[id] = 0
    played_time_minute
[id] = 0
    played_time_second
[id] = 0

to
PHP Code:
#if AMXX_VERSION_NUM < 183
public client_disconnect(id)
#else 
public client_disconnected(id)
#endif
{
    
SavePlayed(id)
    
    
played_time_day[id] = 0
    played_time_hour
[id] = 0
    played_time_minute
[id] = 0
    played_time_second
[id] = 0
    remove_task
(id);

anyways the plugin is really bad

Thank you, but it's bad that you call my plugin bad >
BerkayF 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:36.


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