CLEO REQUEST Collection

Joined
Apr 8, 2020
Messages
1
Likes
0
Points
1
Location
Pakistan
1
* Name of the mod (if the mod doesn't exist, you don't have to tell one):Hitmarker
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):youtube
* What do you want (the most important part, explain this carefully): I want hitmarker mod as it is in chicago dm's script.
* Details (add more details to your request)
you can see this video and know that what kind of hitmarker i requests.
* On/off key (specify it):dont need on/off key
 
Joined
Dec 23, 2018
Messages
19
Likes
0
Points
6
* Name of the mod (if the mod doesn't exist, you don't have to tell one):Hitmarker
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):youtube
* What do you want (the most important part, explain this carefully): I want hitmarker mod as it is in chicago dm's script.
* Details (add more details to your request)
you can see this video and know that what kind of hitmarker i requests.
* On/off key (specify it):dont need on/off key
need same, but on samp 0.3.dl (without sampfuncs)
 

ItsRobinson

Well-Known Member
Joined
Nov 16, 2017
Messages
104
Likes
19
Points
33
* Name of the mod (if the mod doesn't exist, you don't have to tell one):-
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):-
* What do you want (the most important part, explain this carefully)I need cleo scritp that would write all account names into txt file when i login.
* Details (add more details to your request)Cleo script that would write all accounts that i logged in to txt file.
* On/off key (specify it):Auto
PHP:
{$CLEO}
0000: NOP
repeat
    wait 0
until 0B61:

wait 5000

0AB1: @logAllPlayers 0

while true
    wait 0
end

:logAllPlayers
alloc [email protected] 25
FOR [email protected] = 0 TO 9999
    if
        0B23: samp is_player_connected [email protected]
    then
        0A9A: [email protected] = openfile "cleo\playerNames.txt" mode "at+"
        0B36: samp [email protected] = get_player_nickname [email protected]
        0AD9: write_formatted_text "%s%c" in_file [email protected] [email protected] 0xA  //0xA = new line
        0A9B: closefile [email protected]    
    end     
END
free [email protected]
0AB2: ret 0
This won't print your name into the logs
 
Joined
Nov 12, 2018
Messages
7
Likes
0
Points
1
1
* Name of the mod (if the mod doesn't exist, you don't have to tell one):hide all for youtube video
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):-
* What do you want (the most important part, explain this carefully)It will hide hud, name, repfam, etc like press F10
* Details (add more details to your request): It will hide hud, name, repfam, etc
* On/off key (specify it): F3
* Version: 0.3DL + No SAMPFUNCS
 

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
2,143
Likes
385
Points
113
Location
Lithuania
Website
ugbase.eu
20
* Name of the mod (if the mod doesn't exist, you don't have to tell one):hide all for youtube video
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):-
* What do you want (the most important part, explain this carefully)It will hide hud, name, repfam, etc like press F10
* Details (add more details to your request): It will hide hud, name, repfam, etc
* On/off key (specify it): F3
* Version: 0.3DL + No SAMPFUNCS
PHP:
{$CLEO .cs}

0000:

REPEAT
    WAIT 0
UNTIL 0AA2: [email protected] = "samp.dll"

WHILE TRUE
WAIT 0

IF 0ADC:   test_cheat "7"
THEN
    IF [email protected] == FALSE
    THEN
        [email protected] = TRUE
        0ACD: show_text_highpriority "CleanScreen:~G~ ON" time 1000 
    ELSE
        [email protected] = FALSE
        0ACD: show_text_highpriority "CleanScreen:~R~ OFF" time 1000
        0AB1: @SetSettings 5 SampDLL [email protected] ShowNameTags 1 HideRadarHudChatEtc 2 ShowScoreBoard 0 ScoreBoardTextPosition 60.0
    END
END

IF [email protected] == TRUE
THEN
    0AB1: @SetSettings 5 SampDLL [email protected] ShowNameTags 0 HideRadarHudChatEtc 0 ShowScoreBoard 1 ScoreBoardTextPosition 1250.0
END

END   

:SetSettings
0A8E: [email protected] = [email protected] + 0x2ACA24 // SAMP_INFO_OFFSET
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
000A: [email protected] += 0x3D5 // SETTINGS_OFFSET
0A8D: [email protected] = readMem [email protected] sz 4 vp 0  
000A: [email protected] += 0x38 // SHOW_NAME_TAGS_OFFSET
0A8C: writeMem [email protected] sz 1 vl [email protected] vp 0

0A8E: [email protected] = [email protected] + 0x2ACA10 // RADAR_HUD_CHATBOX_ETC_OFFSET
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
000A: [email protected] += 0x8 
0A8C: writeMem [email protected] sz 1 vl [email protected] vp 0

0A8E: [email protected] = [email protected] + 0x2AC9DC // SAMP_SCOREBOARD_INFO_OFFSET
0A8D: [email protected] = readMem [email protected] size 4 vp 0
0A8C: writeMem [email protected] sz 4 vl [email protected] vp 0
0A8E: [email protected] = [email protected] + 0xC // SAMP_SCOREBOARD_TEXT_POSITON_OFFSET
0A8C: writeMem [email protected] sz 4 vl [email protected] vp 0
0AB2: RET 0
 
Last edited:
Joined
Nov 12, 2018
Messages
7
Likes
0
Points
1
1
PHP:
{$CLEO .cs}

0000:

REPEAT
    WAIT 0
UNTIL 0AA2: [email protected] = "samp.dll"

WHILE TRUE
WAIT 0

IF 0ADC:   test_cheat "7"
THEN
    IF [email protected] == FALSE
    THEN
        [email protected] = TRUE
        0ACD: show_text_highpriority "CleanScreen:~G~ ON" time 1000
    ELSE
        [email protected] = FALSE
        0ACD: show_text_highpriority "CleanScreen:~R~ OFF" time 1000
        0AB1: @SetSettings 5 SampDLL [email protected] ShowNameTags 1 HideRadarHudChatEtc 2 ShowScoreBoard 0 ScoreBoardTextPosition 60.0
    END
END

IF [email protected] == TRUE
THEN
    0AB1: @SetSettings 5 SampDLL [email protected] ShowNameTags 0 HideRadarHudChatEtc 0 ShowScoreBoard 1 ScoreBoardTextPosition 1250.0
END

END  

:SetSettings
0A8E: [email protected] = [email protected] + 0x2ACA24 // SAMP_INFO_OFFSET
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
000A: [email protected] += 0x3D5 // SETTINGS_OFFSET
0A8D: [email protected] = readMem [email protected] sz 4 vp 0 
000A: [email protected] += 0x38 // SHOW_NAME_TAGS_OFFSET
0A8C: writeMem [email protected] sz 1 vl [email protected] vp 0

0A8E: [email protected] = [email protected] + 0x2ACA10 // RADAR_HUD_CHATBOX_ETC_OFFSET
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
000A: [email protected] += 0x8
0A8C: writeMem [email protected] sz 1 vl [email protected] vp 0

0A8E: [email protected] = [email protected] + 0x2AC9DC // SAMP_SCOREBOARD_INFO_OFFSET
0A8D: [email protected] = readMem [email protected] size 4 vp 0
0A8C: writeMem [email protected] sz 4 vl [email protected] vp 0
0A8E: [email protected] = [email protected] + 0xC // SAMP_SCOREBOARD_TEXT_POSITON_OFFSET
0A8C: writeMem [email protected] sz 4 vl [email protected] vp 0
0AB2: RET 0
@Parazitas Still repfam
 
Joined
Apr 28, 2020
Messages
5
Likes
0
Points
1
Location
Colombia
1
* Name of the mod (if the mod doesn't exist, you don't have to tell one):
Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):-
* What do you want (the most important part, explain this carefully)that I send car by car to a part of the map I mean to do tp car plus the pj and to do cosillion at the same time
* Details (add more details to your request): to lag when I collide
* On/off key (specify it): F3
* Version: 0.3.7 R1 + SAMPFUNCS
 

georgegg

New Member
Joined
Jan 18, 2015
Messages
2
Likes
0
Points
26
1
* Name of the mod (if the mod doesn't exist, you don't have to tell one): -
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): http://ugbase.eu/index.php?threads/private-messages-to-everyone.13385/
* What do you want (the most important part, explain this carefully) it's don't working, need cleo a send private messages to everyone
* Details (add more details to your request) the text will be written in game
ex:
* On/off key (specify it): -
 

Au_Phu

Active Member
Joined
Jun 20, 2019
Messages
26
Likes
1
Points
8
* Name of the mod (if the mod doesn't exist, you don't have to tell one):hide all for youtube video
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):-
* What do you want (the most important part, explain this carefully)It will hide hud, name, repfam, etc like press F10
* Details (add more details to your request): It will hide hud, name, repfam, etc
* On/off key (specify it): F3
* Version: 0.3DL + No SAMPFUNCS
Press F7
 
Joined
Jan 10, 2014
Messages
1
Likes
0
Points
56
1
* Name of the mod (if the mod doesn't exist, you don't have to tell one): Train Drive
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): Like opcodes checkpoint.cs but for trains and working
* What do you want (the most important part, explain this carefully) I wan't auto driver for trains who drives train till Race Checkpoint, stays there for 11 seconds and goes to next Race Check point
* Details (add more details to your request) I wan't auto driver with train, for example like This - Video link but working with Race Checkpoints
* On/off key (specify it): /train
 
Joined
Apr 24, 2020
Messages
7
Likes
0
Points
1
Location
Ph
1
* Name of the mod (if the mod doesn't exist, you don't have to tell one): AUTOPAYCHECK
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): http://ugbase.eu/index.php?threads/types-of-sign-check-and-sources-etc.21704/ ((This one works but it crashes my game very often, like 1-2 hours of playing time ))
* What do you want (the most important part, explain this carefully): I have this version of autopaycheck but it is only compatible to 0.3DL.


Code:
{$CLEO .cs}

0000:

wait 8500

while true
wait 0

if
0256:   player $PLAYER_CHAR defined
then
    for [email protected] = 95 to 99
        0AC8: [email protected] = allocate_memory_size 144
        0AB1: @getChatEntryText 1 id [email protected] to [email protected]
        0AC8: [email protected] = allocate_memory_size 144
        0AD3: [email protected] = format "/signcheck"
        if
        0AB1: @IfTextContains 2 mainTextPointer [email protected] pieceToFindPointer [email protected] _returnedPointer [email protected]
        then
            0AC8: [email protected] = allocate_memory_size 260
            0AD3: [email protected] = format "/signcheck"
            0AB1: @SEND_CMD 1 text [email protected]
            wait 180000 // anti spam
        end
    end
end

end

:getChatEntryText
IF 0AA2: [email protected] = "samp.dll"
THEN
    [email protected] += 0x2ACA10
    0A8D: [email protected] readMem [email protected] sz 4 vp 0
    [email protected] += 0x132
    [email protected] *= 0xFC
    005A: [email protected] += [email protected]
    [email protected] += 0x20
    0AA3: [email protected]
END
0AB2: ret 1 [email protected]

:IfTextContains
{
    [email protected] - the main text
    [email protected] - piece of text to be found within the main text
}
0AB1: @strlen 1 strPtr [email protected] _length [email protected]
0AB1: @strlen 1 strPtr [email protected] _length [email protected]

//initial length check (the phrase can't be longer than the main text)
if 001D:   [email protected] > [email protected]  // (int)
then
059A:  return_false
0AB2: ret 1 0
end

[email protected] -= 1
[email protected] = 0 // counter of the same chars in a row
for [email protected] = 0 to [email protected] // for each char of the main text  ([email protected] = index)   
    0085: [email protected] = [email protected] // (int)
    005A: [email protected] += [email protected]  // (int)
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
    
    0085: [email protected] = [email protected] // (int)
    005A: [email protected] += [email protected]  // (int)
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0

    if 003B:   [email protected] == [email protected]  // (int)   
    then
    [email protected]++
        if 002D:   [email protected] >= [email protected]  // (int)
        then
        0485:  return_true
        0062: [email protected] -= [email protected]  // (int)
        [email protected] += 1
        0AB2: ret 1 [email protected]
        end
    else
        if [email protected] > 0
        then
        [email protected] //check the same char again and assume it's the begining of the string but only if there was matching parts before (otherwise it would go back all the time and make infinite loop)
        end
    [email protected] = 0
    end           
end
 
059A:  return_false
0AB2: ret 1 0

:strlen
{
    Example: 0AB1: @strlen 1 string [email protected] return: [email protected]
    In: [email protected] - text;
    Out: [email protected] - size;
}
for [email protected] = 0 to 1024
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
    if not [email protected] == 0
    jf break
    [email protected] += 1
end
0AB2: ret 1 [email protected]

:SAY
//0AB1: @SAY 1 text [email protected]
IF 0AA2: [email protected] = "samp.dll"
THEN
    [email protected] += 0x5860 // FUNC_SAY
    0AA5: call [email protected] num_param 1 pop 0 [email protected]
END
0AB2: 0


:Chatmsg
//0AB1: @Chatmsg 2 color 0xFF00FF00 text [email protected]
IF 0AA2: [email protected] = "samp.dll"
THEN
    0085: [email protected] = [email protected]
    [email protected] += 0x2ACA10 // SAMP_CHAT_INFO_OFFSET
    0A8D: [email protected] = readMem [email protected] sz 4 vp 1
    0085: [email protected] = [email protected]
    [email protected] += 0x67650 // FUNC_ADDTOCHATWND
    0AA6: call [email protected] struct [email protected] num_params 5 pop 0 params 0 [email protected] 0 [email protected] 8
END
0AB2: 0

:SEND_CMD
//0AB1: @SEND_CMD 1 text [email protected]
IF 0AA2: [email protected] = "samp.dll"
THEN
    [email protected] += 0x69340 // FUNC_SEND_CMD
    0AA5: call [email protected] num_param 1 pop 0 [email protected]
END
0AB2: 0
Code:
{$CLEO .cs}

0000:

wait 8500

while true
wait 0

if
0256:   player $PLAYER_CHAR defined
then
    if
    0AB1:  @isDialogOpen 0 _Return: dType [email protected] dId [email protected]
    then
        IF
        0AB1: @GetDialogCaption 0 _Return: Caption [email protected]
        THEN
            0AC8: [email protected] = allocate_memory_size 260
            0AD3: [email protected] = format "Sign check"  // Dialog caption to find
            if
            0AB1: @IfTextContains 2 mainTextPointer [email protected] pieceToFindPointer [email protected] _returnedPointer [email protected]
            then                 
                0AC8: [email protected] = allocate_memory_size 512
                0AB1: @getDialogText 0 _Return: Text [email protected]
                0AC8: [email protected] = allocate_memory_size 260
                0AB1: @get_digits_to_print param_count 2 text [email protected] memory_to_store_digits_as_text [email protected] 
                0209: [email protected] = random_int_in_ranges 1500 3000 
                wait [email protected]
                0AB1: @SetDialogInputEditBoxText 1 => text [email protected]
                0AB1: @CloseCurrentDialogWithButton 1 Button 1
            end
        end
    end
end

end

:isDialogOpen
{
    0.3.DL
}
0AA2: [email protected] = "samp.dll"
[email protected] += 0x2AC9E0
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
0A8E: [email protected] = [email protected] + 0x28
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
if [email protected] == 1
then
    0A8E: [email protected] = [email protected] + 0x2C //dialogType
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0
    0A8E: [email protected] = [email protected] + 0x30 //dialogId
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0
    0485: dialog_open
    0AB2: ret 2 [email protected] [email protected]
else 059A: dialog_closed
end
0AB2: ret 2 -1 -1

:GetDialogCaption
{
    0.3.DL
}
0AA2: [email protected] = "samp.dll"
[email protected] += 0x2AC9E0
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
0A8E: [email protected] = [email protected] + 0x28 //DialogOpenOffset
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
if [email protected] == 1 // Dialog open
then
    0A8E: [email protected] = [email protected] + 0x40 //DialogCaptionOffset
    0485: dialog_open
    0AB2: ret 1 [email protected]
else
    059A:  dialog closed
end
0AB2: ret 0

:GetDialogText
{
    0.3.DL
}
0AA2: [email protected] = "samp.dll"
[email protected] += 0x2AC9E0
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
0A8E: [email protected] = [email protected] + 0x28 //DialogOpenOffset
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
if [email protected] == 1 // Dialog active
then
    0A8E: [email protected] = [email protected] + 0x2C //DialogTypeOffset
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0
    if or
    [email protected] == 0 // DIALOG_STYLE_MSGBOX
    [email protected] == 1 // DIALOG_STYLE_INPUT
    [email protected] == 3 // DIALOG_STYLE_PASSWORD
    then
        0A8E: [email protected] = [email protected] + 0x34 // DialogTextOffset
        0A8D: [email protected] = readMem [email protected] sz 4 vp 0
        0485: dialog_open
        0AB2: ret 1 [email protected]
    else 059A:  dialog closed
    end
end
0AB2: ret 0

:IfTextContains
{
    [email protected] - the main text
    [email protected] - piece of text to be found within the main text
}
0AB1: @strlen 1 strPtr [email protected] _length [email protected]
0AB1: @strlen 1 strPtr [email protected] _length [email protected]

//initial length check (the phrase can't be longer than the main text)
if 001D:   [email protected] > [email protected]  // (int)
then
059A:  return_false
0AB2: ret 1 0
end

[email protected] -= 1
[email protected] = 0 // counter of the same chars in a row
for [email protected] = 0 to [email protected] // for each char of the main text  ([email protected] = index)   
    0085: [email protected] = [email protected] // (int)
    005A: [email protected] += [email protected]  // (int)
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
    
    0085: [email protected] = [email protected] // (int)
    005A: [email protected] += [email protected]  // (int)
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0

    if 003B:   [email protected] == [email protected]  // (int)   
    then
    [email protected]++
        if 002D:   [email protected] >= [email protected]  // (int)
        then
        0485:  return_true
        0062: [email protected] -= [email protected]  // (int)
        [email protected] += 1
        0AB2: ret 1 [email protected]
        end
    else
        if [email protected] > 0
        then
        [email protected] //check the same char again and assume it's the begining of the string but only if there was matching parts before (otherwise it would go back all the time and make infinite loop)
        end
    [email protected] = 0
    end           
end
 
059A:  return_false
0AB2: ret 1 0

:get_digits_to_print
{
    [email protected] = text
    [email protected] = pointer to memory where digits will be stored as text
}
0AB1: @strlen 1 string [email protected] _return: [email protected]
    for [email protected] = 0 to [email protected] 
        0085: [email protected] = [email protected] // copy pointer
        005A: [email protected] += [email protected]  // add offset (as the loop progresses it becomes pointers to first-last character)
        0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 1 // [email protected] is the ascii number representing character
        if and
        [email protected] >= 0x30 // '0'
        [email protected] <= 0x39 // '9'
        then
        0A8C: write_memory [email protected] size 1 value [email protected] virtual_protect 1
        [email protected] += 1 // move to next address
        end
    end
0A8C: write_memory [email protected] size 1 value 0 virtual_protect 1 // null-termination
0AB2: ret 0

:strlen
{
    Example: 0AB1: @strlen 1 string [email protected] return: [email protected]
    In: [email protected] - text;
    Out: [email protected] - size;
}
for [email protected] = 0 to 1024
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
    if not [email protected] == 0
    jf break
    [email protected] += 1
end
0AB2: ret 1 [email protected]       

:SetDialogInputEditBoxText
{
    0.3.DL
    0AB1: @SetDialogInputEditBoxText 1 => text [email protected]
}
if 0AA2: [email protected] = "samp.dll"
then
    0A8E: [email protected] = [email protected] + 0x2AC9E0            // SAMP_DIALOG_INFO_OFFSET (R1)
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0     // pDialog;
    0A8E: [email protected] = [email protected] + 0x24                // pDialog->pEditBox;
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0     // pEditBox;
  
    0A8E: [email protected] = [email protected] + 0x85000 // CDXUTEditBox::GetText (offset for 0.3.7 R1)
  
    // CDXUTEditBox::SetText takes 2 params
    // 1 - pointer to zero terminated string
    // 2 - bool, if text is to be selected or not
  
    0AA8: call_function_method [email protected] struct [email protected] num_params 2 pop 0 _bSelected 0 _pszText [email protected] _retVal [email protected]
end
0AB2: 0

:CloseCurrentDialogWithButton
{
    0.3.DL
    0AB1: @CloseCurrentDialogWithButton 1 Button 0 // 1 = Left , 0 = Right
}
IF 0AA2: [email protected] = "samp.dll"
THEN 
    0A8E: [email protected] = [email protected] + 0x2AC9E0 // SAMP_DIALOG_INFO_OFFSET
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0
    0A8E: [email protected] = [email protected] + 0x700D0 //SAMP_DIALOG_CLOSE
    0AA8: call_function_method [email protected] struct [email protected] num_params 1 pop 0 [email protected] $NOT_USED
END
0AB2: 0
* Details (add more details to your request): I need it to be compatible with 0.3.7 - R2


* On/off key (specify it): AUTO
 

Attachments

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
2,143
Likes
385
Points
113
Location
Lithuania
Website
ugbase.eu
20
* Name of the mod (if the mod doesn't exist, you don't have to tell one): AUTOPAYCHECK
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): http://ugbase.eu/index.php?threads/types-of-sign-check-and-sources-etc.21704/ ((This one works but it crashes my game very often, like 1-2 hours of playing time ))
* What do you want (the most important part, explain this carefully): I have this version of autopaycheck but it is only compatible to 0.3DL.
Code:
{$CLEO .cs}

0000:

wait 8500

while true
wait 0

if
0256:   player $PLAYER_CHAR defined
then
    for [email protected] = 95 to 99
        0AC8: [email protected] = allocate_memory_size 144
        0AB1: @getChatEntryText 1 id [email protected] to [email protected]
        0AC8: [email protected] = allocate_memory_size 144
        0AD3: [email protected] = format "/signcheck"
        if
        0AB1: @IfTextContains 2 mainTextPointer [email protected] pieceToFindPointer [email protected] _returnedPointer [email protected]
        then
            0AC8: [email protected] = allocate_memory_size 260
            0AD3: [email protected] = format "/signcheck"
            0AB1: @SEND_CMD 1 text [email protected]
            wait 180000 // anti spam
        end
    end
end

end

:getChatEntryText
IF 0AA2: [email protected] = "samp.dll"
THEN
    [email protected] += 0x2ACA10
    0A8D: [email protected] readMem [email protected] sz 4 vp 0
    [email protected] += 0x132
    [email protected] *= 0xFC
    005A: [email protected] += [email protected]
    [email protected] += 0x20
    0AA3: [email protected]
END
0AB2: ret 1 [email protected]

:IfTextContains
{
    [email protected] - the main text
    [email protected] - piece of text to be found within the main text
}
0AB1: @strlen 1 strPtr [email protected] _length [email protected]
0AB1: @strlen 1 strPtr [email protected] _length [email protected]

//initial length check (the phrase can't be longer than the main text)
if 001D:   [email protected] > [email protected]  // (int)
then
059A:  return_false
0AB2: ret 1 0
end

[email protected] -= 1
[email protected] = 0 // counter of the same chars in a row
for [email protected] = 0 to [email protected] // for each char of the main text  ([email protected] = index)  
    0085: [email protected] = [email protected] // (int)
    005A: [email protected] += [email protected]  // (int)
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
   
    0085: [email protected] = [email protected] // (int)
    005A: [email protected] += [email protected]  // (int)
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0

    if 003B:   [email protected] == [email protected]  // (int)  
    then
    [email protected]++
        if 002D:   [email protected] >= [email protected]  // (int)
        then
        0485:  return_true
        0062: [email protected] -= [email protected]  // (int)
        [email protected] += 1
        0AB2: ret 1 [email protected]
        end
    else
        if [email protected] > 0
        then
        [email protected] //check the same char again and assume it's the begining of the string but only if there was matching parts before (otherwise it would go back all the time and make infinite loop)
        end
    [email protected] = 0
    end          
end

059A:  return_false
0AB2: ret 1 0

:strlen
{
    Example: 0AB1: @strlen 1 string [email protected] return: [email protected]
    In: [email protected] - text;
    Out: [email protected] - size;
}
for [email protected] = 0 to 1024
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
    if not [email protected] == 0
    jf break
    [email protected] += 1
end
0AB2: ret 1 [email protected]

:SAY
//0AB1: @SAY 1 text [email protected]
IF 0AA2: [email protected] = "samp.dll"
THEN
    [email protected] += 0x5860 // FUNC_SAY
    0AA5: call [email protected] num_param 1 pop 0 [email protected]
END
0AB2: 0


:Chatmsg
//0AB1: @Chatmsg 2 color 0xFF00FF00 text [email protected]
IF 0AA2: [email protected] = "samp.dll"
THEN
    0085: [email protected] = [email protected]
    [email protected] += 0x2ACA10 // SAMP_CHAT_INFO_OFFSET
    0A8D: [email protected] = readMem [email protected] sz 4 vp 1
    0085: [email protected] = [email protected]
    [email protected] += 0x67650 // FUNC_ADDTOCHATWND
    0AA6: call [email protected] struct [email protected] num_params 5 pop 0 params 0 [email protected] 0 [email protected] 8
END
0AB2: 0

:SEND_CMD
//0AB1: @SEND_CMD 1 text [email protected]
IF 0AA2: [email protected] = "samp.dll"
THEN
    [email protected] += 0x69340 // FUNC_SEND_CMD
    0AA5: call [email protected] num_param 1 pop 0 [email protected]
END
0AB2: 0
Code:
{$CLEO .cs}

0000:

wait 8500

while true
wait 0

if
0256:   player $PLAYER_CHAR defined
then
    if
    0AB1:  @isDialogOpen 0 _Return: dType [email protected] dId [email protected]
    then
        IF
        0AB1: @GetDialogCaption 0 _Return: Caption [email protected]
        THEN
            0AC8: [email protected] = allocate_memory_size 260
            0AD3: [email protected] = format "Sign check"  // Dialog caption to find
            if
            0AB1: @IfTextContains 2 mainTextPointer [email protected] pieceToFindPointer [email protected] _returnedPointer [email protected]
            then                
                0AC8: [email protected] = allocate_memory_size 512
                0AB1: @getDialogText 0 _Return: Text [email protected]
                0AC8: [email protected] = allocate_memory_size 260
                0AB1: @get_digits_to_print param_count 2 text [email protected] memory_to_store_digits_as_text [email protected]
                0209: [email protected] = random_int_in_ranges 1500 3000
                wait [email protected]
                0AB1: @SetDialogInputEditBoxText 1 => text [email protected]
                0AB1: @CloseCurrentDialogWithButton 1 Button 1
            end
        end
    end
end

end

:isDialogOpen
{
    0.3.DL
}
0AA2: [email protected] = "samp.dll"
[email protected] += 0x2AC9E0
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
0A8E: [email protected] = [email protected] + 0x28
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
if [email protected] == 1
then
    0A8E: [email protected] = [email protected] + 0x2C //dialogType
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0
    0A8E: [email protected] = [email protected] + 0x30 //dialogId
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0
    0485: dialog_open
    0AB2: ret 2 [email protected] [email protected]
else 059A: dialog_closed
end
0AB2: ret 2 -1 -1

:GetDialogCaption
{
    0.3.DL
}
0AA2: [email protected] = "samp.dll"
[email protected] += 0x2AC9E0
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
0A8E: [email protected] = [email protected] + 0x28 //DialogOpenOffset
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
if [email protected] == 1 // Dialog open
then
    0A8E: [email protected] = [email protected] + 0x40 //DialogCaptionOffset
    0485: dialog_open
    0AB2: ret 1 [email protected]
else
    059A:  dialog closed
end
0AB2: ret 0

:GetDialogText
{
    0.3.DL
}
0AA2: [email protected] = "samp.dll"
[email protected] += 0x2AC9E0
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
0A8E: [email protected] = [email protected] + 0x28 //DialogOpenOffset
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
if [email protected] == 1 // Dialog active
then
    0A8E: [email protected] = [email protected] + 0x2C //DialogTypeOffset
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0
    if or
    [email protected] == 0 // DIALOG_STYLE_MSGBOX
    [email protected] == 1 // DIALOG_STYLE_INPUT
    [email protected] == 3 // DIALOG_STYLE_PASSWORD
    then
        0A8E: [email protected] = [email protected] + 0x34 // DialogTextOffset
        0A8D: [email protected] = readMem [email protected] sz 4 vp 0
        0485: dialog_open
        0AB2: ret 1 [email protected]
    else 059A:  dialog closed
    end
end
0AB2: ret 0

:IfTextContains
{
    [email protected] - the main text
    [email protected] - piece of text to be found within the main text
}
0AB1: @strlen 1 strPtr [email protected] _length [email protected]
0AB1: @strlen 1 strPtr [email protected] _length [email protected]

//initial length check (the phrase can't be longer than the main text)
if 001D:   [email protected] > [email protected]  // (int)
then
059A:  return_false
0AB2: ret 1 0
end

[email protected] -= 1
[email protected] = 0 // counter of the same chars in a row
for [email protected] = 0 to [email protected] // for each char of the main text  ([email protected] = index)  
    0085: [email protected] = [email protected] // (int)
    005A: [email protected] += [email protected]  // (int)
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
   
    0085: [email protected] = [email protected] // (int)
    005A: [email protected] += [email protected]  // (int)
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0

    if 003B:   [email protected] == [email protected]  // (int)  
    then
    [email protected]++
        if 002D:   [email protected] >= [email protected]  // (int)
        then
        0485:  return_true
        0062: [email protected] -= [email protected]  // (int)
        [email protected] += 1
        0AB2: ret 1 [email protected]
        end
    else
        if [email protected] > 0
        then
        [email protected] //check the same char again and assume it's the begining of the string but only if there was matching parts before (otherwise it would go back all the time and make infinite loop)
        end
    [email protected] = 0
    end          
end

059A:  return_false
0AB2: ret 1 0

:get_digits_to_print
{
    [email protected] = text
    [email protected] = pointer to memory where digits will be stored as text
}
0AB1: @strlen 1 string [email protected] _return: [email protected]
    for [email protected] = 0 to [email protected]
        0085: [email protected] = [email protected] // copy pointer
        005A: [email protected] += [email protected]  // add offset (as the loop progresses it becomes pointers to first-last character)
        0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 1 // [email protected] is the ascii number representing character
        if and
        [email protected] >= 0x30 // '0'
        [email protected] <= 0x39 // '9'
        then
        0A8C: write_memory [email protected] size 1 value [email protected] virtual_protect 1
        [email protected] += 1 // move to next address
        end
    end
0A8C: write_memory [email protected] size 1 value 0 virtual_protect 1 // null-termination
0AB2: ret 0

:strlen
{
    Example: 0AB1: @strlen 1 string [email protected] return: [email protected]
    In: [email protected] - text;
    Out: [email protected] - size;
}
for [email protected] = 0 to 1024
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
    if not [email protected] == 0
    jf break
    [email protected] += 1
end
0AB2: ret 1 [email protected]      

:SetDialogInputEditBoxText
{
    0.3.DL
    0AB1: @SetDialogInputEditBoxText 1 => text [email protected]
}
if 0AA2: [email protected] = "samp.dll"
then
    0A8E: [email protected] = [email protected] + 0x2AC9E0            // SAMP_DIALOG_INFO_OFFSET (R1)
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0     // pDialog;
    0A8E: [email protected] = [email protected] + 0x24                // pDialog->pEditBox;
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0     // pEditBox;
 
    0A8E: [email protected] = [email protected] + 0x85000 // CDXUTEditBox::GetText (offset for 0.3.7 R1)
 
    // CDXUTEditBox::SetText takes 2 params
    // 1 - pointer to zero terminated string
    // 2 - bool, if text is to be selected or not
 
    0AA8: call_function_method [email protected] struct [email protected] num_params 2 pop 0 _bSelected 0 _pszText [email protected] _retVal [email protected]
end
0AB2: 0

:CloseCurrentDialogWithButton
{
    0.3.DL
    0AB1: @CloseCurrentDialogWithButton 1 Button 0 // 1 = Left , 0 = Right
}
IF 0AA2: [email protected] = "samp.dll"
THEN
    0A8E: [email protected] = [email protected] + 0x2AC9E0 // SAMP_DIALOG_INFO_OFFSET
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0
    0A8E: [email protected] = [email protected] + 0x700D0 //SAMP_DIALOG_CLOSE
    0AA8: call_function_method [email protected] struct [email protected] num_params 1 pop 0 [email protected] $NOT_USED
END
0AB2: 0
* Details (add more details to your request): I need it to be compatible with 0.3.7 - R2
* On/off key (specify it): AUTO
PHP:
{$CLEO .cs}

0000:

wait 8500

while true
wait 0

if 0256:   player $PLAYER_CHAR defined
then
    for [email protected] = 95 to 99
        0AC8: [email protected] = allocate_memory_size 144
        0AB1: @getChatEntryText 1 id [email protected] to [email protected]
        0AC8: [email protected] = allocate_memory_size 144
        0AD3: [email protected] = format "/signcheck"
        if
        0AB1: @IfTextContains 2 mainTextPointer [email protected] pieceToFindPointer [email protected] _returnedPointer [email protected]
        then
            0AC8: [email protected] = allocate_memory_size 260
            0AD3: [email protected] = format "/signcheck"
            0AB1: @SEND_CMD 1 text [email protected]
            wait 180000 // anti spam
        end
    end
end

end

:getChatEntryText
IF 0AA2: [email protected] = "samp.dll"
THEN
    [email protected] += 0x21A0EC
    0A8D: [email protected] readMem [email protected] sz 4 vp 0
    [email protected] += 0x132
    [email protected] *= 0xFC
    005A: [email protected] += [email protected]
    [email protected] += 0x20
    0AA3: [email protected]
END
0AB2: ret 1 [email protected]

:IfTextContains
{
    [email protected] - the main text
    [email protected] - piece of text to be found within the main text
}
0AB1: @strlen 1 strPtr [email protected] _length [email protected]
0AB1: @strlen 1 strPtr [email protected] _length [email protected]

//initial length check (the phrase can't be longer than the main text)
if 001D:   [email protected] > [email protected]  // (int)
then
059A:  return_false
0AB2: ret 1 0
end

[email protected] -= 1
[email protected] = 0 // counter of the same chars in a row
for [email protected] = 0 to [email protected] // for each char of the main text  ([email protected] = index)   
    0085: [email protected] = [email protected] // (int)
    005A: [email protected] += [email protected]  // (int)
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
    
    0085: [email protected] = [email protected] // (int)
    005A: [email protected] += [email protected]  // (int)
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0

    if 003B:   [email protected] == [email protected]  // (int)   
    then
    [email protected]++
        if 002D:   [email protected] >= [email protected]  // (int)
        then
        0485:  return_true
        0062: [email protected] -= [email protected]  // (int)
        [email protected] += 1
        0AB2: ret 1 [email protected]
        end
    else
        if [email protected] > 0
        then
        [email protected] //check the same char again and assume it's the begining of the string but only if there was matching parts before (otherwise it would go back all the time and make infinite loop)
        end
    [email protected] = 0
    end           
end
 
059A:  return_false
0AB2: ret 1 0

:strlen
{
    Example: 0AB1: @strlen 1 string [email protected] return: [email protected]
    In: [email protected] - text;
    Out: [email protected] - size;
}
for [email protected] = 0 to 1024
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
    if not [email protected] == 0
    jf break
    [email protected] += 1
end
0AB2: ret 1 [email protected]

:SEND_CMD
//0AB1: @SEND_CMD 1 text [email protected]
IF 0AA2: [email protected] = "samp.dll"
THEN
    [email protected] += 0x65D30 // FUNC_SEND_CMD
    0AA5: call [email protected] num_param 1 pop 0 [email protected]
END
0AB2: 0
PHP:
{$CLEO .cs}

0000:

wait 8500

while true
wait 0

if
0256:   player $PLAYER_CHAR defined
then
    if
    0AB1:  @isDialogOpen 0 _Return: dType [email protected] dId [email protected]
    then
        if
        0AB1: @GetDialogCaption 0 _Return: Caption [email protected]
        then
            0AC8: [email protected] = allocate_memory_size 260
            0AD3: [email protected] = format "Sign check"  // Dialog caption to find
            if
            0AB1: @IfTextContains 2 mainTextPointer [email protected] pieceToFindPointer [email protected] _returnedPointer [email protected]
            then                 
                0AC8: [email protected] = allocate_memory_size 512
                0AB1: @getDialogText 0 _Return: Text [email protected]
                0AC8: [email protected] = allocate_memory_size 260
                0AB1: @get_digits_to_print param_count 2 text [email protected] memory_to_store_digits_as_text [email protected] 
                0209: [email protected] = random_int_in_ranges 1500 3000 
                wait [email protected]
                0AB1: @SetDialogInputEditBoxText 1 => text [email protected]
                0AB1: @CloseCurrentDialogWithButton 1 Button 1
            end
        end
    end
end

end

:isDialogOpen
0AA2: [email protected] = "samp.dll"
[email protected] += 0x21A0C0
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
0A8E: [email protected] = [email protected] + 0x28
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
if [email protected] == 1
then
    0A8E: [email protected] = [email protected] + 0x2C //dialogType
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0
    0A8E: [email protected] = [email protected] + 0x30 //dialogId
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0
    0485: dialog_open
    0AB2: ret 2 [email protected] [email protected]
else 059A: dialog_closed
end
0AB2: ret 2 -1 -1

:GetDialogCaption
0AA2: [email protected] = "samp.dll"
[email protected] += 0x21A0C0
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
0A8E: [email protected] = [email protected] + 0x28 //DialogOpenOffset
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
if [email protected] == 1 // Dialog open
then
    0A8E: [email protected] = [email protected] + 0x40 //DialogCaptionOffset
    0485: dialog_open
    0AB2: ret 1 [email protected]
else
    059A:  dialog closed
end
0AB2: ret 0

:GetDialogText
0AA2: [email protected] = "samp.dll"
[email protected] += 0x21A0C0
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
0A8E: [email protected] = [email protected] + 0x28 //DialogOpenOffset
0A8D: [email protected] = readMem [email protected] sz 4 vp 0
if [email protected] == 1 // Dialog active
then
    0A8E: [email protected] = [email protected] + 0x2C //DialogTypeOffset
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0
    if or
    [email protected] == 0 // DIALOG_STYLE_MSGBOX
    [email protected] == 1 // DIALOG_STYLE_INPUT
    [email protected] == 3 // DIALOG_STYLE_PASSWORD
    then
        0A8E: [email protected] = [email protected] + 0x34 // DialogTextOffset
        0A8D: [email protected] = readMem [email protected] sz 4 vp 0
        0485: dialog_open
        0AB2: ret 1 [email protected]
    else 059A:  dialog closed
    end
end
0AB2: ret 0

:IfTextContains
{
    [email protected] - the main text
    [email protected] - piece of text to be found within the main text
}
0AB1: @strlen 1 strPtr [email protected] _length [email protected]
0AB1: @strlen 1 strPtr [email protected] _length [email protected]

//initial length check (the phrase can't be longer than the main text)
if 001D:   [email protected] > [email protected]  // (int)
then
059A:  return_false
0AB2: ret 1 0
end

[email protected] -= 1
[email protected] = 0 // counter of the same chars in a row
for [email protected] = 0 to [email protected] // for each char of the main text  ([email protected] = index)   
    0085: [email protected] = [email protected] // (int)
    005A: [email protected] += [email protected]  // (int)
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
    
    0085: [email protected] = [email protected] // (int)
    005A: [email protected] += [email protected]  // (int)
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0

    if 003B:   [email protected] == [email protected]  // (int)   
    then
    [email protected]++
        if 002D:   [email protected] >= [email protected]  // (int)
        then
        0485:  return_true
        0062: [email protected] -= [email protected]  // (int)
        [email protected] += 1
        0AB2: ret 1 [email protected]
        end
    else
        if [email protected] > 0
        then
        [email protected] //check the same char again and assume it's the begining of the string but only if there was matching parts before (otherwise it would go back all the time and make infinite loop)
        end
    [email protected] = 0
    end           
end
 
059A:  return_false
0AB2: ret 1 0

:get_digits_to_print
{
    [email protected] = text
    [email protected] = pointer to memory where digits will be stored as text
}
0AB1: @strlen 1 string [email protected] _return: [email protected]
    for [email protected] = 0 to [email protected] 
        0085: [email protected] = [email protected] // copy pointer
        005A: [email protected] += [email protected]  // add offset (as the loop progresses it becomes pointers to first-last character)
        0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 1 // [email protected] is the ascii number representing character
        if and
        [email protected] >= 0x30 // '0'
        [email protected] <= 0x39 // '9'
        then
        0A8C: write_memory [email protected] size 1 value [email protected] virtual_protect 1
        [email protected] += 1 // move to next address
        end
    end
0A8C: write_memory [email protected] size 1 value 0 virtual_protect 1 // null-termination
0AB2: ret 0

:strlen
{
    Example: 0AB1: @strlen 1 string [email protected] return: [email protected]
    In: [email protected] - text;
    Out: [email protected] - size;
}
for [email protected] = 0 to 1024
    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0
    if not [email protected] == 0
    jf break
    [email protected] += 1
end
0AB2: ret 1 [email protected]       

:SetDialogInputEditBoxText
{
    0.3.DL
    0AB1: @SetDialogInputEditBoxText 1 => text [email protected]
}
if 0AA2: [email protected] = "samp.dll"
then
    0A8E: [email protected] = [email protected] + 0x21A0C0            // SAMP_DIALOG_INFO_OFFSET 
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0     // pDialog;
    0A8E: [email protected] = [email protected] + 0x24                // pDialog->pEditBox;
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0     // pEditBox;
  
    0A8E: [email protected] = [email protected] + 0x81000 // CDXUTEditBox::GetText 
  
    // CDXUTEditBox::SetText takes 2 params
    // 1 - pointer to zero terminated string
    // 2 - bool, if text is to be selected or not
  
    0AA8: call_function_method [email protected] struct [email protected] num_params 2 pop 0 _bSelected 0 _pszText [email protected] _retVal [email protected]
end
0AB2: 0

:CloseCurrentDialogWithButton
{
    0.3.DL
    0AB1: @CloseCurrentDialogWithButton 1 Button 0 // 1 = Left , 0 = Right
}
IF 0AA2: [email protected] = "samp.dll"
THEN 
    0A8E: [email protected] = [email protected] + 0x21A0C0 // SAMP_DIALOG_INFO_OFFSET
    0A8D: [email protected] = readMem [email protected] sz 4 vp 0
    0A8E: [email protected] = [email protected] + 0x6C0F0  //SAMP_DIALOG_CLOSE
    0AA8: call_function_method [email protected] struct [email protected] num_params 1 pop 0 [email protected] $NOT_USED
END
0AB2: 0
 

under19

New Member
Joined
Jun 9, 2020
Messages
1
Likes
0
Points
1
Location
Argentina
1
* Name of the mod (if the mod doesn't exist, you don't have to tell one): Weapon Finder
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): I don't remember now but I think you already know.
* What do you want (the most important part, explain this carefully): The Jul 8, 2019 a guy asked you if you could remake a Weapon Finder (http://ugbase.eu/index.php?threads/closed-accepting-request.20630/page-2), you remade it and now I tried to use it but it seems that it works for 5 minutes or some and then it stops working. I'd be so greateful if you could look into it and solve this issue.
* Details (add more details to your request): It has to be for 0.3.DL samp version.
* On/off key (specify it): That one itself is already set at K+3, I think it's fine like that.
 
Joined
Feb 19, 2020
Messages
1
Likes
0
Points
1
Location
Cluj
1
* Name of the mod (if the mod doesn't exist, you don't have to tell one): Custom Sensibility for each weapon or at least for deagle combat rifles tec9 m4
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): yes, I saw a video with the presentation of this mod which is also private and which very few people have
* What do you want (the most important part, explain this carefully): I want a way to let you put a different sensitivity to your weapons, higher or lower, which when you re-enter the game to keep its settings for each weapon
* Details (add more details to your request)
* On/off key (specify it):automatic or an interface to help you set your sensitivity to weapons
 
Joined
Jan 4, 2019
Messages
2
Likes
0
Points
1
1
* Name of the mod (if the mod doesn't exist, you don't have to tell one):IDK only exist in sobeit projects
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):Only Sobeit have this, see video
Cleo Request
* What do you want (the most important part, explain this carefully)I just want to keep the trailer attached to me at certain times so that the cleo can be turned on or off like it does in the sobeit please.
* Details (add more details to your request)Only i like to on/off the cleo to keep the trailer with me.
* On/off key (specify it): / or -
 
Joined
Oct 14, 2014
Messages
4
Likes
0
Points
26
1
* Name of the mod (if the mod doesn't exist, you don't have to tell one): Healhack
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):
* What do you want (the most important part, explain this carefully) Healhack against all bulltes for SKINSHOT
* Details (add more details to your request) Healhack against all bulltes for SKINSHOT
* On/off key (specify it): Mousebutton4
 
Joined
Apr 26, 2020
Messages
6
Likes
0
Points
1
Location
Serbia
1
* Name of the mod (if the mod doesn't exist, you don't have to tell one):Spray everyone.cs
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): I just got idea
* What do you want (the most important part, explain this carefully): I want etc. type /spray and then every streamed player get on spray animation.
* Details (add more details to your request): When they get on spray animation they wont be able to shoot so it will be easy kill, also if someone can make it doesnt make dmg on them if cant make with giving dmg.
* On/off key (specify it): However i will change it thanks
 

Kukic

New Member
Joined
Oct 17, 2018
Messages
1
Likes
0
Points
1
1
* Name of the mod (if the mod doesn't exist, you don't have to tell one):damager.cs
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): /
* What do you want (the most important part, explain this carefully) i want someone help me to change weapon on damager,its Fire Extinguisher now so can you guys help me to change it to like Flamethrower,Tear Gas or smth like that (available for that script) *On some servers are fixed for Spray Can,Fire Extinguisher and Knife.
* Details (add more details to your request) /
* On/off key (specify it): i will change it
This is the source
CSS:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP

:NONAME_2
   not SAMP.Available
else_jump @NONAME_22
wait 0
jump @NONAME_2

:NONAME_22
0B34: samp register_client_command "kule" to_label @NONAME_368
0B34: samp register_client_command "gasi" to_label @NONAME_380

:NONAME_51
wait 0
if
  [email protected] == 1
else_jump @NONAME_280
[email protected] = 0

:NONAME_80
[email protected] = SAMP.GetActorHandleByPlayerID([email protected])
[email protected] = SAMP.GetPlayerColor([email protected])
if and
056D:   actor [email protected] defined
   not Actor.Dead([email protected])
   not SAMP.IsPlayerPaused([email protected])
else_jump @NONAME_258
Actor.StorePos($PLAYER_ACTOR, [email protected], [email protected], [email protected])
Actor.StorePos([email protected], [email protected], [email protected], [email protected])
050A: [email protected] = distance_between_XYZ [email protected] [email protected] [email protected] and_XYZ [email protected] [email protected] [email protected]
if
  25.0 >= [email protected]
else_jump @NONAME_258
call @NONAME_287 4 [email protected] 0.0 42 3
[email protected] = SAMP.GetPlayerNickname([email protected])
wait 10

:NONAME_258
[email protected] += 1
  [email protected] > 1000
else_jump @NONAME_80

:NONAME_280
jump @NONAME_51

:NONAME_287
[email protected] = RakNet.NewBitStream()
BitStream.Write([email protected], 0, BS_TYPE_BOOL, 1)
BitStream.Write([email protected], [email protected], BS_TYPE_SHORT, 2)
BitStream.Write([email protected], [email protected], BS_TYPE_INT, 4)
BitStream.Write([email protected], [email protected], BS_TYPE_INT, 4)
BitStream.Write([email protected], [email protected], BS_TYPE_INT, 4)
RakNet.LiteRPC(115, [email protected])
RakNet.DeleteBitStream([email protected])
ret 0

:NONAME_368
0B12: [email protected] = [email protected] XOR 1
SAMP.CmdRet

:NONAME_380
chatmsg "Seca je zavrsena." -1
run "seca.cs"
0A93: end_custom_thread
SAMP.CmdRet
 
Top