Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to add flashlight to weapon ?

Featured Replies

Hi i have flashlight.asi (added flashlight to mp5).

I change config file


[KeyBindings]

SwitchLight=9  //turn on-off Key 1 Default Tab

[flashlight1]

Weapon=13           	//internal id for w_mp5

x=0.03

y=-0.015

z=-0.005

qx=0.028

qy=-9.31323E-009

qz=-9.31323E-009

Model=3054732624

PedBone=1232

[flashlight2]

Weapon=17           	//internal id for w_m40a1

x=0.04

y=-0.015

z=-0.005

qx=0.028

qy=-9.31323E-009

qz=-9.31323E-009

Model=3054732624

PedBone=1232

[flashlight3]

Weapon=7           	//internal id for w_pistol

x=0.03

y=-0.015

z=-0.005

qx=0.028

qy=-9.31323E-009

qz=-9.31323E-009

Model=3054732624

PedBone=1232

[flashlight4]

Weapon=9           	//internal id for w_deagle

x=0.03

y=-0.015

z=-0.005

qx=0.028

qy=-9.31323E-009

qz=-9.31323E-009

Model=3054732624

PedBone=1232

[flashlight5]

Weapon=12           	//internal id for w_uzi

x=0.03

y=-0.015

z=-0.005

qx=0.028

qy=-9.31323E-009

qz=-9.31323E-009

Model=3054732624

PedBone=1232

[flashlight6]

Weapon=14           	//internal id for w_ak47

x=0.03

y=-0.015

z=-0.005

qx=0.028

qy=-9.31323E-009

qz=-9.31323E-009

Model=3054732624

PedBone=1232

[flashlight7]

Weapon=10           	//internal id for w_shotgun

x=0.03

y=-0.015

z=-0.005

qx=0.028

qy=-9.31323E-009

qz=-9.31323E-009

Model=3054732624

PedBone=1232

[flashlight8]

Weapon=11           	//internal id for w_BARETTA

x=0.03

y=-0.015

z=-0.005

qx=0.028

qy=-9.31323E-009

qz=-9.31323E-009

Model=3054732624

PedBone=1232



Model-hash ( light_1 ) use =3054732624

Model-hash ( light_2 ) use =3945328506

Key  Code

Left Mouse 1

Right Mouse 2

Middle Mouse 4

A  65

B  66

C  67

D  68

E  69

F  70

G  71

H  72

I  73

J  74

K  75

L  76

M  77

N  78

O  79

P  80

Q  81

R  82

S  83

T  84

U  85

V  86

W  87

X  88

Y  89

Z  90

0  48

1  49

2  50

3  51

4  52

5  53

6  54

7  55

8  56

9  57

Numpad 0 96

Numpad 1 97

Numpad 2 98

Numpad 3 99

Numpad 4 100

Numpad 5 101

Numpad 6 102

Numpad 7 103

Numpad 8 104

Numpad 9 105

Multiply 106

Add  107

Enter  13

Subtract 109

Decimal  110

Divide  111

F1  112

F2  113

F3  114

F4  115

F5  116

F6  117

F7  118

F8  119

F9  120

F10  121

F11  122

F12  123

Backspace 8

Tab  9

Enter  13

Shift  16

Lcontrol 162

Rcontrol 163

Lalt  164

Ralt  165

Caps Lock 20

Esc  27

Spacebar 32

Page Up  33

Page Down 34

End  35

Home  36

Left Arrow 37

Up Arrow 38

Right Arrow 39

Down Arrow 40

Insert  45

Delete  46

Num Lock 144

ScrLk  145

Pause/Break 19

; :  186

= +  187

- _  189

/ ?  191

` ~  192

[ {  219

\ |  220

] }  221

" '  222

,  188

.  190

/  191

LShift  160

RShift  161

PrintSCrn 44

L-Win  91

R-Win  92

Menu  93

Num Enter 108

But not work with all weapon (only pistol and mp5), can I have flashlight witch m4 ? ak47 ? shoutgan ?

Where is this from???

Google is your best friend.

@RPS

He means where did you get it.

Also, I searched for this mod online and the only thing that came up was a flashlight mod for the mp5 / pistol specifically, so I'm not sure how much would have to be done for it to work with everything.

Edited by Iconography

de816a4fa5.png

Have you ever thought of the H button? Practical and simple. Too bad only works for pistol.

Edited by Mage25

[size=4][font=arial]Download LCPDFR: [url="http://www.lcpdfr.com/cops/forum/index.php?/files/category/1-lcpd-first-response/"]http://www.lcpdfr.co...first-response/[/url] (Remember to apply any Hotfixes)
LCPDFR Diagnostics Tool: [url="http://www.lcpdfr.com/cops/forum/index.php?/files/file/2-g17-media-iv-diagnostics-tool-043/"]http://www.lcpdfr.co...stics-tool-043/[/url][/font][/size]
[size=4][font=arial]GTA IV Update (1.0.7.0): [url="http://support.rockstargames.com/entries/484496-grand-theft-auto-iv-patch-7-title-update-v-1-0-7-0-english-1-0-6-1-russian-1-0-5-2-japanese"]http://support.rocks...-0-5-2-japanese[/url][/font][/size]

The H button (as much as I love LCPD:FR) sucks hard time. It just shines down pointlessly. I love the flashlight mod, I use it only on the MP5 and Pistol though, so I can't really help you. Sorry OP.

Due to the graphic nature of this post, reader discretion is advised.
lspdfrsig2njsuy.jpg

  • Author

In my opinion torch should work with any weapon, the script retrieves the data from the configuration file and "anchors the object" to arms

  • 3 weeks later...

Damn this crashes whenever I try and turn it on...dmanit

For those of you who have it working, do you use dsound or xlive? I did not have luck with either.

I am also using scripthook 5.1

I know this isnt a support topic but it is hard to find support for the mod...

  • 4 months later...
  • 2 months later...

The H button (as much as I love LCPD:FR) sucks hard time. It just shines down pointlessly. I love the flashlight mod, I use it only on the MP5 and Pistol though, so I can't really help you. Sorry OP.

Can you find me a link for the mod you're talking about?

[size=5][color=#800000][font=arial, helvetica, sans-serif]Watch Me On Youtube[/font][/color][/size] [size=4][url="http://www.youtube.com/JamesCraftStudios"][color=#000000][font=arial, helvetica, sans-serif]http://www.youtube.com/JamesCraftStudios[/font][/color][/url][/size] [color=#800000][size=5][font=arial, helvetica, sans-serif]If I helped you in any way, be sure to hit that[/font][/size][/color][color=#000000][font=arial, helvetica, sans-serif][size=3] [img]http://img521.imageshack.us/img521/7770/repup.png[/img][/size][/font][/color]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Similar Content

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.