[Question] SetPlayerAttachedObject
#1

I've got a question, is it possible to set an attached object to a player as slot 0, then you remove the attached object and use slot 0 again?

I hope you get what I mean.

I tried something like this:
pawn Код:
SetPlayerAttachedObject(playerid, 0, blabla);
At an other callback:
pawn Код:
RemovePlayerAttachedObject(playerid, 0);
Then at the same callback as the first one, but under an 'if':
pawn Код:
SetPlayerAttachedObject(playerid, 0, blabla);
again.

It doesn't work, I have to use slot 1 for that.
So, that was my question.
Reply
#2

SetPlayerAttachedObject(playerid, index, modelid, bone);

bone?

Код:
SetPlayerAttachedObject(playerid, 0, blabla,1);
Reply
#3

Changing the bone won't work :/
Reply
#4

Well?
Reply
#5

Don't really think it's possible, why would you even do that, use slot 1.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)