This function was added in SA-MP 0.3.7 and will not work in earlier versions!
Toggle an actor's invulnerability.
|actorid||The ID of the actor to set invulnerability.|
|invulnerable||0 to make them vulnerable, 1 to make them invulnerable.|
1 - Success
0 - Failure (i.e. Actor is not created).
Once set invulnerable, the actor does not call OnPlayerGiveDamageActor. Players will have actor's invulnerability state changed only when it is restreamed to them.