Hi Guys i've make 2 buttons as Dx Rectangle but if i add event "onClientGUIClick" but it not working
i tried to add outputchatbox on event but same
anyone help
here is Client:
dxDrawText("Username", 478, 441, 597, 493, tocolor(255, 255, 255, 255), 1.00, bigfont, "center", "center", false, false, true, false, false)
dxDrawText("Password", 480, 507, 597, 552, tocolor(255, 255, 255, 255), 1.00, bigfont, "center", "center", false, false, true, false, false)
addEventHandler ( "onClientGUIClick", root,
function()
if source == login or source == register then
outputChatBox("Test !!")
end
end)