Raised This Month: $ Target: $400
 0% 

C++ -> AMXX velocity length?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 05-28-2010 , 16:58   Re: C++ -> AMXX velocity length?
Reply With Quote #2

Get entity velocity then use
PHP Code:
vector_length(:args
native.

->
PHP Code:
new Float:vVel[3];
pev(idpev_velocityvVel);

if(
vector_length(vVel) > 0)
   
//something... 
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 05-29-2010 at 03:10.
Alka 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 05:15.


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