No Fall Damage
2 Attachment(s)
I used the code provided in the script forum.. I credited the author for the use of his code in the plugin..
The only reason I posted this is because I run a zombiemod server and players falling to their death before the first zombie spawn was causing issues. Also turning mp_falldamage 0 does not work with HL2 or CS:S so I had to get something working. Thanks for the post in the script forums as it works quite well. Requires: SDKhooks Credits: alexip121093, sourcemod scripting forums. I added the compiled version as the compiler on the site does not support sdkhooks |
Re: No Fall Damage
cool
|
Re: No Fall Damage
can you add a cvar to turn it off or on? That way I can enable it on certain maps and disable it on most others.
|
Re: No Fall Damage
any update on if you can add a cvar to enable or disable it? that way, I don't have to have it running on every map... just those that players get damaged by falling.
|
Re: No Fall Damage
I edited it to add a CVAR to enable/disable it, and received compile warning 209, but it still works and now I can turn it on and off.
//SourceMod Batch Compiler // by the SourceMod Dev Team //// nofalldamage.sp // C:\srcds\orangebox\cstrike\addons\sourcemod\s cripting\nofalldamage.sp(42) : w arning 209: function "OnTakeDamage" should return a value // Header size: 2192 bytes // Code size: 376 bytes // Data size: 428 bytes // Stack/heap size: 16384 bytes; Total requirements: 19380 bytes // // 1 Warning. // // Compilation Time: 0.55 sec // ---------------------------------------- Press enter to exit ... I can put the .sp file if you want so you can review and maybe figure out why I'm receiving the warning |
Re: No Fall Damage
Quote:
PHP Code:
|
Re: No Fall Damage
Thanks a million :)
Now I can use a properly edited one instead of mine that had that warning :) |
Re: No Fall Damage
nice still working. tnx!
|
Re: No Fall Damage
-Added convar support with transitional syntax. (sm 1.7.x required)
-Improved code efficiency Code:
#include <sourcemod> |
Re: No Fall Damage
Does this currently work with CS:GO, didn't seem like it?
|
All times are GMT -4. The time now is 21:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.