{$CLEO .cs}
0000:
:save
0001: wait 0 ms
00D6: if
0AB0: is_key_pressed 101
004D: jump_if_false @save
0256: 3@ player $PLAYER_CHAR defined
set_char_collision 3@ 0
0001: wait 1000 ms
0002: jump @save
Not working, any ideas?
{$CLEO .cs}
0000:
:save
0001: wait 0 ms
00D6: if
0AB0: is_key_pressed 101
004D: jump_if_false @save
0256: 3@ player $PLAYER_CHAR defined
set_char_collision 3@ 0
0001: wait 1000 ms
0002: jump @save
Your own or others?Not working, any ideas?
Not working, any ideas?
//Updated Sanny Builder 3 SDK - UGBASE.EU (v2023.04.10)
{$CLEO}
//{$INCLUDE SF}
0000: NOP
//Constants
const
end 
//Main loop
while true
wait 0
    if 0ab0: 101
    then
        if 0256:   player $PLAYER_CHAR defined
        then
            set_char_collision $PLAYER_CHAR 0
            wait 1000
        end
    end
end
end_thread
{$CLEO .cs}
0000:
REPEAT
IF 8256:   player $PLAYER_CHAR defined
THEN 0A93: end_custom_thread
END
WAIT 1500
UNTIL 0256:   player $PLAYER_CHAR defined 
WHILE TRUE
WAIT 0 
IF 0256:   player $PLAYER_CHAR defined
THEN
    0A8D: 29@ = read_memory 0xB74490 size 4 virtual_protect 0
    29@ += 0x4
    0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
    FOR 30@ = 0 TO 35584 step 0x100
        0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
        000A: 29@ += 0x1
        IF AND
            0029: 31@ >= 0x00
            001B: 0x80 > 31@                      
        THEN
            005A: 31@ += 30@
            IF AND
            056D:   actor 31@ defined
            803B:   31@ == $PLAYER_ACTOR // not my ped
            THEN
                0619: enable_actor 31@ collision_detection 0
            END
        END
    END
END
END
	How do I activate the cheat in-game?Player Collision
PHP:{$CLEO .cs} 0000: REPEAT IF 8256: player $PLAYER_CHAR defined THEN 0A93: end_custom_thread END WAIT 1500 UNTIL 0256: player $PLAYER_CHAR defined WHILE TRUE WAIT 0 IF 0256: player $PLAYER_CHAR defined THEN 0A8D: 29@ = read_memory 0xB74490 size 4 virtual_protect 0 29@ += 0x4 0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0 FOR 30@ = 0 TO 35584 step 0x100 0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0 000A: 29@ += 0x1 IF AND 0029: 31@ >= 0x00 001B: 0x80 > 31@ THEN 005A: 31@ += 30@ IF AND 056D: actor 31@ defined 803B: 31@ == $PLAYER_ACTOR // not my ped THEN 0619: enable_actor 31@ collision_detection 0 END END END END END
IT'S AUTO ACTIVEHow do I activate the cheat in-game?