Help How to remove player collision?

pwpwpwn

Member
Joined
May 4, 2024
Messages
19
Reaction score
0
{$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?
 

Ice555

Active member
Joined
Mar 11, 2021
Messages
49
Solutions
3
Reaction score
7
Location
Lithuania
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
didnt test it, but this is how it should be.
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
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
 

Attachments

  • Collision.cs
    18.2 KB · Views: 9

Snazzy

New member
Joined
Mar 13, 2024
Messages
1
Reaction score
0
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
How do I activate the cheat in-game?
 
Top