hi, i need to get 30 units forward of player aiming origin,
trying to convert
PHP Code:
AMX_NATIVE_CALL get_user_aiming
to AMXX but this part got me confused:
PHP Code:
Vector v_dest = v_src + v_forward * static_cast<float>(params[4]);
so it would be
PHP Code:
new Float:v_dest[3] = v_src + v_forward * 30; // Float[3] = float[3] + float[3] * integer
but that doesn't work in AMXX, what should i write in amxx to get simular calculations?
__________________