OnPlayerModelSelection problem
#5

You can't just use playerid and modelid, you need to specify the slot (as mentioned by Lidor124) also Bone (click here for a list), it's required for that function, example:
Attaching "effect" (if i'm not wrong, that is for "daiktai") from object model selection to a player's head in slot 0 will be:
pawn Код:
SetPlayerAttachedObject(playerid, 0, modelid, 2);
Note that the position, rotation will be using default value 0, and scale will be 1. Otherwise it will be attached on specified value.
Reply


Messages In This Thread
OnPlayerModelSelection problem - by Tadas - 05.04.2014, 14:54
Re: OnPlayerModelSelection problem - by Lidor124 - 05.04.2014, 14:58
Re: OnPlayerModelSelection problem - by Tadas - 05.04.2014, 15:05
Re: OnPlayerModelSelection problem - by Lidor124 - 05.04.2014, 15:09
Re: OnPlayerModelSelection problem - by RoboN1X - 05.04.2014, 15:45

Forum Jump:


Users browsing this thread: 2 Guest(s)