Raised This Month: $ Target: $400
 0% 

Texture type always returns CNotexture ..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 11-18-2015 , 17:40   Texture type always returns CNotexture ..
Reply With Quote #1

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
avril-lavigne is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode