Actor Invulnerable
#1

I created a Dynamic Actor

CreateDynamicActor(24, 764.9443,-23.0935,1000.5859,272.5362, false, 100.0, -1, 6, playerid, 15.0, -1, 0);

I wan't that this Actor is killable

> I tried

>To set
CreateDynamicActor(24, 764.9443,-23.0935,1000.5859,272.5362, false, 100.0, -1, 6, playerid, 15.0, -1, 0);

to

CreateDynamicActor(24, 764.9443,-23.0935,1000.5859,272.5362, false, 100.0, -1, 6, -1, 15.0, -1, 0);


> Set Actor HP to 0

> I tried on not Dynamic Actor

> I did a SCM if the Actor is Invulnerable > works in case of not dynamic actor but can't be killed too after setting

SetDynamicActorInvulnerable>false


I am using that for Actor Functions
https://sampforum.blast.hk/showthread.php?tid=604223
Reply
#2

push
Reply
#3

I think you need to tell the script what to do when you shoot vulnerable actors.
https://sampwiki.blast.hk/wiki/OnPlayerGiveDamageActor
Reply
#4

Can you, please, use a translator to make understandable what you mean.
Reply
#5

Actors for a default value are invulnerables.

Also, for better actor creating process, check my filterscript:

https://sampforum.blast.hk/showthread.php?tid=660015

Will reduce your work up to 90%.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)