PickupNameToModel

From GTA Network Wiki
Jump to: navigation, search

PickupNameToModel
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Converts a String input into a PickupHash output.

Syntax

PickupHash NAPI.Util.PickupNameToModel(string modelName);

Required Arguments

  • modelName: parameter input should be in string type.

NOTE: This function returns data in PickupHash type.

Usage example

PickupHash myPickup = NAPI.Util.PickupNameToModel("PICKUP_WEAPON_ADVANCEDRIFLE");

Changelog

Version Description
1.0 Release.

References