getOriginalWeaponProperty | Multi Theft Auto: Wiki Skip to content

getOriginalWeaponProperty

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function gets the original weapon property of the specified weapons specified weapon type.

Syntax

getOriginalWeaponProperty ( )

Code Examples

server

This example gets the default weapon range of the M4 at poor skill level

local range = getOriginalWeaponProperty(31, "poor", "weapon_range")
outputChatBox("Default M4 range at poor is: "..tostring(range))