[REQUEST] Weapon Finder 0.3DL SAMP

Goad

Active Member
Joined
Nov 27, 2018
Messages
25
Likes
2
Points
8
#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):
* What do you want (the most important part, explain this carefully): Something like this :
BUT FOR 0.3DL samp and to work!
* Details (add more details to your request): FOR SAMP 0.3DL AND TO WORK.
* On/off key (specify it): K+3
 

Opcode.eXe

Well-Known Member
Joined
Feb 18, 2013
Messages
1,477
Likes
207
Points
208
Location
( ͡° ͜ʖ ͡°)
Website
www.youtube.com
#3
I cant find the offset for the model of the pickup. So this mod will show all pickups near you:
Code:
{$CLEO .cs}
0000:

WHILE TRUE
    WAIT 0
// FOR ALL PICKUPS
    for [email protected] = 0x9788C0 to 0x97D620 step 0x20
        if
            [email protected] > 0
        then
            0A8E: [email protected] = [email protected] + 0x1A
            0A8D: [email protected] = read_memory [email protected] size 2 virtual_protect 0
            [email protected] *= 0x10000
            0A8F: [email protected] = [email protected] - 0x9788C0
            [email protected] /= 0x20
            005A: [email protected] += [email protected]           
            // GOT THE PICKUP.
            065B: store_pickup [email protected] position_to [email protected] [email protected] [email protected]

            0AB1: call_scm_func @getScreenXYFrom3DCoords 3 3D_coords_X [email protected] Y [email protected] Z [email protected] store_screen_X_to [email protected] Y_to [email protected]
            03F0: enable_text_draw 1
            045A: draw_text_1number [email protected] [email protected] GXT 'ALLRACE' number [email protected]  // ALL RACES WON!~n~~w~$~1~

            

            
            
        end
    end
// FOR ALL PICKUPS END
END


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

Attachments

OP
OP
G

Goad

Active Member
Joined
Nov 27, 2018
Messages
25
Likes
2
Points
8
#4
I cant find the offset for the model of the pickup. So this mod will show all pickups near you:
Code:
{$CLEO .cs}
0000:

WHILE TRUE
    WAIT 0
// FOR ALL PICKUPS
    for [email protected] = 0x9788C0 to 0x97D620 step 0x20
        if
            [email protected] > 0
        then
            0A8E: [email protected] = [email protected] + 0x1A
            0A8D: [email protected] = read_memory [email protected] size 2 virtual_protect 0
            [email protected] *= 0x10000
            0A8F: [email protected] = [email protected] - 0x9788C0
            [email protected] /= 0x20
            005A: [email protected] += [email protected]          
            // GOT THE PICKUP.
            065B: store_pickup [email protected] position_to [email protected] [email protected] [email protected]

            0AB1: call_scm_func @getScreenXYFrom3DCoords 3 3D_coords_X [email protected] Y [email protected] Z [email protected] store_screen_X_to [email protected] Y_to [email protected]
            03F0: enable_text_draw 1
            045A: draw_text_1number [email protected] [email protected] GXT 'ALLRACE' number [email protected]  // ALL RACES WON!~n~~w~$~1~

           

           
           
        end
    end
// FOR ALL PICKUPS END
END


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

Dude i'm saying for weapons finder, droped weapons on the floor something like this.
 
Top