07.01.2011, 16:03
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.
The remove will remove object the in INDEX 3 only.
The remove will remove object the in INDEX 1 only.
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);
pawn Код:
SetPlayerAttachedObject(playerid, 1, 1609, 2);
RemovePlayerAttachedObject(playerid,1);