Raised This Month: $ Target: $400
 0% 

get_gametime + function.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jordan
Veteran Member
Join Date: Aug 2005
Old 12-13-2005 , 17:55   get_gametime + function.
Reply With Quote #1

Yeah I used the get_gametime function, and I figured that it would return the user's time in the game, right? Not so sure if it does... also, I get a number of arguments does not match definition error with this...

Code:
new Float:you = get_gametime(id)

I assumed that this would return the user's gametime, but does this return the entire server's gametime, and you can't use the id (which would explain the error). Help if you can, please + thanks
Jordan is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 12-13-2005 , 18:08  
Reply With Quote #2

Quote:
Description

- get_gametime - Returns a game time

Syntax

- Float: get_gametime ( )
Your looking for get_player_time()
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Jordan
Veteran Member
Join Date: Aug 2005
Old 12-13-2005 , 18:11  
Reply With Quote #3

AHA! You mean get_user_time but I know what you mean. Thanks!

P.S. - Is flags set at -1 ok?
Jordan is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 12-13-2005 , 18:38  
Reply With Quote #4

when its in [] those just leave it blank if you dont know what to put
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
aLpiNe^cLuBz
Member
Join Date: Dec 2005
Old 12-13-2005 , 18:59  
Reply With Quote #5

Doesn't "id" usually go in the []?
__________________
AlpineRP - Working on...
HaloMod - Working on...
aLpiNe^cLuBz is offline
Send a message via AIM to aLpiNe^cLuBz
Jordan
Veteran Member
Join Date: Aug 2005
Old 12-13-2005 , 20:05  
Reply With Quote #6

it would be
Code:
get_user_time(id)

yes

and Suicid3:

Quote:
If the flag is set, the result is returned minus the connection time.
That's what I want, which is the flags o.O - I put -1 and it compiles, but I'm not sure if it works oh well, I'll check it this weekend.

TY
Jordan is offline
Reply


Thread Tools
Display Modes

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 16:08.


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