Raised This Month: $ Target: $400
 0% 

NPC Duck problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Natsheh
Veteran Member
Join Date: Sep 2012
Old 06-14-2018 , 20:09   Re: NPC Duck problem
Reply With Quote #8

Quote:
Originally Posted by spamipolito View Post
No bro :/ . I already testing with entity_set_size :/. Anyway, i tried again.

This result:

Use this code in case ACTIVITY_DUCK:

PHP Code:
            new Float:vecMins[3];
            new 
Float:vecMax[3];
            
//new Float:VecSize[3]
    
            
vecMins Float:{-16.0, -16.0, -32.0};
            
vecMax Float:{16.016.018.0};
            
//VecSize = Float:{32.0, 32.0, 50.0};
    
            
entity_set_size(iEntvecMinsvecMax);
    
            
entity_set_vector(iEntEV_VEC_minsvecMins);
            
entity_set_vector(iEntEV_VEC_maxsvecMax); 
Didnt i told you to not change the mins of z vector, mins ducking should be equal to the mins of the standing position.

It shouldbe

vecMins = Float:{-16.0, -16.0, -36.0};
vecMax = Float:{16.0, 16.0, 16.0};
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 06-14-2018 at 20:15.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
 



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:40.


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