natives.SET CURRENT CHAR WEAPON

From GTA Connected
Revision as of 10:27, 12 June 2026 by Roxas (talk | contribs) (Add ScriptItem documentation from GTA VC SCM decompile)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

natives.SET_CURRENT_CHAR_WEAPON

Signature: void natives.SET_CURRENT_CHAR_WEAPON(int ped, int weapon)

Usage: switches a character to a specific weapon type

Parameters

int ped Character handle to act upon.
int weapon Weapon type identifier.

Return

void

On failure: void