I just took a code from hlsdk and tried to make an native for that function.
And ive got these errors :
PHP Code:
Error 8 error LNK1120: 5 unresolved externals D:\revox\debug\dod_mm_amxx.dll 1 1 revox
Error 6 error LNK2019: unresolved external symbol "class CBaseEntity * __cdecl UTIL_FindEntityInSphere(class CBaseEntity *,class Vector const &,float)" (?UTIL_FindEntityInSphere@@YAPAVCBaseEntity@@PAV1@ABVVector@@M@Z) referenced in function "void __cdecl RadiusDamage(class Vector,struct entvars_s *,struct entvars_s *,float,float,int)" (?RadiusDamage@@YAXVVector@@PAUentvars_s@@1MMH@Z) D:\revox\main.obj revox
Error 7 error LNK2019: unresolved external symbol "int __cdecl UTIL_PointContents(class Vector const &)" (?UTIL_PointContents@@YAHABVVector@@@Z) referenced in function "void __cdecl RadiusDamage(class Vector,struct entvars_s *,struct entvars_s *,float,float,int)" (?RadiusDamage@@YAXVVector@@PAUentvars_s@@1MMH@Z) D:\revox\main.obj revox
Error 3 error LNK2019: unresolved external symbol "void __cdecl ApplyMultiDamage(struct entvars_s *,struct entvars_s *)" (?ApplyMultiDamage@@YAXPAUentvars_s@@0@Z) referenced in function "void __cdecl RadiusDamage(class Vector,struct entvars_s *,struct entvars_s *,float,float,int)" (?RadiusDamage@@YAXVVector@@PAUentvars_s@@1MMH@Z) D:\revox\main.obj revox
Error 4 error LNK2019: unresolved external symbol "void __cdecl ClearMultiDamage(void)" (?ClearMultiDamage@@YAXXZ) referenced in function "void __cdecl RadiusDamage(class Vector,struct entvars_s *,struct entvars_s *,float,float,int)" (?RadiusDamage@@YAXVVector@@PAUentvars_s@@1MMH@Z) D:\revox\main.obj revox
Error 5 error LNK2019: unresolved external symbol "void __cdecl UTIL_TraceLine(class Vector const &,class Vector const &,enum IGNORE_MONSTERS,struct edict_s *,struct TraceResult *)" (?UTIL_TraceLine@@YAXABVVector@@0W4IGNORE_MONSTERS@@PAUedict_s@@PAUTraceResult@@@Z) referenced in function "void __cdecl RadiusDamage(class Vector,struct entvars_s *,struct entvars_s *,float,float,int)" (?RadiusDamage@@YAXVVector@@PAUentvars_s@@1MMH@Z) D:\revox\main.obj revox
Any ideea to resolve this ?