Help Dialog Box.

Status
Not open for further replies.

ZyZ.MaxiM

Active member
Joined
Nov 14, 2022
Messages
31
Solutions
2
Reaction score
1
I just made a CMD for my server, and i dont know why but at the end of the dialog box is says "5[][][]", can someone help me?sa-mp-024.png

here is the code:
{$CLEO}

0662: "Samp CMD by ZesMAXIM"
thread "Version 1.0"
wait 2500
0B34: samp register_client_command "helpcmd" to_label @cmd_1
0B34: samp register_client_command "bcd" to_label @cmd_2
0B34: samp register_client_command "slc" to_label @cmd_3
0B34: samp register_client_command "cs" to_label @cmd_4
0B34: samp register_client_command "sh" to_label @cmd_5
0B34: samp register_client_command "jb" to_label @cmd_6
0B34: samp register_client_command "emote" to_label @cmd_7
0B34: samp register_client_command "st" to_label @cmd_8
0B34: samp register_client_command "oc" to_label @cmd_9
0B34: samp register_client_command "bc" to_label @cmd_10
0B34: samp register_client_command "gt" to_label @cmd_11
0B34: samp register_client_command "je" to_label @cmd_12
0B34: samp register_client_command "luck" to_label @cmd_13

0AB1: call_scm_func @chatmsg 0

:SYNDER_3
wait 0
jump @SYNDER_3

:cmd_1
SAMP.IsCommandTyped(0@)
0AC6: 17@ = label @SYNDER_2 offset
SAMP.ShowDialog(7777, "CMD by ZesMAXIM", 17@, "Close", "", 0)
SAMP.CmdRet

:SYNDER_2
hex
2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 20 46 55 43 4b 20 59 4f 55 20 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 5c 0d 0a 2f 62 63 64 20 2d 20 43 75 6d 70 65 72 69 20 63 72 65 64 69 74 65 20 63 61 73 69 6e 6f 2e 0d 0a 2f 73 6c 63 20 2d 20 56 69 6e 7a 69 20 63 72 65 64 69 74 65 20 63 61 73 69 6e 6f 2e 0d 0a 2f 63 73 20 2d 20 56 65 7a 69 20 70 72 6f 67 72 65 73 20 69 6e 20 63 6c 61 6e 2e 0d 0a 2f 73 68 20 2d 20 53 70 61 72 67 65 20 70 72 65 6d 69 75 6d 20 70 6f 69 6e 74 73 2e 0d 0a 2f 6a 62 20 2d 20 56 65 7a 69 20 63 61 74 20 61 69 20 6d 75 6e 63 69 74 20 70 65 6e 74 72 75 20 6a 6f 62 67 6f 61 6c 2e 0d 0a 2f 65 6d 6f 74 65 20 2d 20 56 69 6e 7a 69 20 65 6d 6f 74 65 20 63 72 61 74 65 2e 0d 0a 2f 73 74 20 2d 20 56 65 7a 69 20 73 74 61 74 69 73 74 69 63 69 6c 65 20 63 6f 6e 74 75 6c 75 69 2e 0d 0a 2f 6f 63 20 2d 20 44 65 73 63 68 69 7a 69 20 63 72 61 74 65 2e 0d 0a 2f 62 63 20 2d 20 43 75 6d 70 65 72 69 20 63 72 61 74 65 2e 0d 0a 2f 67 74 20 2d 20 50 72 69 6d 65 73 74 69 20 63 61 64 6f 75 2e 0d 0a 2f 6a 65 20 2d 20 50 61 72 74 69 63 69 70 69 20 6c 61 20 65 76 65 6e 74 20 66 61 63 75 74 20 64 65 20 61 64 6d 69 6e 69 0d 0a 2f 6c 75 63 6b 20 2d 20 50 61 72 74 69 63 69 70 69 20 6c 61 20 4c 75 63 6b 79 20 46 69 73 68 65 72 6d 61 6e 0d 0a
end


:cmd_2
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/buycredit"
SAMP.CmdRet()

:cmd_3
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/sellcredit"
SAMP.CmdRet()

:cmd_4
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/clanstats"
SAMP.CmdRet()

:cmd_5
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/shop"
SAMP.CmdRet()

:cmd_6
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/jobgoal"
SAMP.CmdRet()

:cmd_7
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/sellemotecrate"
SAMP.CmdRet()

:cmd_8
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/stats"
SAMP.CmdRet()

:cmd_9
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/opencrate"
SAMP.CmdRet()

:cmd_10
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/buycrate"
SAMP.CmdRet()

:cmd_11
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/getgift"
SAMP.CmdRet()

:cmd_12
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/tpevent"
SAMP.CmdRet()

:cmd_13
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/joinlucky"
SAMP.CmdRet()

:chatmsg
0AA2: 0@ = load_library "samp.dll" // IF and SET
0085: 1@ = 0@ // (int)
1@ += 2203876
0A8D: 3@ = read_memory 1@ size 4 virtual_protect 1
0085: 2@ = 0@ // (int)
2@ += 409616
chatmsg "Chat CMD by ZesMAXIM [version 1.0]" -1
chatmsg "#$#$#$#$#$ FUCK YOU #$#$#$#$#$" -1
0AB2: ret 0
 

JaggerJam

Active member
Joined
Sep 14, 2017
Messages
98
Solutions
1
Reaction score
21
1715106670415.png
Add 00 here after 0a and the problem will be solved. It tells that here the string ends.
 
Solution
Status
Not open for further replies.
Top