23.09.2010, 13:45
WeaponSlotOf(w)
@w = weapon id
Well, this is my one-line function that will determinite which slot specific weapon will be stored in (simple - the slot of the weapon). It will return 0xFFFF (-1) if slot has not been found. http://pastebin.com/GZJz5bBU
@w = weapon id
Well, this is my one-line function that will determinite which slot specific weapon will be stored in (simple - the slot of the weapon). It will return 0xFFFF (-1) if slot has not been found. http://pastebin.com/GZJz5bBU