1
0
Fork 0
forked from Simnation/Main
Main/resources/[jobs]/[weapons]/cavok_weapon_handling/lua/client/command.lua
2025-06-07 08:51:21 +02:00

6 lines
No EOL
195 B
Lua

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