[HELP]SetPlayerAttachedObject
#1

What is the idex of a object? How do you the index of a certain object?

Link: https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject

Thanks In Advanced!
Reply
#2

A player can contain only five objects.
Which mean, you can configure which index object is on a player,
exmple:

You can write index between 1 - 5.
And use it in RemovePlayerAttachedObject so you won't REMOVE the whole objects.

pawn Код:
SetPlayerAttachedObject(playerid, 1, 1609, 2);
RemovePlayerAttachedObject(playerid,3);
The remove will remove object the in INDEX 3 only.

pawn Код:
SetPlayerAttachedObject(playerid, 1, 1609, 2);
RemovePlayerAttachedObject(playerid,1);
The remove will remove object the in INDEX 1 only.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)