Quote:
Originally Posted by arkshine
It's possible to get the texture name ( http://forums.alliedmods.net/showthr...656#post737656 ) but I don't know how to get a complete list, probably with a software. I know that there some maps ( texture name + class ) listed in materials.txt file but It will not help really.. (client)
|
Ok...
but:
PHP Code:
new iCvarStr[65];
get_cvar_string("test", iCvarStr, 64);
new iReturn = dllfunc(DLLFunc_PM_FindTextureType, s_Texture);
So 'iReturn' is allways 67 'C'. I'm confused...
// edit...
Ok, found out: first this dllfunc works only for textures in materials.txt list. Second if texture isn't there it returns 'C'. Third - if map was compiled using -nowad function (or whatever that function is - function that formats .wad file in .bsp), server crashes.
So is there anyother way ?
__________________