Raised This Month: $ Target: $400
 0% 

get value of itime


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
faki
Senior Member
Join Date: Jul 2013
Old 11-08-2013 , 11:16   get value of itime
Reply With Quote #1

Hi,
I have this:

Code:
new iTime;
read_argv(1, iTime, sizeof iTime - 1);
I need to get value of iTime.
I try with:

Code:
new iGetTime;
if (iTime[0] == 0) { 
iGetTime = str_to_num("99999999"); 
} else { 
iGetTime = str_to_num(iTime); 
}
but not work.
I want, when iTime = 0 replace with 999999999.
Please, help.
faki 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 23:17.


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