Jump to content

Error slot identifying weapon


Dolinho

Recommended Posts

i need help, i don't know why not work

i have weapon in my hand but says that i not have

wrong something here ?

  if getPedWeapon(source, 2) ~= 23 then -- not identifying weapon in my slot 

  
addEvent("onCraftarItemdraw",true) 
addEventHandler("onCraftarItemdraw", root, 
function(Quantia, Nome, Tipo, DataItem, id, Muni, Saldo) 
    if getPedWeapon(source, 2) ~= 23 then 
    outputChatBox(DataItem.." "..getPedWeapon(source, id), source, 255, 0, 0, true) 
    else 
    outputChatBox("Voce precisa ter essa arma antes de craftar balas para ela "..getPedWeapon(source, id), source, 255, 0, 0, true) 
    end 
end 
) 
  
  

:lol: resolved

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...