When i was attempting to get invisible man to work with amx9.9 i noticed i needed to include the VexdUM_stock.inc, so i did that and then got these errors
Code:
C:\Heros\amx9.9\include\VexdUM_stock.inc(204) : error 021: symbol already defined: "IVecFVec"
C:\Heros\amx9.9\include\VexdUM_stock.inc(213) : error 021: symbol already defined: "FVecIVec"
Then went through the superheromod.inc and found the same defination names IVecFVec and IVecFVec
The code for them looks differnt to me, but may very well perform the same functions, im not sure either way
VexdUM_stock.inc
Code:
stock IVecFVec(iVec[3], Float:fVec[3])
{
for(new a = 0; a < 3; a++)
{
fVec[a] = float(iVec[a])
}
return 1
}
stock FVecIVec(Float:fVec[3], iVec[3])
{
for(new a = 0; a < 3; a++)
{
iVec[a] = floatround(fVec[a])
}
return 1
}
Superheromod.inc
#if !defined AMXX_VERSION
Code:
/* Changes an integer vec to a floating vec */
stock IVecFVec(IVec[3], Float:FVec[3])
{
FVec[0] = float(IVec[0])
FVec[1] = float(IVec[1])
FVec[2] = float(IVec[2])
return 1
}
/* Changes a float vec to an integer vec */
stock FVecIVec(Float:FVec[3], IVec[3])
{
IVec[0] = floatround(FVec[0])
IVec[1] = floatround(FVec[1])
IVec[2] = floatround(FVec[2])
return 1
}
I simply commented out that define from superheromod.inc as im not using AMXX. but i thought i best mention it for future reference