SA-MP Forums Archive
Issues with Index - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Issues with Index (/showthread.php?tid=194429)



Issues with Index - MisterTickle - 29.11.2010

I'm a bit confused about the indexes. I know that you can only attach 5 objects to a player at a time but, I use different indexes for different things like..

SetPlayerAttachedObject(playerid, 7, - This number is used for sunglasses

that doesn't mean that I will have 7 objects attached at once I just use that number. Maybe I'm missing something?

I'm quite tired so bare with me.


Re: Issues with Index - Mauzen - 29.11.2010

pawn Код:
#define MAX_PLAYER_ATTACHED_OBJECTS 5 // This is the number of attached indexes available ie 5 = 0-4
Use the indexes 0-4, 7 is out of the bounds.


Re: Issues with Index - m0k1 - 29.11.2010

max object that 1 player can atach is 4 ....

NEW objects list is her
https://sampwiki.blast.hk/wiki/Objects_0.3c


Re: Issues with Index - MisterTickle - 29.11.2010

Ah right, I see now. I blanked for a minute there. Thanks guys.