forked from Simnation/Main
6 lines
195 B
Lua
6 lines
195 B
Lua
![]() |
RegisterCommand("getweaponhash", function()
|
||
|
local playerPed = GetPlayerPed(-1)
|
||
|
local hasWeapon,pedWeapon = GetCurrentPedWeapon(playerPed)
|
||
|
|
||
|
print("Weapon Hash: " ..pedWeapon)
|
||
|
end)
|