Issues with Index
#1

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.
Reply
#2

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.
Reply
#3

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)