Raised This Month: $ Target: $400
 0% 

get_timeleft( ) problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Honors
Member
Join Date: Jul 2011
Old 07-24-2011 , 12:55   get_timeleft( ) problem
Reply With Quote #1

Hi people,

I have a problem with get_timeleft( ) native.

My code :

Code:
#include < amxmodx > public plugin_init( ) {      register_clcmd( "say /test" , "test" ) } public test( id ) {      client_print( id , print_chat , "timeleft --> %d" , get_timeleft() ) }

When I type /test in the chat, nothing is wrote...

What is the problem in my code ?

cf funcwiki :

Quote:
Example:

new MyInt = get_timeleft()
So, this native return an int variable. (that's why I have using "%d")
Honors is offline
 



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:06.


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