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