Raised This Month: $ Target: $400
 0% 

Open door entity renamed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Zynda
Member
Join Date: Jul 2011
Old 05-15-2016 , 06:12   Re: Open door entity renamed
Reply With Quote #4

Here is another way of doing it. This will force use any entity.This code will force use any entity the player is looking at, but you could simply supply any entity you wish.

PHP Code:
new entitybodypart

// Get which entity is being looked at
get_user_aimingidentitybodypart )

// Check if the entity is valid
if( is_valid_ententity ) )
{
    
// Force use the entity
    
force_useentityid )


Last edited by Zynda; 05-15-2016 at 06:14.
Zynda 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 18:41.


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