1
0
Fork 0
forked from Simnation/Main
Main/resources/[jobs]/[weapons]/cavok_weapon_handling/command.lua
2025-07-14 22:58:10 +02:00

6 lines
No EOL
190 B
Lua

RegisterCommand("getweaponhash", function()
local playerPed = GetPlayerPed(-1)
local hasWeapon,pedWeapon = GetCurrentPedWeapon(playerPed)
print("Weapon Hash: " ..pedWeapon)
end)