Thing check on the components

Demo

Member
Member
Mar 3, 2016
108
14
18
28
Parts Unknown
Tell me how can I using OnEntityHurt to inspect the object for a component?

component "PasswordLockableObject"
 

Demo

Member
Member
Mar 3, 2016
108
14
18
28
Parts Unknown
1 more question - I have outlined the player for gameObject - added a script to display the message in the console player - but the message writes to the server console - is it possible to accurately select a player