Onplayerdeath actors
#6

Is there the 'pSkin' function in the code?

Quote:
Originally Posted by Zeus666
Посмотреть сообщение
i modified it with

death_actor[playerid] = CreateActor(pInfo[playerid][pSkin], x, y, z, 0.0);

and it works,

but

PHP код:
error 017undefined symbol "x" 
PHP код:
arning 202number of arguments does not match definition 
PHP код:
           ApplyActorAnimation(death_actor[playerid], "WUZI","CS_Dead_Guy",4.1,1,1,1,1,0,1); // Applying the animation, this was your code. 
I'm trying to fix them
Use GetPlayerPos to get player's position.

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. 
Reply


Messages In This Thread
Onplayerdeath actors - by Zeus666 - 24.09.2018, 16:32
Re: Onplayerdeath actors - by CantBeJohn - 24.09.2018, 16:53
Re: Onplayerdeath actors - by Zeus666 - 24.09.2018, 16:59
Re: Onplayerdeath actors - by VVWVV - 24.09.2018, 17:03
Re: Onplayerdeath actors - by Zeus666 - 24.09.2018, 17:07
Re: Onplayerdeath actors - by VVWVV - 24.09.2018, 17:10
Re: Onplayerdeath actors - by Zeus666 - 24.09.2018, 17:12
Re: Onplayerdeath actors - by Zeus666 - 24.09.2018, 17:30
Re: Onplayerdeath actors - by UFF - 24.09.2018, 17:51
Re: Onplayerdeath actors - by VVWVV - 24.09.2018, 17:51

Forum Jump:


Users browsing this thread: 1 Guest(s)