20.03.2018, 09:07
(
Последний раз редактировалось Zeus666; 20.03.2018 в 09:45.
)
How can I set animation only for 1 actor ? Currently is set to 3 actors from 4. I want only 1 actor
PHP код:
Ongamemodeinit
CreateActor(287,-217.9552, 984.9329, 19.5446, 275.5176);
CreateActor(287,111.1824, 1026.4908, 13.6094, 0.4583);
CreateActor(287,573.6483,1221.2623,11.7113,208.7048);
CreateActor(287, 257.3131,1404.7999,10.5183,264.1653);
public OnActorSpawn(actorid)
{
for(new i; i < actorid; i++)
{
ApplyActorAnimation(actorid, "WUZI", "CS_Dead_Guy", 4.1, 0, 1, 1, 1, 0);
SetActorInvulnerable(actorid, true);
}
return 1;
}