NOTE: This is an archive of the old wiki.
Expect content to be outdated and links to be broken.

User Tools


obsolete:lua:lua_weaponname

Lua WeaponName

string WeaponName( int id );

Description

This gets the weapons script name (excluding “weapon_”) from a weapons id number.

Version

Beta 3.1

Example

<lua> local weapName = WeaponName(weapId); </lua>

obsolete/lua/lua_weaponname.txt · Last modified: 2023/09/03 18:43 by 127.0.0.1