Raised This Month: $51 Target: $400
 12% 

flashlight modifications


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Salamon
Senior Member
Join Date: Dec 2007
Location: P(r)oland
Old 05-29-2008 , 18:02   flashlight modifications
Reply With Quote #1

i have code to catch moment when someone have turned on or off his flashlight i mean
Code:
         if (pev(id, pev_effects) == 8/flashligh on -> 0/flashlight off)
        {
          //something here
        }
i wanted to modificate flashligh power etc but when im using customflashlight pev_effects isnt 8 or 0 for it

then someone know a way to maybe increase size of flashlight or something without changing his effect and character? that normal flashlight is dissapearing if we aiming far, cause customflashlight isnt behaving like this
__________________
This is 10% luck, 20% skill, 15% concentrated power of will,
5% pleasure, 50% pain and 100% reason to remember my name..
Salamon is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 05-29-2008 , 21:35   Re: flashlight modifications
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=16963
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
Salamon
Senior Member
Join Date: Dec 2007
Location: P(r)oland
Old 05-30-2008 , 18:10   Re: flashlight modifications
Reply With Quote #3

please read to the end, i cant use customflashlight cause its effect isnt 8, and i cant catch when player have turned on his customflashlight, and it isnt realistic, flashling as far as you can aim, normal flashlight is disappearing if we will flash far
__________________
This is 10% luck, 20% skill, 15% concentrated power of will,
5% pleasure, 50% pain and 100% reason to remember my name..
Salamon is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 05-30-2008 , 23:34   Re: flashlight modifications
Reply With Quote #4

Then change it to make it not shine light when it's too far away.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode