firedihm Posted April 1, 2021 Share Posted April 1, 2021 Is there any way to convert an int to string in CLEO? Link to comment Share on other sites More sharing options...
ZAZ Posted April 1, 2021 Share Posted April 1, 2021 0AD3: [email protected] = format "%d" [email protected] example: {$CLEO .cs} :INT_2_STRING thread 'ISTRING' wait 2000 0@ = 13 0AD3: 16@v = format "%d" 0@ 0ADF: add_dynamic_GXT_entry "test" text 16@v 00BA: text_styled 'test' 2000 ms 4 0A93: terminate_this_custom_script firedihm 1 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
firedihm Posted April 2, 2021 Author Share Posted April 2, 2021 11 hours ago, ZAZ said: 0AD3: [email protected] = format "%d" [email protected] example: {$CLEO .cs} :INT_2_STRING thread 'ISTRING' wait 2000 0@ = 13 0AD3: 16@v = format "%d" 0@ 0ADF: add_dynamic_GXT_entry "test" text 16@v 00BA: text_styled 'test' 2000 ms 4 0A93: terminate_this_custom_script Since it's a CLEO4 opcode, I assume it's not available for 3/VC? At least that's what OpcodeDB says Link to comment Share on other sites More sharing options...
ZAZ Posted April 2, 2021 Share Posted April 2, 2021 cleo4 opcode, yes, not available for sa cleo3 in vcscm.ini is it available as CLEO 2.0 opcode firedihm 1 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now