Jump to content

help


Recommended Posts

hi i dont know wear is the problem ,, can i get help :D

client side:

function onGuiClick (button, state, absoluteX, absoluteY) 
  if source == yes then 
 triggerServerEvent("rep",getLocalPlayer()) 
  end 
end 
addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) 
--- 
addEvent("rep1",true)  
  
addEventHandler("rep1",root,  
  
function() 
a = guiGetText ( edah ) 
local t = 1000 
local e = 1 
setTimer( function () 
                guiSetText ( labelpa, a ) 
               end , t , e ) 
  
end  
)   

addEvent("rep",true)  
  
addEventHandler("rep",root,  
  
function() 
triggerClientEvent("rep1",source) 
end  
)   

/debugscript 3 is not showing any problem

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