obsolete:lua:lua_weaponid
Table of Contents
Lua WeaponId
id WeaponId( string name );
Description
This gets the weapons id from its script name (excluding “weapon_”).
Version
Beta 3.1
Example
<lua> local weapId = WeaponId(“knife”); </lua>
obsolete/lua/lua_weaponid.txt · Last modified: 2023/09/03 18:43 by 127.0.0.1