GetAvailableWeapons: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

8 May 2023

  • curprev 18:3018:30, 8 May 2023Habi talk contribs 397 bytes +397 Created page with "{{Welcome|desc=Returns all the weapons possessed by npc as an array| params=<source lang="lua">NoParams</source>| retvals=an array whose values are the IDs of the weapons possessed by the npc. The weaponid 0 (fists) is excluded.| relfuncs= *SelectWeapon *GetAmmoOfMyWeapon| example= <source lang="lua"> local a = GetAvailableWeapons(); SendChat("I have "+ a.len()+" weapons.");</source> }}"