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")