Squirrel/Server/Functions/Weapons/GetWeaponIDFromName

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(New page: __NOTOC__ This function returns the ID of the weapon from its name. == Syntax == <code>int GetWeaponIDFromName( string weaponName )</code> == Arguments == * '''weaponName''' - The name...)

Revision as of 02:05, 27 November 2009

This function returns the ID of the weapon from its name.

Syntax

  1. int GetWeaponIDFromName( string weaponName )

Arguments

  • weaponName - The name of the weapon

Example

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
  1.  
  2. -- todo
  3.  

Notes

-- Example notes here

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox