Punisher said:BUMP?
Heisenbergi said:How i use this to active others mod? When i put the comand on bind he just send no chat not active commands. I need the /rcc active a mod not send in chat, anyone help-me?
{$CLEO .cs}
0000:
thread "KeyBind"
0B34: samp register_client_command "akb" to_label @cmd
0@ = 0
/// wait 1000 - 1 seconds
/// wait 30000 - 3 minutes
//////
:MAIN
wait 0
if
0@ == 1
then
wait 360000 /// You can change time
0AF9: samp say_msg "/pescar"
end
if
0@ == 1
then
wait 90000 /// Pause before moving on to the next ad - 5seconds
end
//////
if
0@ == 1
then
wait 10 /// You can change time
0AF9: samp say_msg "/RCC"
end
SAMP.CmdRet()
jump @MAIN
:CMD
wait 0
if
056D: actor $PLAYER_ACTOR defined
then
0B12: 0@ = 0@ XOR 1
if
0@ == 1
then
0ACD: show_text_highpriority "Auto Key Bind: ~g~ON~w~" time 1500
else
0ACD: show_text_highpriority "Auto Key Bind: ~r~OFF~w~" time 1500
end
end
SAMP.CmdRet()
jump @MAIN
Work, Thank youMalchik said:Heisenbergi said:How i use this to active others mod? When i put the comand on bind he just send no chat not active commands. I need the /rcc active a mod not send in chat, anyone help-me?
{$CLEO .cs}
0000:
thread "KeyBind"
0B34: samp register_client_command "akb" to_label @cmd
0@ = 0
/// wait 1000 - 1 seconds
/// wait 30000 - 3 minutes
//////
:MAIN
wait 0
if
0@ == 1
then
wait 360000 /// You can change time
0AF9: samp say_msg "/pescar"
end
if
0@ == 1
then
wait 90000 /// Pause before moving on to the next ad - 5seconds
end
//////
if
0@ == 1
then
wait 10 /// You can change time
0AF9: samp say_msg "/RCC"
end
SAMP.CmdRet()
jump @MAIN
:CMD
wait 0
if
056D: actor $PLAYER_ACTOR defined
then
0B12: 0@ = 0@ XOR 1
if
0@ == 1
then
0ACD: show_text_highpriority "Auto Key Bind: ~g~ON~w~" time 1500
else
0ACD: show_text_highpriority "Auto Key Bind: ~r~OFF~w~" time 1500
end
end
SAMP.CmdRet()
jump @MAIN
use this 0C8F: samp process_chat_input "/rcc"
Aasaad said:is it possible to make the activation button a key/button?
Parazitas said:Aasaad said:is it possible to make the activation button a key/button?
Yes!
IF ANDAasaad said:Parazitas said:Aasaad said:is it possible to make the activation button a key/button?
Yes!
how? i got a cleo to make the activation with a button
Punisher said:[font=arial,sans-serif]Sorry for put this here, but the request cleo forum is locked I can not put the subject. In this script, when I compile out, throw out "Not enough actual parameters. Expected 1 params".[/font]
Code:{$CLEO .cs} 0000: while true wait 0 if key_down (53) then 0AF9: samp say_msg "/buyhouse" wait 500 end if key_down (53) then 0AF9: samp say_msg "/buyhouse" wait 500 end if key_down (53) then 0AF9: samp say_msg "/buyhouse" wait 500 end if key_down (53) then 0AF9: samp say_msg "/buyhouse" wait 500 end end
{$CLEO .cs}
0000:
repeat
wait 0 /// wait until samp is read...
until 0afa:
while true
wait 0
if
key_down 53 {5 Key}
then
0AF9: samp say_msg "/buyhouse"
wait 500
end
if
key_down 53 {5 Key}
then
0AF9: samp say_msg "/buyhouse"
wait 500
end
if
key_down 53 {5 Key}
then
0AF9: samp say_msg "/buyhouse"
wait 500
end
if
key_down 53 {5 Key}
then
0AF9: samp say_msg "/buyhouse"
wait 500
end
end
Aasaad said:can you edit it for me? I tried it doesn't seem to work, I seem to be doing something wrong, Can you set the activation to Numpad +
Malchik said:Aasaad said:can you edit it for me? I tried it doesn't seem to work, I seem to be doing something wrong, Can you set the activation to Numpad +
I think it needs more allocated memory, or it contains a bad loop, dunnoAasaad said:Malchik said:Aasaad said:can you edit it for me? I tried it doesn't seem to work, I seem to be doing something wrong, Can you set the activation to Numpad +
SAMP gets bugged when I use it, it shows gambling skill + when i login and the graphics get glitchy.
bmuresan2003 said:Can you make it stop after the 5 auto commands finished? quote me, ty.