Scripting/Squirrel/Functions/GetWeaponID: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "This function will get the weapon ID from it's name. == Syntax == <pre>GetWeaponID( name )</pre> == Arguments == * ''string'' '''name''' - The name of the weapon == Retur...")
 
No edit summary
 
Line 23: Line 23:


{{Scripting/Squirrel/Functions/Game_Functions}}
{{Scripting/Squirrel/Functions/Game_Functions}}
[[Category:Scripting/Squirrel/Functions/Game_Functions]]

Latest revision as of 18:05, 30 January 2017

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