#Is there any way to get information when 3114 starts to strangle and stops strangling a player?
1 messages · Page 1 of 1 (latest)
In Scp3114Strangle there are 3 events (aside from interrupted it seems)
You can get the moment a player stops strangling due to damage by patching here
is there an event for when they manage to break free in one way or another, like the attack was interupted?
Doesn't seem like it
damn
You can patch ServerSendRpc and deduce which action took place based on _rpcType
It gets updated before sending any message
I wanted to see if it's possible to get the player tho, so that kind of makes it hard
cant patch _rpcType because NRE, ive tried that
I meant patching ServerSendRpc and then fetching _rpcType and SyncTarget
That way you get the action and referencehub before being sent
Hm, what does your patch look like?
like, i have a hint that shows whilst being strangled
and it should disappear once the strangling stops
but it doesnt
lemme get code
Looks fine to me
Maybe try by checking for specific rpc types instead of Target being null?
There are only 4 of them
Have you confirmed it isn't your hint manager's issue?
yeah because my initial code worked perfectly, there was just an issue where it would stay perm in a very specific case
so i changed my code to mitigate against that
Did you make sure this actually finds a player?
yeah it does
oh it's exiled based?
Did you make sure EXILED doesn't "break" your implementation?
that is the labapi player
Well, EXILED will still patch things
hence why i came here
true...
i stg this is why i really want this :c https://github.com/northwood-studios/LabAPI/issues/127
StranglingStart - Before strangle ig? Strangling - Strangling starts Strangled - Strangling complete (called even if player is killed) There is probably more events, but these are useful.