WeaponNameToModel: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "Gets the numeric hash from the Weapon's name. {{CSharpContainer| {{#tag:syntaxhighlight|bool {{Template:CSharp_Serverside_namespace}}Util.WeaponNameToModel(string modelName)...")
 
No edit summary
 
Line 3: Line 3:


{{CSharpContainer|
{{CSharpContainer|
{{#tag:syntaxhighlight|bool {{Template:CSharp_Serverside_namespace}}Util.WeaponNameToModel(string modelName);|lang=csharp}}
{{#tag:syntaxhighlight|uint {{Template:CSharp_Serverside_namespace}}Util.WeaponNameToModel(string modelName);|lang=csharp}}


{{Parameters}}
{{Parameters}}

Latest revision as of 08:50, 29 November 2019

Gets the numeric hash from the Weapon's name.


C# Syntax

uint NAPI.Util.WeaponNameToModel(string modelName);

Parameters

  • modelName: The Weapon's model name.


Example

// Code here...