Hey,
Is it possible to convert string to integer in CoD2 using stock functions ?
Here is example using Java, hope it is similar in CoD2.
Thanks in advance,PHP Code:
String string = "1234";
int num = Integer.parseInt(string);
Jeplaa
Hey,
Is it possible to convert string to integer in CoD2 using stock functions ?
Here is example using Java, hope it is similar in CoD2.
Thanks in advance,PHP Code:
String string = "1234";
int num = Integer.parseInt(string);
Jeplaa
http://znation.nl/cod4script/int.htm
Int( <value> )
Module: Math
Summary:
Casts a floating point number or a string to an integer
Example:
x = Int( self.HUDHealthHeight );
Required Args:
1 : <value> A string or floating point number to cast to an integer
Jeplaa (24th February 2014)
Jeplaa (24th February 2014)
Ohh got it, tried this function but made fault in code