flashlight message
I don't know how to use messages but i want to make an flashligth plugin!
Don't say i should use the old one built--in in cs cause i want to make an bigger light circle width brighter light! how to do? a alls want to know how to jump over the "choose team screen" and put everybody into ct team and how to "get the nuber of" mp_freezetime |
The only thing the flashlight message does is update the flashlight icon in the corner of your screen. This is how to turn a player's flashlight on:
Code:
There isn't any way to change its color or make it brighter. |
isn't it possible to make an new flashlight function?
just show an light on the ground/wall where the user is aiming! |
I guess you could create an entity, every frame update it's origin to where the player is aiming, and give it a dynamic glow, but the size of the glow wouldn't be controllable still.
|
Yes it would be. Using a DLIGHT and a bit of code, you could easily recode the flashlight.
|
|
Quote:
|
THX, i just love this!
I think i'll use this in my own hide and seek plugin (the seeker will not have nightvision so he needs an strong flashlight!) |
| All times are GMT -4. The time now is 14:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.