Ulysses
General => Developers Corner => Topic started by: nickbg7n on March 07, 2016, 06:42:16 PM
-
Hello, i have a script that i would love some help with.
The script i have basically no-collides your props when you physgun it. This prevents prop pushing/killing/flying/surfing/pushing from happening.
I have had some complaints where users are able to physgun higher ranks props, but are not allowed to physically move the prop, but the prop then becomes no-collided making them able to walk through it.
I have talked to the Owner of this script and he suggested putting it in this thread to have further assistant with it, as he is not familiar with it.
Thank you in advance for the assistance, i will give you the code if needed.
~ Nickbg7n
-
To clarify:
This is a script I wrote for him. It's using a PhysgunPickup hook to do the prop ghosting/etc.
He is using FPP as a prop protection and what is happening is my script hook is being called first so the prop gets nocollided when grabbed, but then FPP hook is called and does the prop protection which stops the players from actually grabbing the prop.
Since I can't force my hook to be called after FPPs there needs to be some FPP ownership checking in my hook, however, I'm unfamiliar with FPP or how it does permission checking.
-
Nevermind. I forgot about CCPI. :D :D :D
I should be able to help him.
-
Got this problem fixed. Thank you President for your help!