Raised This Month: $51 Target: $400
 12% 

Solved Different Entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wilian159
Member
Join Date: Dec 2013
Old 06-23-2022 , 18:37   Different Entity
Reply With Quote #1

i have:

PHP Code:
RegisterHam(Ham_CS_Item_CanDrop"weapon_usp""Ham_Item_Can_Drop_Pre"falsetrue
and

PHP Code:
register_forward(FM_SetModel"xFwSetModel"
because the entity of Ham_CS_Item_CanDrop is different from FM_SetModel
how do i get the same entity of FM_SetModel using Ham_CS_Item_CanDrop
I need to catch the same entity when it is on the ground

i need to set aiment on the weapon via Ham_CS_Item_CanDrop

I found a solution using register_touch("weaponbox", "worldspawn", "xWeaponboxTouch")
__________________

Last edited by wilian159; 06-24-2022 at 11:09.
wilian159 is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 06-24-2022 , 10:21   Re: Different Entity
Reply With Quote #2

Show us your full code. You would need to assign a variable to such entity.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
wilian159
Member
Join Date: Dec 2013
Old 06-24-2022 , 11:09   Re: Different Entity
Reply With Quote #3

Quote:
Originally Posted by bibu View Post
Show us your full code. You would need to assign a variable to such entity.
I found a solution using register_touch("weaponbox", "worldspawn", "xWeaponboxTouch")
__________________
wilian159 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 22:18.


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