24.09.2017, 14:18
Quote:
Because 'Actor' variable holds only the last actor ID, you gotta make it 1d array at least and loop through the variable to apply it for all the actors.
|
PHP код:
public OnPlayerGiveDamageActor(playerid, damaged_actorid, Float: amount, weaponid, bodypart)
{
ApplyActorAnimation(damaged_actorid, "WUZI", "CS_DEAD_GUY", 4.1, 0, 0, 0, 0, 0);
return 1;
}