I think you should use hamsandwich for this
Code:
...
RegisterHam( Ham_CS_Item_GetMaxSpeed, "weapon_xm1014", "fw_XM1014GetMaxSpeed", .Post = 0 );
...
public fw_XM1014GetMaxSpeed( pWeapon )
{
SetHamReturnFloat( 115.0 );
return HAM_SUPERCEDE;
}
__________________