How will I catch if someone is flashed?
Hello there,
Title says all :) |
Re: How will I catch if someone is flashed?
I've told you before in another thread. Hook ScreenFade message.
|
Re: How will I catch if someone is flashed?
Yeah, but what to do when i hooked it how to catch the flash.
|
Re: How will I catch if someone is flashed?
Run this:
Code:
Test different types of flashes and see how all of the values are. You will know that the color will be white, so RGB will be 255,255,255. Also, the alpha is always only 2 values: 255 (full flash) and like 200 (partial flash, value may be different). Once you know those values, you hook ScreenFade message and check if those values are set. If the values match, then the player got flashed. |
Re: How will I catch if someone is flashed?
You can use hamsandwich updated module for it and it efficient.
PHP Code:
|
Re: How will I catch if someone is flashed?
Can someone explain this to me more proplely?
|
Re: How will I catch if someone is flashed?
*facepalm* all of this was discussed in another thread. BY THE SAME GUY.
a thread discussing this. http://forums.alliedmods.net/showthr...flashed+player a plugin that properly utilizes flash functions http://forums.alliedmods.net/showthr...ighlight=flash more helpful information http://forums.alliedmods.net/showthr...flashed+player YAY search tool! |
Re: How will I catch if someone is flashed?
I said EXPLAIN..
|
| All times are GMT -4. The time now is 00:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.