Onplayerdeath actors
#5

Quote:
Originally Posted by VVWVV
Посмотреть сообщение
This code will not work because the first three parameters are incorrectly passed.
CreateActor function
pawn Код:
CreateActor(pSkin(playerid), x, y, z, 0.0 /* rotation */);
PHP код:
 error 012invalid function callnot a valid address
 
warning 215expression has no effect
 
error 001expected token";"but found ")"
 
error 029invalid expressionassumed zero
 
fatal error 107too many error messages on one line 
//

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
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: 3 Guest(s)