[CLOSED] Accepting request

Status
Not open for further replies.

HarrisonFord

Active member
Joined
Nov 25, 2013
Messages
135
Reaction score
3
1. Name of the mod (if the mod doesn't exist, you don't have to tell one): vehicle stabilizer?
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): N/A
3. What do you want (the most important part, explain this carefully): When my vehicle is about to roll over it will correct itself.
4. Details (add more details to your request): Just want it to look legit :D
5. Need On/off key or command ?: No. Automatic
6. Which client your server use?: SAMP 0.3.7 R1
7. Give any picture or video: -
8. You use SAMPFUNCS?: No
 

qweasdz

Active member
Joined
Nov 4, 2014
Messages
147
Reaction score
7
1. Name of the mod (if the mod doesn't exist, you don't have to tell one): Driver kicker.
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): N/A
3. What do you want (the most important part, explain this carefully): When im sitting as a passenger, i want o kick the driver out of the car and be a driver myself. There is a similar cleo like VSteal, but other player sees himself as a driver as well. I want that the driver would be kicked out of the car, and i would be the driver instead of the passenger.
4. Details (add more details to your request): Added in section 3.
5. Need On/off key or command ?: It could be a cmd.
6. Which client your server use?: R2
7. Give any picture or video: -
8. You use SAMPFUNCS?: Yes
 

Assbusta

New member
Joined
Jul 13, 2019
Messages
3
Reaction score
0
1. Name of the mod (if the mod doesn't exist, you don't have to tell one):
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):
3. What do you want (the most important part, explain this carefully): I want a Cleo that would automatically do signchecks for me, I don't know if you have dealt with this type of signchecks before, I'll post a picture for you how the signcheck looks like, fairly simple.
4. Details (add more details to your request): pretty simple, Cleo that would automatically do signchecks for me if detected
5. Need On/off key or command ?: up to you buddy, whatever you prefer, but please if there is an On/Off key or command tell me what it is.
6. Which client your server use?: 0.3.7-R2
7. Give any picture or video:
HhaJM2S.png

8. You use SAMPFUNCS?: Is it necessary? if so I can install that.
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
@qweasdz
PHP:
{$CLEO .cs}
0000:


REPEAT
    WAIT 0
UNTIL 0AFA:  SAMP_IS_READY 

0B34: samp register_client_command "kick" to_label @CMD


WHILE TRUE
    WAIT 0
   
IF AND
10@ == TRUE
00DF:   actor $PLAYER_ACTOR driving
THEN 
    03C0: 0@ = actor $PLAYER_ACTOR car
    072A: put_actor $PLAYER_ACTOR into_car 0@ driverseat
    10@ = FALSE
END

END

    
    
    
:CMD
IF
10@ == FALSE
THEN
    10@ = TRUE
END    
0B43: samp cmd_ret
 

Attachments

  • KICK.cs
    17.7 KB · Views: 9

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
@Assbusta
All offsets / pointers was get using samp 0.3.7 - R2 client.
If have any question please use PM system

PHP:
{$CLEO .cs}

0000: NOP

wait 10000

while true
wait 0

0AC8: 0@ = allocate_memory_size 145
0AC8: 30@ = allocate_memory_size 145
0AC8: 3@ = allocate_memory_size 145
0AC8: 4@ = allocate_memory_size 145
0AC8: 5@ = allocate_memory_size 145
0AD3: 4@ = "/signcheck"   //Check text
0AB1: @GetChatEntryText 1 id 99 to 0@
if                 
0AB1: @IfTextContains 2 mainTextPointer 0@ pieceToFindPointer 4@ _returnedPointer 5@ //5@ is useless xDD
then
    0AB1: @get_digits_to_print param_count 2 text 0@ memory_to_store_digits_as_text 30@
    0AD3: string_format 3@ format "/signcheck %s" 30@
    0AB1: @SEND_CMD 1 3@
    wait 1000
end
0AC9: free_allocated_memory 0@
0AC9: free_allocated_memory 30@
0AC9: free_allocated_memory 3@                                     
0AC9: free_allocated_memory 4@
0AC9: free_allocated_memory 5@

end

:SEND_CMD
IF 0AA2: 1@ = "samp.dll"
THEN
    1@ += 0x65D30 //FUNC_SEND_CMD_R2  
    0AA5: call 1@ num_param 1 pop 0 0@
END
0AB2: 0

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

:getChatEntryText
{
    0AC8: 0@ = allocate_memory_size 260
    0AB1: @getChatEntryText 1 id 99 to 0@ 
    0.3.7 - R2
}
IF 0AA2: 1@ = "samp.dll"
THEN
    1@ += 0x21A0F0
    0A8D: 1@ readMem 1@ sz 4 vp 0
    1@ += 0x132
    0@ *= 0xFC
    005A: 1@ += 0@ 
    1@ += 0x20
    0AA3: 1@
END
0AB2: ret 1 1@

:IfTextContains
{
    0@ - the main text
    1@ - piece of text to be found within the main text
} 
0AB1: @StrLen 1 strPtr 0@ _length 31@
0AB1: @StrLen 1 strPtr 1@ _length 30@ 

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

31@ -= 1 
26@ = 0 // counter of the same chars in a row 
for 29@ = 0 to 31@ // for each char of the main text  (29@ = index)    
    0085: 24@ = 0@ // (int)
    005A: 24@ += 29@  // (int)
    0A8D: 28@ = read_memory 24@ size 1 virtual_protect 0
    
    0085: 23@ = 1@ // (int)
    005A: 23@ += 26@  // (int)
    0A8D: 27@ = read_memory 23@ size 1 virtual_protect 0

    if 003B:   28@ == 27@  // (int)   
    then
    26@++
        if 002D:   26@ >= 30@  // (int)
        then
        0485:  return_true
        0062: 24@ -= 30@  // (int)
        24@ += 1
        0AB2: ret 1 24@
        end
    else
        if 26@ > 0
        then
        29@-- //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
    26@ = 0 
    end           
end 
 
059A:  return_false
0AB2: ret 1 0

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

Attachments

  • SignCheck.cs
    21.5 KB · Views: 11

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
@Forever15

PHP:
{$CLEO .cs}

0000: NOP

WAIT 10000

WHILE TRUE
WAIT 0

IF
0ab0: 57 // 9
THEN
    0A8D: 0@ = read_memory 0xC7E008 size 4 virtual_protect 0
    0A8D: 1@ = read_memory 0xC7E00C size 4 virtual_protect 0
    0A8D: 2@ = read_memory 0xC7E010 size 4 virtual_protect 0
    IF AND
    not 0@ == 0.0
    not 1@ == 0.0
    not 2@ == 0.0
    THEN
        018A: 28@ = create_checkpoint_at 1@ 2@ 3@
        06D5: 29@ = create_racing_checkpoint_at 1@ 2@ 3@ point_to 1@ 2@ 3@ type 1 radius 1.0
    END
END

IF
00ED:   actor $PLAYER_ACTOR sphere 0 near_point 1@ 2@ radius 1.0 1.0 on_foot
THEN
    0164: disable_marker 28@
    06D6: disable_racing_checkpoint 29@
END

END
 

Attachments

  • Ok.cs
    18 KB · Views: 3
Last edited:

KamikazeSripterul

Well-known member
Joined
Jun 30, 2019
Messages
353
Reaction score
23
1. Name of the mod (if the mod doesn't exist, you don't have to tell one): It doesn't have one
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): I thought of it myself
3. What do you want (the most important part, explain this carefully): So what I want is that the car to be limited to a certain speed, but it has to work on any server, so I thought you might know how to make it in .cs file.
4. Details (add more details to your request):
5. Need On/off key or command ?: Command
6. Which client your server use?: 0.3.7
7. Give any picture or video: I can't give any, I don't know how to If the mod doesn't exist, yet.
8. You use SAMPFUNCS?: No.

@Parazitas
 

Forever18

Expert
Joined
Dec 31, 2015
Messages
512
Reaction score
13
@Forever15

PHP:
{$CLEO .cs}

0000: NOP

WAIT 10000

WHILE TRUE
WAIT 0

IF
0ab0: 57 // 9
THEN
    0A8D: 0@ = read_memory 0xC7E008 size 4 virtual_protect 0
    0A8D: 1@ = read_memory 0xC7E00C size 4 virtual_protect 0
    0A8D: 2@ = read_memory 0xC7E010 size 4 virtual_protect 0
    IF AND
    not 0@ == 0.0
    not 1@ == 0.0
    not 2@ == 0.0
    THEN
        018A: 28@ = create_checkpoint_at 1@ 2@ 3@
        06D5: 29@ = create_racing_checkpoint_at 1@ 2@ 3@ point_to 1@ 2@ 3@ type 1 radius 1.0
    END
END

IF
00ED:   actor $PLAYER_ACTOR sphere 0 near_point 1@ 2@ radius 1.0 1.0 on_foot
THEN
    0164: disable_marker 28@
    06D6: disable_racing_checkpoint 29@
END

END
still not working :(
 

kokom7

Active member
Joined
Nov 4, 2016
Messages
42
Reaction score
1
Location
United Kingdom
1. Name of the mod (if the mod doesn't exist, you don't have to tell one): Driver Switcher
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): My dirty brain
3. What do you want (the most important part, explain this carefully): I want i could be the car driver when my status was passenger, but in the driver/ other player screen i still on passenger position, and i want this could be Toggled ON/OFF, when i press the key to take control the driver it will give me the driver status, when i press the OFF key, i will go back to my passenger seat, the correct car seat position number
4. Details (add more details to your request): Makes me from Passenger to Driver, without getting caught in others screen, and i can go back to last passenger status/seat
5. Need On/off key or command ?: ON ( ALT + = ) . OFF ( ALT + - )
6. Which client your server use?: 0.3DL
7. Give any picture or video: -
8. You use SAMPFUNCS?: No
 

Ecol

Member
Joined
Apr 27, 2019
Messages
6
Reaction score
0
1. Name of the mod (if the mod doesn't exist, you don't have to tell one): Wallhack cleo
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): There are many videos with it ;D
3. What do you want (the most important part, explain this carefully): Nametag wallhack, but can be with health/armor just nametag is most important :)
4. Details (add more details to your request): I'm using samp R3
5. Need On/off key or command ?: yes, if you can set it to O AND P (pressing OP at same time)
6. Which client your server use?: 0.3.7 R3
7. Give any picture or video: -
8. You use SAMPFUNCS?: Nope
 

Assbusta

New member
Joined
Jul 13, 2019
Messages
3
Reaction score
0
@Assbusta
All offsets / pointers was get using samp 0.3.7 - R2 client.
If have any question please use PM system

PHP:
{$CLEO .cs}

0000: NOP

wait 10000

while true
wait 0

0AC8: 0@ = allocate_memory_size 145
0AC8: 30@ = allocate_memory_size 145
0AC8: 3@ = allocate_memory_size 145
0AC8: 4@ = allocate_memory_size 145
0AC8: 5@ = allocate_memory_size 145
0AD3: 4@ = "/signcheck"   //Check text
0AB1: @GetChatEntryText 1 id 99 to 0@
if                
0AB1: @IfTextContains 2 mainTextPointer 0@ pieceToFindPointer 4@ _returnedPointer 5@ //5@ is useless xDD
then
    0AB1: @get_digits_to_print param_count 2 text 0@ memory_to_store_digits_as_text 30@
    0AD3: string_format 3@ format "/signcheck %s" 30@
    0AB1: @SEND_CMD 1 3@
    wait 1000
end
0AC9: free_allocated_memory 0@
0AC9: free_allocated_memory 30@
0AC9: free_allocated_memory 3@                                    
0AC9: free_allocated_memory 4@
0AC9: free_allocated_memory 5@

end

:SEND_CMD
IF 0AA2: 1@ = "samp.dll"
THEN
    1@ += 0x65D30 //FUNC_SEND_CMD_R2 
    0AA5: call 1@ num_param 1 pop 0 0@
END
0AB2: 0

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

:getChatEntryText
{
    0AC8: 0@ = allocate_memory_size 260
    0AB1: @getChatEntryText 1 id 99 to 0@
    0.3.7 - R2
}
IF 0AA2: 1@ = "samp.dll"
THEN
    1@ += 0x21A0F0
    0A8D: 1@ readMem 1@ sz 4 vp 0
    1@ += 0x132
    0@ *= 0xFC
    005A: 1@ += 0@
    1@ += 0x20
    0AA3: 1@
END
0AB2: ret 1 1@

:IfTextContains
{
    0@ - the main text
    1@ - piece of text to be found within the main text
}
0AB1: @StrLen 1 strPtr 0@ _length 31@
0AB1: @StrLen 1 strPtr 1@ _length 30@

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

31@ -= 1
26@ = 0 // counter of the same chars in a row
for 29@ = 0 to 31@ // for each char of the main text  (29@ = index)   
    0085: 24@ = 0@ // (int)
    005A: 24@ += 29@  // (int)
    0A8D: 28@ = read_memory 24@ size 1 virtual_protect 0
   
    0085: 23@ = 1@ // (int)
    005A: 23@ += 26@  // (int)
    0A8D: 27@ = read_memory 23@ size 1 virtual_protect 0

    if 003B:   28@ == 27@  // (int)  
    then
    26@++
        if 002D:   26@ >= 30@  // (int)
        then
        0485:  return_true
        0062: 24@ -= 30@  // (int)
        24@ += 1
        0AB2: ret 1 24@
        end
    else
        if 26@ > 0
        then
        29@-- //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
    26@ = 0
    end          
end

059A:  return_false
0AB2: ret 1 0

:strlen
{
    Example: 0AB1: @strlen 1 string 1@ return: 3@
    In: 0@ - text;
    Out: 1@ - size;
}
for 1@ = 0 to 1024
    0A8D: 2@ = read_memory 0@ size 1 virtual_protect 0
    if not 2@ == 0
    jf break
    0@ += 1
end
0AB2: ret 1 1@
its not working for some reason bro
 

pole419

New member
Joined
Jun 19, 2019
Messages
4
Reaction score
0
1. Name of the mod (if the mod doesn't exist, you don't have to tell one): fishingbot
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): like sarg.lt fishing bot but it has to hold arrows, and it goes very slow with columns.
3. What do you want (the most important part, explain this carefully): That it would auto-fish it self, with command /zvejoti
4. Details (add more details to your request): like sarg.lt fishing bot, but for sng.lt
5. Need On/off key or command ?: F11
6. Which client your server use?: 0.3.7
7. Give any picture or video: -
8. You use SAMPFUNCS?: yes
 

qweasdz

Active member
Joined
Nov 4, 2014
Messages
147
Reaction score
7
Request form.:
1.
Name of the mod (if the mod doesn't exist, you don't have to tell one): Driveby with any weapon.
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):
3. What do you want (the most important part, explain this carefully): I want a cleo that i could do a driveby with ANY WEAPON, including minigun and guns like that.
4. Details (add more details to your request):Done that
5. Need On/off key or command ?: Could be a key.
6. Which client your server use?:R2
7. Give any picture or video:
8. You use SAMPFUNCS?: Yes
 

Sam201

Well-known member
Joined
Sep 22, 2014
Messages
233
Solutions
1
Reaction score
15
Request form.:
1.
Name of the mod (if the mod doesn't exist, you don't have to tell one): Driveby with any weapon.
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):
3. What do you want (the most important part, explain this carefully): I want a cleo that i could do a driveby with ANY WEAPON, including minigun and guns like that.
4. Details (add more details to your request)one that
5. Need On/off key or command ?: Could be a key.
6. Which client your server use?:R2
7. Give any picture or video:
8. You use SAMPFUNCS?: Yes
You can use nop reset player weapons and set player armed weapon
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
your job is to edit the ID to weapon name.
Oh rly? How it looks?
PHP:
{$CLEO .cs}
0000: NOP
03F0: enable_text_draw 1 

0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED006' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: Knife ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED008' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: Bat ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED010' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: Shovel ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED012' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: Flowers ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED014' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: Colt45 ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED016' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: Silenced Colt ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED018' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: Desert Eagle ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED020' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: Shotgun ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED022' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: Sawn Off Shotgun ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED024' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: Combat Shotgun ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED026' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: UZI ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED028' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: MP5 ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED030' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: AK47 ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED032' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: M4 ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED034' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: TEC9 ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED036' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: Rifle ID: ~1~"
wait 100
0AA8: call_function_method 0x6A0050 0xC1B340 num_params 1 pop 0 'CRED038' 0@ //// Get gxt text address by gxt name
0AA5: call 0x718600 2 pop 2 0@ "Name: Sniper ID: ~1~"


WHILE TRUE
    WAIT 0
    
if and 
0AB0: 75
0AB0: 51
then
    if 13@ == true
    then
        13@ = false
    else
        13@ = true
    end
  wait 500
end
    
if
13@ == true
then
    0A8D: 29@ = read_memory 0xB7449C size 4 virtual_protect 0
    000A: 29@ += 0x4
    0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
    for 30@ = 0 to 89344 step 0x100
        0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
        000A: 29@ += 0x1
        if and
            0029:  31@ >= 0x00 
            001B:  0x80 > 31@
        then 
            005A: 31@ += 30@     
            if and
            03CA:   object 31@ exists
            02CC:   object 31@ bounding_sphere_visible
            then  
                0984: 10@ = object 31@ model
                if
                0039: 10@ == 335
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED006' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 336
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED008' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 337
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED010' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 325
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED012' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 344
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED014' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 347
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED016' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 348
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED018' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 349
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED020' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 350
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED022' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 351
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED024' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 352
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED026' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 353
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED028' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 355
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED030' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 356
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED032' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 372
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED034' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 357
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED036' number 10@  // ~1~
                end
                
                if
                0039: 10@ == 358
                then
                    01BB: store_object 31@ position_to 1@ 2@ 3@
                    0AB1: @getScreenXYFrom3DCoords 3 3D_coords_X 1@ Y 2@ Z 3@ store_screen_X_to 5@ Y_to 6@   
                    0342: set_text_draw_centered 1 
                    081C: draw_text_outline 1 RGBA 0 0 0 255 
                    033F: set_text_draw_letter_size 0.3 1.0 
                    0340: set_text_draw_RGBA 0 255 0 255 
                    045A: draw_text_1number 5@ 6@ GXT 'CRED038' number 10@  // ~1~
                end
            end
        end 
    end  
end
 
END

//0AB1: call_scm_func @getScreenXYFrom3DCoords 3 3D_coords_X 0@ Y 1@ Z 2@ store_screen_X_to 3@ Y_to 4@
:getScreenXYFrom3DCoords
0AA7: call_function 0x70CE30 num_params 6 pop 6 clipNear 1 clipFar 1 yMult 7@s xMult 6@s outVector 2@s inVector 0@s result 29@
0073: 2@ /= 6@
0073: 2@ /= 4@
0073: 3@ /= 7@
0073: 3@ /= 4@
2@ *= 640.0
3@ *= 448.0
0AB2: ret 2 2@ 3@

//0AB1: @GetObjectInterior 1 OBJECT_HANDLE 0@ STORE_TO 1@
:GetObjectInterior 
0A98: 1@ = object 0@ struct
1@ += 47
0A8D: 2@ = read_memory 1@ size 1 virtual_protect 1
0AB2: ret 1 2@
 

Attachments

  • Weapon Finder.cs
    35.2 KB · Views: 33

san11

Active member
Joined
Aug 13, 2015
Messages
51
Reaction score
3
Request form.:
1.
Name of the mod (if the mod doesn't exist, you don't have to tell one): Reaction hack
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): Somewhere
3. What do you want (the most important part, explain this carefully): Every 10 minutes there is a reaction test where you basically enter a random string they gave and win certain amount of money
4. Details (add more details to your request):String is in the chat, it goes like this "Ko prvi ukuca %s(string) osvaja 316 dinara" , all you need to do is enter the random string in the chat and press enter.
5. Need On/off key or command ?: If possible, on/off key is O
6. Which client your server use?: 0.3.7
7. Give any picture or video: https://prnt.sc/ofq91k
8. You use SAMPFUNCS?: Yes
 

Harrisonwells

Member
Joined
Jul 9, 2017
Messages
18
Reaction score
0
1. Name of the mod (if the mod doesn't exist, you don't have to tell one):Litefoot
2. Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not):Rss-rp
3. What do you want (the most important part, explain this carefully):auto litefoot
4. Details (add more details to your request):auto litefoot when shooting and to toggle pres g twice
5. Need On/off key or command ?:gg
6. Which client your server use?:0.3.7 compatible for sampfuncs
7. Give any picture or video:
8. You use SAMPFUNCS?:yes
 
Status
Not open for further replies.
Top