Scripting/Squirrel/Functions/GetWeaponID
Jump to navigation
Jump to search

This wiki is using an old backup from 2020
Some information may be old/missing
This function will get the weapon ID from it's name.
Syntax
GetWeaponID( name )
Arguments
- string name - The name of the weapon
Return value
- int id - The ID of the weapon
Example
