:CLOSE_DIALOG
wait 0
IF 0AA2: 7@ = "samp.dll"
THEN
7@ += 0x6FF40 /// close dialog offset
0AA5: call 7@ num_param 0 pop 0
END
0AB2: 0
What i doing wrong??
@monday
@supahdupahnubah
{$CLEO .cs}
0000: NOP
wait 10000
while true
wait 0
if
0ADC: test_cheat "Z"
then
0@ = true
else
if
0ADC: test_cheat "X"
then
0@ = false
end
end
if
0@ == true
then
wait 0
0972: put_actor $PLAYER_ACTOR at 597.2166 -1248.985 18.2856
wait 56500...
{$CLEO .cs}
0000: NOP
wait 10000 // wait until samp is ready
while true
wait 0
if
00DF: actor $PLAYER_ACTOR driving
then
02EB: restore_camera_with_jumpcut
end
end
//get number of dialog elements
0B54: samp 1@ = listbox_items_count
//substract one from total cout
1@ -= 1 //last item is actually the null terminator
chatmsg "num of elements %d" -1 1@
for 0@ = 0 to 1@
alloc 2@ = 256
0B5B: samp get_listbox_item 0@ text_to 2@
chatmsg "element %d - text...
Wow you again made awesome format , very useful, thanks
If i not doing wrong
{$CLEO .cs}
0000: NOP
repeat
wait 0
until 0AFA: SAMP_IS_READY
while true
wait 0
if
0B61: samp is_local_player_spawned
then
0AC8: 0@ = allocate_memory_size 260
0AC8: 1@ = allocate_memory_size 260
0B75...
{$CLEO .cs}
0000: NOP
wait 10000
while true
wait 0
if
0AB0: 89
then
repeat
wait 0
until 8AB0: 89
if
call @is_cp_active 0
then
if
00DF: actor $PLAYER_ACTOR driving
then
00A0: store_actor $PLAYER_ACTOR position_to 4@ 5@...
You can try this code...
{$CLEO .cs}
0000: NOP
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
WHILE TRUE
WAIT 0
IF
056D: actor $PLAYER_ACTOR defined
THEN
// GET ALL STREAMED PEDS
0A8D: 29@ = read_memory 0xB74490 size 4 virtual_protect 0
000A: 29@ += 0x4
0A8D: 29@ =...
if
00DF: actor $PLAYER_ACTOR driving
then
0A8C: write_memory 0xB73478 size 1 value 255 virtual_protect 0 // press W
0A8C: write_memory 0xB73474 size 1 value 255 virtual_protect 0 // press S
end
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.