Jump to content

مشكلة بمود


Recommended Posts

سلام عليكم

وش آلخطآ هنآ ؟ آلمود مآ يبي يطلع آلرسآلة بآلشآت نهآئي

متآكد من آلميتآ

-- # Client
addEventHandler("onClientGUIClick",root,
	function ()
		local title = GUIEditor.edit[1]
		local text = GUIEditor.memo[1]
        if source == GUIEditor.button[5] then
			triggerServerEvent("addNewTicketSystem",localPlayer,title,text)
			guiSetVisible ( GUIEditor.window[1], true )
			guiSetVisible ( GUIEditor.window[2], false )
        end
    end 
)

-- # Server
addEvent ( "addNewTicketSystem", true )
addEventHandler ( "addNewTicketSystem", root,
	function (title,text)
		outputChatBox("done",root,255,0,0,true)
		killPed(source)
	end
)

 

Link to comment
1 minute ago, Trefeor said:

استخدم guiGetText

عشان تجيب الكلام الي بالايديت او الميمو

آهآ مآ آنتبهت , دقيقة بجرب

2 minutes ago, Trefeor said:

استخدم guiGetText

عشان تجيب الكلام الي بالايديت او الميمو

وآخيرآ آشتغل , تسلم

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