286
Modification Help / Re: Get player's equipped item slot to define %slot
« on: August 31, 2014, 04:57:31 PM »
%slot here isn't the slot of the item in the GUI, it's the slot the image is mounted in on the player, 0 to 3. In general, items are mounted in slot 0.
You don't need to do %obj.tool[%slot].image to get the image, it's just %this.
I recommend that you just copy the ammo from the image without iron sights and put it on the iron sights one when you go into it, and copy it back when you're done.
Actually, now I look at it again, that seems to be what you're trying to do...
You don't need to do %obj.tool[%slot].image to get the image, it's just %this.
I recommend that you just copy the ammo from the image without iron sights and put it on the iron sights one when you go into it, and copy it back when you're done.
Actually, now I look at it again, that seems to be what you're trying to do...


