Jump to content

Sanny builder problema la compilare.


KAGE
 Share

Recommended Posts

Am si eu nevoie de ajutor, imi tot da o eroare ”Not enough actual parameters. Expected 2 params.” si am duce acolo la :cmd_1 mai exact                                     ->SAMP.IsCommandTyped(0@)<- aici,ma poate ajuta cnv?

 

 

{$CLEO}
 
0662: "LS S.I HElper by [K]AG[E] v1.1"
thread "LS S.I HElper by [K]AG[E] v1.1" 
wait 2500 
0B34: samp register_client_command "/sih" to_label @cmd_1
0B34: samp register_client_command "/sall" to_label @cmd_2

0AB1: call_scm_func @chatmsg 0 

:SYNDER_3
wait 0 
jump @SYNDER_3

 :cmd_1
SAMP.IsCommandTyped(0@)
  0AC6: 0@ = label @SYNDER_2 offset 
SAMP.ShowDialog(7777, "LS S.I HElper", 17@, "Close", "", 0)
SAMP.CmdRet

:SYNDER_2
hex
2f 73 61 6c 6c 20 2d 20 53 61 6c 75 74 69 20 6d 65 6d 62 72 69 20 64 69 6e 20 63 6c 61 6e
end


 :cmd_2
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Salut!"
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 "LS S.I HElper by[K]AG[E] is on" -1
chatmsg "Foloseste [/sih] pentru informatii." -1
0AB2: ret 0

Link to comment
Share on other sites

Salut,

 

Incearca varianta asta

:cmd_1
0AC6: 0@ = label @SYNDER_2 offset 
SAMP.ShowDialog(7777, "LS S.I HElper", 0@, "Close", "", 0)
SAMP.CmdRet

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.