I tried different methods. Viewcontents is shows sky / solid but I need to get wood / wall at least.
Doing like in wiki or "OT" plugin >>
Code:
new Float:virtualend[3], texture_name[64], texture_type
xs_vec_sub(end, start, virtualend)
xs_vec_mul_scalar(virtualend, 16000.0, virtualend)
xs_vec_add(virtualend, start, virtualend)
engfunc(EngFunc_TraceTexture, 0, start, virtualend, texture_name, charsmax(texture_name))
texture_type = dllfunc(DLLFunc_PM_FindTextureType, texture_name)
always shows "NoTexture cNotexture"
what am I doing wrong? I put start / end coords in the check function.
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc