Onplayerdeath actors
#10

Quote:
Originally Posted by Zeus666
Посмотреть сообщение
Just tested it in game.

Knowns bugs

1) When player is killed, his character rotates in 380 grades. (If he is facing forward, his actor faces backsward)
2) when I kill the same player after 5-10 seconds, there will not spawn another actor. (there's 1 character per death)
3) It won't recognise the skin. It spawned the character with skin id 299
1) Use GetPlayerFacingAngle to get the player's rotation. This rotation must be passed when CreateActor function is called.
Example:
pawn Код:
new Float:angle;
GetPlayerFacingAngle(playerid, angle);
CreateActor(/* ...arguments... */, angle);
2) Yes. There is just one actor per player. In order to spawn a lot of actors per player, this system must be radically altered.
3) This problem is due to the 'pSkin' function (we don't know its definition)
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: 2 Guest(s)