Resource icon

CLEO Release force_underwater.cs >> Force yourself to enter the underwater world (foot/incar)

CLEO related
Status
Not open for further replies.

x7F8

Member
Joined
Jul 31, 2014
Messages
21
Reaction score
1
Information
A CLEO mod made by me, 'bin]7FF' to force yourself enter the underwater world, onfoot or incar.

Requirements
CLEO 4+
SAMPFuncs 3.2 >> To write NOP SetWeather

Activation key
Type 'UD' as a cheat-code.

How does it works
Forces yourself to enter weather 164, where it's a lil buggy (removes water, but weird pink screen) and then after 1599 ms, sets weather back to 1.

Source code
Code:
{$CLEO}

0662: 'bin]7FF'
thread 'binHax'

0B2E: 19@ = read_samp_memory offset 0xB4F0 size 2

:binHax_4
wait 0
jump @binHax_7

:binHax_7
wait 0
if
0ADC: 'UD'
then
    0B2D: write_samp_memory offset 0xB4F0 value 0xC390 size 2
    wait 10
    01B6: set_weather 164
    print "~w~Please wait.." 800
    00A0: store_actor $PLAYER_ACTOR position_to 20@ 21@ 22@
    000F: 22@ -= 8.8
    Actor.PutAt($PLAYER_ACTOR, 20@, 21@, 22@)
    wait 1599
    01B6: set_weather 1
    if
    Actor.Driving($PLAYER_ACTOR)
    then    
        25@ = Actor.CurrentCar($PLAYER_ACTOR)
        0731: set_car 25@ y_angle_to 0
    end
    0B2D: write_samp_memory offset 0xB4F0 value 19@ size 2
    print "~w~You are now underwater" 1000
end
jump @binHax_7

Download at attachment
 

Attachments

  • force_underwater.cs
    18.1 KB · Views: 84
Status
Not open for further replies.
Top