Guel
Member
^0::
Loop, 5000
{
Send, t/mi {enter}
Sleep, 5000
}
return
Loop, 5000
{
Send, t/mi {enter}
Sleep, 5000
}
return
What version of samp do you use?^0::
Loop, 5000
{
Send, t/mi {enter}
Sleep, 5000
}
return
0.3.7 sirWhat version of samp do you use?
Without Sampfuncs:0.3.7 sir
{$CLEO .cs}
0000: NOP
REPEAT
WAIT 1000
0A8D: 0@ = readMem 0xC8D4C0 sz 4 vp 0
UNTIL 0@ == 9 // SAMP_IS_READY
0AC8: 1@ = allocate_memory_size 260
0AD3: 1@ = format "/mi"
while true
wait 5000
0AB1: @SEND_CMD 1 text 1@
end
:SEND_CMD
{
0AB1: @SEND_CMD 1 text 0@
0.3.7 - R1
}
IF 0AA2: 1@ = "samp.dll"
THEN
1@ += 0x65C60
0AA5: call 1@ num_param 1 pop 0 0@
END
0AB2: 0
Thanks mate, is there anything I can do to make it stop?Without Sampfuncs:
PHP:{$CLEO .cs} 0000: NOP REPEAT WAIT 1000 0A8D: 0@ = readMem 0xC8D4C0 sz 4 vp 0 UNTIL 0@ == 9 // SAMP_IS_READY 0AC8: 1@ = allocate_memory_size 260 0AD3: 1@ = format "/mi" while true wait 5000 0AB1: @SEND_CMD 1 text 1@ end :SEND_CMD { 0AB1: @SEND_CMD 1 text 0@ 0.3.7 - R1 } IF 0AA2: 1@ = "samp.dll" THEN 1@ += 0x65C60 0AA5: call 1@ num_param 1 pop 0 0@ END 0AB2: 0
Some snippets from @Parazitas and @springfield
pressing f2:Thanks mate, is there anything I can do to make it stop?
{$CLEO .cs}
0000: NOP
REPEAT
WAIT 1000
0A8D: 0@ = readMem 0xC8D4C0 sz 4 vp 0
UNTIL 0@ == 9 // SAMP_IS_READY
0AC8: 1@ = allocate_memory_size 260
0AD3: 1@ = format "/mi"
31@ = 0
while true
wait 0
if 0AB0: is_key_pressed 113 //F2
then
if 31@ == 0
then
31@ = 1
32@ = 0 //initialize timer
0ACD: show_text_highpriority "~g~Activated" time 1000
else
31@ = 0
0ACD: show_text_highpriority "~r~Desactivated" time 1000
end
wait 1000
end
if and
31@ == 1
32@ >= 5000 //check timer
then
0AB1: @SEND_CMD 1 text 1@
32@ = 0 //reset timer
end
end
:SEND_CMD
{
0AB1: @SEND_CMD 1 text 0@
0.3.7 - R1
}
IF 0AA2: 1@ = "samp.dll"
THEN
1@ += 0x65C60
0AA5: call 1@ num_param 1 pop 0 0@
END
0AB2: 0