Scripting/Squirrel/Functions/GetWeaponID

From Vice City Multiplayer
Revision as of 18:05, 30 January 2017 by Thijn (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
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

This page needs an example. We will try our best to complete the wiki as soon as possible.

Notes

Related Functions