CLEO Help Store > 16 bytes in strings

CLEO related
Status
Not open for further replies.

wavelengthzero

Active member
Joined
Feb 18, 2014
Messages
45
Reaction score
0
Is it possible to store more than 16 bytes to a string,  or could I split it into multiple variables then recombine them? For example a YouTube link which is 43 bytes. 

I have no idea where to go from here:
Code:
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP 
thread "play" 
0B34: samp register_client_command "play" to_label @Label90 
0@ = 0 

:p30
wait 0 
if 
  0@ == 1 
else_jump @Label30 
say "/radio 6t.pe/?%s" 3@v 
0@ = 0 
jump @Label30 

:Label90
wait 0 
   SAMP.IsCommandTyped(1@)
if 
0AD4: 2@ = scan_string 1@ format "%s" 3@v  
else_jump @Label30 
0@ = 1 
SAMP.CmdRet
jump @Label30
 
Status
Not open for further replies.
Top