Raised This Month: $ Target: $400
 0% 

Solved Check if a entity isn't moving


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 04-16-2018 , 12:29   Re: Check if a entity isn't moving
Reply With Quote #1

PHP Code:
#include <xs>
#include <fakemeta> 
PHP Code:
new Float:velocity[3];
pev(entityIndexpev_velocityvelocity);
if(
xs_vec_len(velocity) < 0.01) {
    
// The entity isn't moving

__________________
klippy 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 04:44.


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