GetAllPedWeapons

Get all weapons in the player

Return:

  • string[]

Example

local playerWeapons = HRLib.GetAllPedWeapons()
for i=1, #playerWeapons do
    print('Player Has:', playerWeapons[i])
end

Last updated