6 lines
		
	
	
		
			No EOL
		
	
	
		
			195 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			No EOL
		
	
	
		
			195 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
RegisterCommand("getweaponhash", function()
 | 
						|
    local playerPed = GetPlayerPed(-1)
 | 
						|
    local hasWeapon,pedWeapon = GetCurrentPedWeapon(playerPed)
 | 
						|
 | 
						|
    print("Weapon Hash: " ..pedWeapon)
 | 
						|
end) |