Resource icon

CLEO Release FastSwim / On Key Frame Limiting

CLEO related
Status
Not open for further replies.

_Safa

Well-known member
Joined
Sep 22, 2019
Messages
297
Reaction score
103
Location
UGBASE
Hey there,

I was just checking my harddrive and deleting useless old stuff and I found my first CLEO I did a year ago. So before deleting it I thought I'd just release this here in case someone finds usage for it. Source is not encrypted.

What does it do?

This CLEO enables / disables your frame-limiter on KEY. I made this back in the day because you can swim really fast with FPS 20 due to the engine and it was extremely useful for me (as I played on RP Servers).

It's not an speedhack / cheat!


Requirements:

  • /fpslimit 20 (only once)
  • Works for ANY SA:MP version!
  • Activation / Deactivation: Press the W-key 5 times.


bb,
safa
 

Attachments

  • FastSwim_by_Safa.cs
    18.1 KB · Views: 90

_Safa

Well-known member
Joined
Sep 22, 2019
Messages
297
Reaction score
103
Location
UGBASE
You can make it automatically with this opcode:
Code:
0965:   actor $PLAYER_ACTOR swimming
I know that, but as I said it was my first CLEO I ever created from last year and it was actually done for a friend as he wanted it on-key ¯\_(ツ)_/¯
 

SpnKO

Member
Joined
Mar 17, 2014
Messages
17
Reaction score
3
where is that line placed? I would like to have it automatic
Code:
{$CLEO .cs}
0000: ''

0662: "Faster swimming CLEO by Safa | Discord: Safa#9740"
0662: "Activation / Deactivation -> hit W key 5 times in a row."

wait 8500

0@ = FALSE 

while true
wait 0

if 
0965:   actor $PLAYER_ACTOR swimming
then
    if 0@ == FALSE
    THEN 
    0AB1: @NN1 0
    0@ = TRUE
    printf "~g~Swim activated ~n~~p~by Safa" 1000
    ELSE 0AB1: @NN2 0
    0@ = FALSE
    printf "~r~Swim deactivated ~n~~p~by Safa" 1000
    END       
end
end

:NN1
0A8C: write_memory 0xBA6794 size 4 value 0x1 virtual_protect 0 
0AB2: 0

:NN2
0A8C: write_memory 0xBA6794 size 4 value 0x0 virtual_protect 0
0AB2: 0
 
Status
Not open for further replies.
Top