Difference between revisions of "ScriptCore3.weap2menu"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''function weap2menu(Style: Byte): Byte''' Style: string that is to be converted into a number Result: conversion result ==Description== This converts a string into a n...")
 
Line 1: Line 1:
 
  '''function weap2menu(Style: Byte): Byte'''
 
  '''function weap2menu(Style: Byte): Byte'''
   Style: string that is to be converted into a number
+
   Style: Position(Style) of the weapon in the [[TWeapon.WType]]
   Result: conversion result
+
   Result: Position(Style) of the weapon in the [[Weapons List]]
  
 
==Description==
 
==Description==

Revision as of 17:10, 1 May 2018

function weap2menu(Style: Byte): Byte
 Style: Position(Style) of the weapon in the TWeapon.WType
 Result: Position(Style) of the weapon in the Weapons List

Description

This converts a string into a number.