08.02.2017, 23:52
Quote:
I would spawn the gun with CreateObject and set its position to fit in the actor's hands. The hands must remain still obviously.
|
I think he asked for a position to add on actor pos>
Код:
new Float:x, Float:y, Float:z; GetActorPos(actorid, x, y, z);
Код:
ApplyActorAnimation(actorid, "SHOP, "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
Код:
CreateDynamicObject(GetGunObjectID(GunID), x+???, y+???, z+???, 80.0, 0.0, 0.0, -1);
Thats a good idea...