Raised This Month: $ Target: $400
 0% 

Anti Silent Run v0.1.2


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-03-2009 , 12:57   Re: Anti Silent Run v0.1.2
Reply With Quote #37

Quote:
Originally Posted by MPNumB View Post
Not really, cuz I dunno any possible way to detect is player on metal/snow/grass/sand...
EngFunc_TraceTexture + DLLFunc_PM_FindTextureType .

Something like :

Code:
pev ( id, pev_origin, vf_Origin ); vf_End[ 0 ] = vf_Origin[ 0 ]; vf_End[ 1 ] = vf_Origin[ 1 ]; vf_End[ 2 ] = -9999.0; engfunc ( EngFunc_TraceTexture, pev ( id, pev_groundentity ), vf_Origin, vf_End, s_Texture, charsmax ( s_Texture ) ); s_TextureType[ 0 ] = dllfunc ( DLLFunc_PM_FindTextureType, s_Texture );

s_TextureType =

Quote:
// 'M' metal
// 'V' ventillation
// 'D' dirt
// 'S' slosh liquid
// 'T' tile
// 'G' grate (Concrete is the default)
// 'W' wood
// 'P' computer
// 'Y' glass
// 'N' snow
You can try also theses offsets ( totaly unconfirmed! ) : 340 ( Texture name ) , 341 ( Texture type )

Last edited by Arkshine; 01-04-2009 at 07:41.
Arkshine is offline
 



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 09:14.


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