Unequip item V3

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: unequip_item_v3 xxxxxxxx, xxxxxxxx

  • xxxxxxxx (DWORD) = Player Slot, 0-3 (can also use get_slotnumber R250)
  • xxxxxxxx (DWORD) = Equip type to unequip (use 0 for weapon, 1 for armor, 2 for shield, 3 for mag)


Use

Used to unequip a specific item type for the designated player slot.

Example


300:     get_slotnumber  R250  //Puts the player's slot number in R250
         unequip_item_v3  R250, 00000000 //Removes the player's weapon
         ret

Also see

ret, get_slotnumber