What's new

SA:MP/CR:MP Cleo в Extreme Cheats

Dimonsky

Registered
Joined
Apr 16, 2020
Messages
2
Reaction score
0
Points
1
Привет,

могу ли я этот скрипт погрузить через Extreme Cheats ?


C++:
{$CLEO}
0000:

while not SAMP.Available()
    wait 0
end
0b34: "rell" @rel
//chatmsg "hello" -1

while true
    wait 0
    if 056D:   actor $PLAYER_ACTOR defined
    then
        for 0@ = 0 to 3000 step 1
            if or
                0@ == 11
                0@ == 12
                0@ == 13
                0@ == 14
            then continue
            end
            
            if 0C5D: samp textdraw 0@ is_exists
            then
                alloc 1@ 512
                alloc 2@ 512
                
                0C5A: samp textdraw 0@ get_string_to 1@
                format 2@ = "ID: %d | TEXT: %s" 0@ 1@
                //0B78: log 2@ 
                
                if 0C18: 3@ = strstr string1 1@ string2 "BEAT:down"
                then
                    0B56: set_game_key 1 state 128   
                end
                
                if 0C18: 3@ = strstr string1 1@ string2 "BEAT:up"
                then
                    0B56: set_game_key 1 state -128   
                end
                                
                if 0C18: 3@ = strstr string1 1@ string2 "BEAT:left"
                then
                    0B56: set_game_key 0 state -128 
                end
                            
                if 0C18: 3@ = strstr string1 1@ string2 "BEAT:right"
                then
                    0B56: set_game_key 0 state 128
                end
                
                free 1@
                free 2@
            end
        end
    end
end

:rel
0A92: create_custom_thread "fish.cs"
0A93: end_custom_thread
0B43: samp cmd_ret
 

Attachments

CleanLegend

Staff member
Administrator
Joined
Jul 12, 2018
Messages
1,961
Reaction score
737
Points
113
не можешь, для подгрузки клео скриптов нужно подрубать само клео, а у нас чит никак не связан с клео.
ты можешь писать lua скрипты и подгружать их, используя наше Lua API.
 

Dimonsky

Registered
Joined
Apr 16, 2020
Messages
2
Reaction score
0
Points
1
ктонибуть может тут перевести или переписать данный скрипт ?
 

hardly1337

Registered
Joined
Aug 6, 2019
Messages
11
Reaction score
4
Points
3
ктонибуть может тут перевести или переписать данный скрипт ?
я бы переписал, но Lua API в Экстриме настолько богато что пока что это не возможно :cry:
 
shape1
shape2
shape3
shape4
shape7
shape8
Top