I'm still getting compile errors from your plugin pertaining to 'vectors' differing from prototypes:
Code:
// C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\Unedited\ammo_pack_deployers-l4d2.sp(490) : error 181: function argument named 'vector' differs from prototype
// C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\Unedited\ammo_pack_deployers-l4d2.sp(527) : error 181: function argument named 'vector' differs from prototype
// C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\Unedited\ammo_pack_deployers-l4d2.sp(564) : error 181: function argument named 'vector' differs from prototype
But it was a simple fix, all I felt that I needed to do was add
const to the beginning of
vector and
qangle, and it worked.
I also changed
vector to
vectorPos in case it clashes with a reserved keyword.
public Action L4D_OnSpawnTank(const float vectorPos[3], const float qangle[3])
public Action L4D_OnSpawnWitch(const float vectorPos[3], const float qangle[3])
public Action L4D_OnSpawnWitchBride(const float vectorPos[3], const float qangle[3])