Thread: No Fall Damage
View Single Post
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 05-09-2011 , 21:28   Re: No Fall Damage
Reply With Quote #5

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
TnTSCS is offline