09.02.2016, 08:56
Hello. So there is a command "/work", to start working as a medic and his mission is to rescue the injured ped. The injured ped has the injured loop animation. Problem is, when I arrive to the location of the ped, they are two, the one which does the animation and the second, which is just standing. So obviosly the second one is needless and I don't know, why it does appear.
Here is the code of command work:
InjuredBarber = CreateObject(156, 2073.2815, -1794.7831, 13.5572,-90.0000, 0.0000, 265.0000);
ApplyActorAnimation(InjuredBarber, "SWEET", "Sweet_injuredloop", 4.1, 1, 0, 0, 0, 0);
Here is the code of command work:
InjuredBarber = CreateObject(156, 2073.2815, -1794.7831, 13.5572,-90.0000, 0.0000, 265.0000);
ApplyActorAnimation(InjuredBarber, "SWEET", "Sweet_injuredloop", 4.1, 1, 0, 0, 0, 0);