Jump to content

Whats wrong? help


s1mple

Recommended Posts

function nevesfunctionhue() 
local quant = guiGridListGetItemText ( gridlistItems["inventory"], guiGridListGetSelectedItem ( gridlistItems["inventory"] ), 3) 
setTimer(Playerkill,100,quant) 
end 
addEventHandler("onClientGUIClick", buttonItems["inventory3"], nevesfunctionhue) 

i wan't if i press the button, then he kill me. ITS DAYZ GAMEMODE

Link to comment
function nevesfunctionhue() 
local quant = guiGridListGetItemText ( gridlistItems["inventory"], guiGridListGetSelectedItem ( gridlistItems["inventory"] ), 3) 
setTimer(Playerkill,100,quant) 
end 
addEventHandler("onClientGUIClick", buttonItems["inventory3"], nevesfunctionhue) 

i wan't if i press the button, then he kill me. ITS DAYZ GAMEMODE

Can you make your question clearer and upload the full code?

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...