Raised This Month: $ Target: $400
 0% 

GetClientMapTime()


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 12-29-2018 , 12:45   GetClientMapTime()
Reply With Quote #1

PHP Code:

int GetClientMapTime
(int client)
{
    
float clientTime GetClientTime(client), gameTime GetGameTime();
    
    if (
clientTime gameTime)
    {
        return 
RoundToZero(gameTime);
    }
    
    return 
RoundToZero(clientTime);

How much safer is this function? Can GetGameTime be reseted if the map is not changed?
__________________
Ilusion9 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 01:57.


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