help pls
I am trying to create a custom attributes plugin because no one has created an "apply addCond on hit" attribute, and I really need that. I'm using orion.sp as a base since I'm new to sourcemod. However, I've been trying to get orion.sp to compile to make sure I'm doing it right, but I can't even that to compile (despite Orion's attributes just fine in-game). I have all of the .inc files required, but when I run the compile.exe it gives this:
Code:
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\include\cw3-attributes.inc(144) : error 017: undefined symbol "GetClientSlot"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\include\cw3-attributes.inc(190) : error 017: undefined symbol "GetClientSlot"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\include\cw3-attributes.inc(236) : error 017: undefined symbol "GetClientSlot"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\orion.sp(1293) : error 017: undefined symbol "IfDoNextTime2"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\orion.sp(2907) : error 017: undefined symbol "TF_DMG_PREVENT_PHYSICS_FORCE"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\orion.sp(3334) : error 017: undefined symbol "TF_DMG_PREVENT_PHYSICS_FORCE"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\orion.sp(3510) : error 017: undefined symbol "TF_DMG_PREVENT_PHYSICS_FORCE"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\orion.sp(3883) : error 017: undefined symbol "TF_DMG_PREVENT_PHYSICS_FORCE"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\orion.sp(3893) : error 017: undefined symbol "TF_DMG_PREVENT_PHYSICS_FORCE"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\orion.sp(3941) : error 017: undefined symbol "TF_DMG_PREVENT_PHYSICS_FORCE"
I've tried, and I can't find anything on what these errors are coming from. I don't know where they're supposed to be defined if not in the .inc files, and I've checked to make sure I'm using the most recent .inc files, but I can't find anything on how to fix this (ex: looking up "GetClientSlot" on google only gives you 2 results, both of which are just links to orion.sp on github). If anyone could help me, I'd
really appreciate it. I'm desperately trying to finish this Reverse Weapons mod but I'm an idiot and I can't get past this brick wall because I'm new to SM