24.09.2018, 17:10
Is there the 'pSkin' function in the code?
Use GetPlayerPos to get player's position.
Quote:
i modified it with
death_actor[playerid] = CreateActor(pInfo[playerid][pSkin], x, y, z, 0.0); and it works, but PHP код:
PHP код:
PHP код:
|
pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
PHP код:
ApplyActorAnimation(death_actor[playerid], "WUZI","CS_Dead_Guy",4.1,1,1,1,0,1); // Applying the animation, this was your code.