streamer blocking actor getting damaged
#1

Any way to make actor getting damaged work with using streamer?
Reply
#2

did you use the OnPlayerGiveDamageActor callback?
which streamer plugin u using?
Reply
#3

Quote:
Originally Posted by jasperschellekens
View Post
did you use the OnPlayerGiveDamageActor callback?
which streamer plugin u using?
I'm using ped include https://sampforum.blast.hk/showthread.php?tid=572366 and all of its callbacks
Reply
#4

pawn Code:
public PED_OnTakeDamage(pedid, issuerid, weaponid, Float:amount, bodypart)
Reply
#5

Yes, Downgrade.

I think 2.9.2 has a bug to prevent this, downgrade and it should work.
Reply
#6

Just use OnPlayerGiveDamageDynamicActor and set the health of the actors manually.

eg:

Code:
new Float:heath;
GetDynamicActorHealth(actorid, health);
SetDynamicActorHealth(actorid, health - amount);
If your actors play any animations, use ClearDynamicActorAnimations() before "killing" them with SetDynamicActorHealth.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)