stock GetFreeAttachSlot(playerid) { for(new i = 10; i--;) if(!IsPlayerAttachedObjectSlotUsed(playerid, i)) return i; return -1; }