Raised This Month: $ Target: $400
 0% 

Solved Shield entitiy detection doesn't work while player is using it?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 05-23-2022 , 08:22   Re: Shield entitiy detection doesn't work while player is using it?
Reply With Quote #1

The shield is not an entity, just a model. If you need to detect shield touch you can likely use register_touch(custom entity, player) and check if the player currently has the shield deployed.
However, you may need to add more checks to filter cases when the entity touches the back of the player, depending on your needs.
__________________
HamletEagle 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 20:20.


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