CLEO Help Remove cooldown from camera (fast photography)

CLEO related

dinoid

Member
Joined
Jan 1, 2022
Messages
13
Reaction score
1
Location
Brazil
I'm trying to make a cleo mod that removes the camera photograph cooldown since some RP servers have profissions that can sell pictures.
That's all I got so far.


Code:
then
        if Actor.HasWeapon($PLAYER_ACTOR, 43)
        then
            0393: actor $PLAYER_ACTOR perform_animation "picstnd_take" at 10 times_normal_rate
        end
    end

Something like that to remove the photograph animation in order to take pictures faster.

Code:
$cont = 0

while true
wait 0
    if 0ADC: test_cheat "cam"
    then
        while $cont < 20
            04C5: 0 //Is the object photographed false
            0833: 0 //Is the char photographed false
            04C5: 1 //Is the object photographed true
            0833: 1 //Is the char photographed true
            $cont += 1
        end
    end
end

or

Code:
$cont = 0

while true
wait 0
    if 0ADC: test_cheat "cam"
    then
        while $cont < 20
            0A1E: 0  //Take picture false
            0A1E: 1  //Take picture true
            $cont += 1
        end
    end
end

Something like that to take 20 photographs very fast.

It may also be possible through changing the weapon.dat I think
 
Last edited:
Top