Re: [TF2] Addcond
No, please remove all the sv_cheats handling. That is unnecessary once you have removed the FCVAR_CHEATS flag, and opens the server up to a number of security issues. I see many servers a day exploited because they had cheats on.. plugins should never toggle it to use various features.
|
Re: [TF2] Addcond
Can't get this working without blacking out my server. (Works, just induces darkness)
I've tried removing the cheat flags on addcond with no luck. Anybody get this working? |
Re: [TF2] Addcond
Quote:
|
Re: [TF2] Addcond
Try something like this:
PHP Code:
|
Re: [TF2] Addcond
Did not work blank. :( No fail states occurred.
I haven't had any success calling CTFPlayerShared::AddCond(int, float) either. Lots of server crashes. So I would be happy if someone got this working. :3 |
Re: [TF2] Addcond
The CTFPlayerShared::AddCond works fine from a MMS plugin. If your trying to do it with an SDKCall thats your problem, you cant make SDKCalls with CTFPlayerShared functions.
|
Re: [TF2] Addcond
Quote:
|
Re: [TF2] Addcond
and knowing is half the battle!
|
Re: [TF2] Addcond
Much to my surprise, I got it working via an MM:S plugin. :D The float value is the toggle between on and off. 0 is off and any thing greater turns on a condition.
A lot of neat stuff you can do with this. That said, I'm surprised a native for AddCond hasn't been introduced into the tf2 extension. I had to make my own. :mrgreen: |
Re: [TF2] Addcond
Care to post an extension providing the native for plugins? *anyone*
|
| All times are GMT -4. The time now is 18:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.