GetWeaponIDFromName: Difference between revisions
Jump to navigation
Jump to search
JonChappell (talk | contribs) No edit summary |
JonChappell (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
This function will obtain the ID of a particular weapon from its name. | This function will obtain the ID of a particular weapon from its name. | ||
Line 26: | Line 24: | ||
==See Also== | ==See Also== | ||
{{Weapon functions}} | {{Weapon functions}} | ||
[[Category:Incomplete]] |
Revision as of 04:12, 3 October 2006
This function will obtain the ID of a particular weapon from its name.
Syntax
int getWeaponIDFromName ( string name )
Required Arguments
- name: A string containing the name of the weapon.
Returns
Returns an int if the name matches that of a weapon, false otherwise.
Example
This example does...
--This line does... blabhalbalhb --abababa --This line does this... mooo