Re: Get the Currently Held Weapon
Quote:
for i = 1, MovableMan:GetMOIDCount() - 1 do --so the last result isnt nil
At first, this did not make any sense to me since Lua generally iterates from 1 to "end" and C generally iterates from 0 to "end-1", but now I know better. Thanks!