Setting armour for actor
#1

Is it possible to set the armour of an actor?
Reply
#2

native SetActorArmour(actorid, Float:armour);
native GetActorArmour(actorid, &Float:armour);

http://wiki.gta-online.lt/A_actors.inc
Reply
#3

Quote:
Originally Posted by Meller
Посмотреть сообщение
native SetActorArmour(actorid, Float:armour);
native GetActorArmour(actorid, &Float:armour);

http://wiki.gta-online.lt/A_actors.inc
Actors can't drive. Actors can't have weapons. Please try to use only the official wiki. That a_actors.inc file is probably from the unreleased SA-MP 0.2.5. Those actors are the predecessors of NPCs.

There is no SetActorArmour, but maybe you can use SetActorHealth. Set actor's health to 200, that should do it, I think this is possible. You can also make him invulnerable (by default).

All functions: https://sampwiki.blast.hk/wiki/Category:Actor .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)