CSS Block flash for team but allow flash for self
Using the Sunglasses plugin as a start, thank you,
https://forums.alliedmods.net/showth...ght=sunglasses I am trying to write a plugin where 1) Only bots can be flashed 2) You can't flash your teammates 3) You can flash yourself I have 1+2 working but need help to figure out #3. PHP Code:
|
Re: CSS Block flash for team but allow flash for self
You could hook https://wiki.alliedmods.net/Counter-...hbang_detonate and write down the userid from that event, and possibly a time buffer
|
Re: CSS Block flash for team but allow flash for self
May this helps: https://raw.githubusercontent.com/mu...ts/flashmod.sp
|
Re: CSS Block flash for team but allow flash for self
Quote:
This not only answers my question and gives me exactly what I need, it is an AWESOME plugin collection that is on a professional coding level. It is an excellent resource for anyone writing plugs since they show how to do a wide variety of very useful things. How did you find out about this? Do you have any other collections to suggest? THANK YOU!!! |
Re: CSS Block flash for team but allow flash for self
Anyone got this working in go?
|
Re: CSS Block flash for team but allow flash for self
Quote:
It is close to working perfectly. Just need a few more days. |
All times are GMT -4. The time now is 02:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.