2
0
mirror of https://github.com/rehlds/reapi.git synced 2024-12-28 07:35:31 +03:00

Improved description for rg_get_weapon_info (#269)

This commit is contained in:
Nord1cWarr1or 2023-03-17 20:53:44 +00:00 committed by GitHub
parent ab94d09850
commit 867368f56d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -466,6 +466,8 @@ native bool:rg_has_item_by_name(const index, const item[]);
* @param weapon name or id Weapon id, see WEAPON_* constants, WeaponIdType or weapon_* name
* @param WpnInfo:type Info type, see WI_* constants
*
* @note weapon_* name can only be used to get WI_ID
*
* @return Weapon information
* @error If weapon_id or type are out of bounds, an error will be thrown
*/

View File

@ -752,6 +752,8 @@ cell AMX_NATIVE_CALL rg_has_item_by_name(AMX *amx, cell *params)
* @param weapon name or id Weapon id, see WEAPON_* constants, WeaponIdType or weapon_* name
* @param WpnInfo:type Info type, see WI_* constants
*
* @note weapon_* name can only be used to get WI_ID
*
* @return Weapon information
* @error If weapon_id or type are out of bounds, an error will be thrown
*