Code:
{$CLEO .cs}
0000:
:SAMP
wait 0
0B34: samp register_client_command "showtext" to_label @text
0B34: samp register_client_command "reload" to_label @reload
:blank
wait 0
jump @blank
:text
wait 0
0B35: samp 1@ = get_last_command_params
if
0AD4: $NOT_USED = scan_string 1@ format "%s" 3@ //IF and SET
jf @text
0AD1: "Text: %s" 3000 3@
SAMP.CmdRet()
:reload
wait 0
0A94: start_custom_mission "123.cs"
0A93: end_custom_thread
SAMP.CmdRet()
When I try to type any text after [/showtext -text-] and try to show it in 0AD1, it crashes.
Last edited: