hi there, can someone help me? it gives me this error when i try to compile the script : Not enough actual parameters. expected 2 params.
0662: "Chat CMD by [ZesMAXIM]"
thread "Chat CMD by [ZesMAXIM]"
wait 2500
0B34: samp register_client_command "cmd" to_label @cmd_1
/////////////// FUCK YOU \\\\\\\\\\\\\\\
0B34: samp register_client_command "kc" to_label @kc
0B34: samp register_client_command "sh" to_label @sh
0B34: samp register_client_command "z" to_label @z
0B34: samp register_client_command "bc" to_label @bc
0B34: samp register_client_command "sc" to_label @sc
0AB1: call_scm_func @chatmsg 0
:SYNDER_3
wait 0
jump @SYNDER_3
:cmd_1
SAMP.IsCommandTyped(20@)
0AC6: 17@ = label @SYNDER_2 offset
SAMP.ShowDialog(7777, "Chat CMD by [ZesMAXIM]", 17@, "CLOSE", "", 0)
SAMP.CmdRet
:SYNDER_2
hex
2f 6b 69 6c 6c 63 70 0d 0a 2f 73 68 6f 70 0d 0a 2f 61 66 69 78 0d 0a 2f 62 75 79 63 72 65 64 69 74 0d 0a 2f 73 65 6c 6c 63 72 65 64 69 74
end
:kc
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/killcp"
SAMP.CmdRet()
:sh
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/shop"
SAMP.CmdRet()
:z
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/afix"
SAMP.CmdRet()
:bc
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/buycredit"
SAMP.CmdRet()
:sc
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/sellcredit"
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 "" -1
chatmsg "" -1
0AB2: ret 0
here is the code:
{$CLEO .cs}0662: "Chat CMD by [ZesMAXIM]"
thread "Chat CMD by [ZesMAXIM]"
wait 2500
0B34: samp register_client_command "cmd" to_label @cmd_1
/////////////// FUCK YOU \\\\\\\\\\\\\\\
0B34: samp register_client_command "kc" to_label @kc
0B34: samp register_client_command "sh" to_label @sh
0B34: samp register_client_command "z" to_label @z
0B34: samp register_client_command "bc" to_label @bc
0B34: samp register_client_command "sc" to_label @sc
0AB1: call_scm_func @chatmsg 0
:SYNDER_3
wait 0
jump @SYNDER_3
:cmd_1
SAMP.IsCommandTyped(20@)
0AC6: 17@ = label @SYNDER_2 offset
SAMP.ShowDialog(7777, "Chat CMD by [ZesMAXIM]", 17@, "CLOSE", "", 0)
SAMP.CmdRet
:SYNDER_2
hex
2f 6b 69 6c 6c 63 70 0d 0a 2f 73 68 6f 70 0d 0a 2f 61 66 69 78 0d 0a 2f 62 75 79 63 72 65 64 69 74 0d 0a 2f 73 65 6c 6c 63 72 65 64 69 74
end
:kc
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/killcp"
SAMP.CmdRet()
:sh
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/shop"
SAMP.CmdRet()
:z
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/afix"
SAMP.CmdRet()
:bc
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/buycredit"
SAMP.CmdRet()
:sc
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/sellcredit"
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 "" -1
chatmsg "" -1
0AB2: ret 0