SA-MP Forums Archive
Actors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Actors (/showthread.php?tid=620497)



Actors - Micko123 - 30.10.2016

I am not best with actors so I need your help guys.
I want to create actor on X, Y, Z and I want actor to die when play shoots him. Is it possible??


Re: Actors - xDaemon - 30.10.2016

Possible

Creating actor
Код:
CreateActor(playerid, x, y, z, rot)
Then set it vurnable
Код:
SetActorInvulnerable(MyActor, false);
And check damage here
https://sampwiki.blast.hk/wiki/OnPlayerGiveDamageActor


Re: Actors - Micko123 - 30.10.2016

Thx. I will try