AboShanab Posted March 18, 2013 Share Posted March 18, 2013 سسسلام عليككم وشش المششكلة بذذا الكوود ؟؟ Buttons = function() local Edit = guiGetText(mEdit) if source == mClose then guiSetVisible(mWin, false) showCursor(false) guiSetInputEnabled(false) elseif source == mSend then if guiCheckBoxGetSelected(mCheck) == true then triggerServerEvent("tSend", getLocalPlayer(),Edit) end else triggerServerEvent("fSend", getLocalPlayer(),Edit) end else if source == mFake then if guiCheckBoxGetSelected(mCheck) == true then triggerServerEvent("tFake", getLocalPlayer(),Edit) end end else triggerServerEvent("fFake", getLocalPlayer(),Edit) end end addEventHandler("onClientGUIClick", getRootElement(), Buttons) Link to comment
PaiN^ Posted March 18, 2013 Share Posted March 18, 2013 Buttons = function() local Edit = guiGetText(mEdit) if source == mClose then guiSetVisible(mWin, false) showCursor(false) guiSetInputEnabled(false) elseif source == mSend then if guiCheckBoxGetSelected(mCheck) then triggerServerEvent("tSend", getLocalPlayer(),Edit) else triggerServerEvent("fSend", getLocalPlayer(),Edit) end elseif source == mFake then if guiCheckBoxGetSelected(mCheck) then triggerServerEvent("tFake", getLocalPlayer(),Edit) else triggerServerEvent("fFake", getLocalPlayer(),Edit) end end addEventHandler("onClientGUIClick", getRootElement(), Buttons) Link to comment
hassan.k.s.a Posted March 18, 2013 Share Posted March 18, 2013 Buttons = function() local Edit = guiGetText(mEdit) if source == mClose then guiSetVisible(mWin, false) showCursor(false) guiSetInputEnabled(false) elseif source == mSend then if guiCheckBoxGetSelected(mCheck) then triggerServerEvent("tSend", getLocalPlayer(),Edit) else triggerServerEvent("fSend", getLocalPlayer(),Edit) end elseif source == mFake then if guiCheckBoxGetSelected(mCheck) then triggerServerEvent("tFake", getLocalPlayer(),Edit) else triggerServerEvent("fFake", getLocalPlayer(),Edit) end end addEventHandler("onClientGUIClick", getRootElement(), Buttons) ناقص end جرب كذا addEventHandler("onClientGUIClick", getRootElement(),function() local Edit = guiGetText(mEdit) if source == mClose then guiSetVisible(mWin, false) showCursor(false) guiSetInputEnabled(false) elseif source == mSend then if guiCheckBoxGetSelected(mCheck) == true then triggerServerEvent("tSend", getLocalPlayer(),Edit) else triggerServerEvent("fSend", getLocalPlayer(),Edit) end elseif source == mFake then if guiCheckBoxGetSelected(mCheck) == true then triggerServerEvent("tFake", getLocalPlayer(),Edit) else triggerServerEvent("fFake", getLocalPlayer(),Edit) end end end) Link to comment
AboShanab Posted March 18, 2013 Author Share Posted March 18, 2013 يعطيكم العافية .. اخ @#Pai_[N] + hassan.k.s.a ضضبط معي >< Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now