sourcemod/extensions/cstrike/forwards.h
Ruben Gonzalez 494f83395f Fix cstrike extension natives/forwards due to update
Fix using Q_strcpy instead of Q_strncpy

Fix CS:S build

Fix trying to use signature function for WeaponIDToAlias on linux.
2017-08-24 09:16:21 -04:00

21 lines
647 B
C

#ifndef _INCLUDE_CSTRIKE_FORWARDS_H_
#define _INCLUDE_CSTRIKE_FORWARDS_H_
bool CreateWeaponPriceDetour();
bool CreateHandleBuyDetour();
bool CreateTerminateRoundDetour();
bool CreateCSWeaponDropDetour();
void RemoveWeaponPriceDetour();
void RemoveHandleBuyDetour();
void RemoveTerminateRoundDetour();
void RemoveCSWeaponDropDetour();
extern IServerGameEnts *gameents;
extern IForward *g_pHandleBuyForward;
extern IForward *g_pPriceForward;
extern IForward *g_pTerminateRoundForward;
extern IForward *g_pCSWeaponDropForward;
#if SOURCE_ENGINE == SE_CSGO
extern int g_iPriceOffset;
#endif
#endif //_INCLUDE_CSTRIKE_FORWARDS_H_