Is my first plugin with 3rd party dependency, so I may have forgotten some points about scripting or instructions.
@Maur0, I added the smx file now compiled by Spider in the main post. You can download and test.
So here are the steps in case you need to do that someday.
- Download Left 4 DHooks plugin
- Unpack the zip file and get the .inc file inside the scripting folder (sourcemod\scripting\include\left4dhooks.inc)
- Go to the Spider Compiler website
- Drop the .inc file at the "Drop .inc files here" area
- Paste the l4d2_nerf_damage_common.sp sourcecode in the left area
- Click Compile then Download
OR
- Windows Only (Not Sure)
- Download Left 4 DHooks plugin
- Unpack the zip file and get the .inc file inside the scripting folder (sourcemod\scripting\include\left4dhooks.inc)
- Paste the left4dhooks.inc in your SM sourcemod\scripting\include folder
- Paste the l4d2_nerf_damage_common.sp file in your SM sourcemod\scripting folder
- Drag the l4d2_nerf_damage_common.sp file to the spcomp.exe file, located in the same folder
- Get the file generated (l4d2_nerf_damage_common.smx)
There are some tutorials around the forum about how to compile plugins,
I use one great from Dragokas that let me compile any .sp file just by double click on
Windows.
__________________