[HELP]SetPlayerAttachedObject
#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


Messages In This Thread
[HELP]SetPlayerAttachedObject - by <Weponz> - 07.01.2011, 16:00
Re: [HELP]SetPlayerAttachedObject - by Toreno - 07.01.2011, 16:03

Forum Jump:


Users browsing this thread: 1 Guest(s)