DYNAMIC Actor Invulnerable -
playstores - 22.10.2018
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
Re: Actor Invulnerable -
playstores - 23.10.2018
push
Re: Actor Invulnerable -
v1k1nG - 23.10.2018
I think you need to tell the script what to do when you shoot vulnerable actors.
https://sampwiki.blast.hk/wiki/OnPlayerGiveDamageActor
Re: Actor Invulnerable -
Dayrion - 23.10.2018
Can you, please, use a translator to make understandable what you mean.
Re: Actor Invulnerable -
KinderClans - 23.10.2018
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%.