Scripting/Squirrel/Functions/GetWeaponID

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

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