Adham Posted April 22, 2016 Posted April 22, 2016 سلام عليكم انا عامل مود وعامل ايديت عامل button عاوز اليكتب في الايديت مثلن ادهم محمد ويضعط OK يظهر الكلام العملو في الاديت يظهر في الشات يعني مثلن انا عامل ايديت وكتبت فيه ادهم محمد وضعط علي ال BUTTOn يظهر الكلام الكتبتو في الشات قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
#|_oskar_|# Posted April 22, 2016 Posted April 22, 2016 outputChatBox+ guiGetText لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
Adham Posted April 22, 2016 Author Posted April 22, 2016 كدا فيه خطا؟ addEventHandler ( "onClientGUIClick", resourceRoot,function () if ( source == OK ) then outputChatBox(" "..if guiGetText(edit).." ", 255, 0, 0) end end) قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
#|_oskar_|# Posted April 22, 2016 Posted April 22, 2016 كدا فيه خطا؟ addEventHandler ( "onClientGUIClick", resourceRoot,function () if ( source == OK ) then outputChatBox(" "..if guiGetText(edit).." ", 255, 0, 0) end end) addEventHandler ( "onClientGUIClick", resourceRoot,function () if ( source == OK ) then outputChatBox(" "..guiGetText(edit).." ", 255, 0, 0) end end) ال if كانت زياده لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
Ahmed Ly Posted April 22, 2016 Posted April 22, 2016 function m () if source == OK then outputChatBox(" "..guiGetText(edit).." ", 255, 0, 0) end end addEventHandler ( "onClientGUIClick", root,m)
Adham Posted April 22, 2016 Author Posted April 22, 2016 وين الخطا هنا مف تفتح اللوحة اصلن GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(193, 156, 434, 240, ":: OutButChat Box ::", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false) GUIEditor.label[1] = guiCreateLabel(26, 78, 154, 24, "in OutButChat Box :", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") edit = guiCreateEdit(139, 76, 276, 26, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(24, 155, 146, 40, "Start", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(221, 155, 146, 40, "X", false, GUIEditor.window[1]) end ) function Strong ( ) guiSetVisible ( GUIEditor.window[1],true ) showCursor ( true ) -- اظهار الماوس end addCommandHandler ( "Test",Strong ) addEventHandler ( "onClientGUIClick", resourceRoot,function () if ( source == GUIEditor.button[1] ) then outputChatBox(" "..guiGetText(edit).." ", 255, 0, 0) end end) قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
Adham Posted April 22, 2016 Author Posted April 22, 2016 قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
Mostafa MohammeD Posted April 22, 2016 Posted April 22, 2016 GUIEditor = { button = {}, window = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(193, 156, 434, 240, ":: OutButChat Box ::", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false) GUIEditor.label[1] = guiCreateLabel(26, 78, 154, 24, "in OutButChat Box :", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") edit = guiCreateEdit(139, 76, 276, 26, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(24, 155, 146, 40, "Start", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(221, 155, 146, 40, "X", false, GUIEditor.window[1]) addCommandHandler("Test", function () guiSetVisible(GUIEditor.window[1], not guiGetVisible(GUIEditor.window[1])) showCursor(guiSetVisible(GUIEditor.window[1])) end ) addEventHandler ( "onClientGUIClick", resourceRoot,function () if ( source == GUIEditor.button[1] ) then outputChatBox(" "..guiGetText(edit).." ", 255, 0, 0) end end) جرب مستواي في البرمجة 20% Skype = mr_m.o.s.t.a.f.a youtube = https://www.youtube.com/channel/UCEwOQx793Uxq5wazYDi-6mQ
Adham Posted April 22, 2016 Author Posted April 22, 2016 طيب فيه مشكله لما مش بكتب في الايديت حاجه وبدوس علي الزر عاوز ميجيش كلام بالشات فاضي كلام كدا قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
Adham Posted April 22, 2016 Author Posted April 22, 2016 قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
Mostafa MohammeD Posted April 22, 2016 Posted April 22, 2016 يعني لو ما كتبت شئ يظهرلك بالشات الرجاء كتبة شيئا ليظهر بي الشات ؟ مستواي في البرمجة 20% Skype = mr_m.o.s.t.a.f.a youtube = https://www.youtube.com/channel/UCEwOQx793Uxq5wazYDi-6mQ
#|_oskar_|# Posted April 22, 2016 Posted April 22, 2016 addEventHandler ( "onClientGUIClick", resourceRoot,function () if ( source == GUIEditor.button[1] ) then if guiGetText(edit) ~= '' then outputChatBox(" "..guiGetText(edit).." ", 255, 0, 0) end end end) لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
Mostafa MohammeD Posted April 22, 2016 Posted April 22, 2016 addEventHandler ( "onClientGUIClick", resourceRoot,function () if ( source == GUIEditor.button[1] ) then if guiGetText(edit) ~= '' then outputChatBox(" "..guiGetText(edit).." ", 255, 0, 0) end end end) بس هاي الكود يخلي الكلام يظهر للاعب فقط اعتقد هو يبيه للسيرفر كله مستواي في البرمجة 20% Skype = mr_m.o.s.t.a.f.a youtube = https://www.youtube.com/channel/UCEwOQx793Uxq5wazYDi-6mQ
!#NssoR_) Posted April 22, 2016 Posted April 22, 2016 تنبيه : الكلام محد يشوفه الا الي ضغط علي الزر *
Adham Posted April 22, 2016 Author Posted April 22, 2016 طيب معلش ممكن طلب؟ عاوز لما يكتب شي بالايديت وضعط علي الزر يتمسح الكتوب بالايديت قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
Adham Posted April 22, 2016 Author Posted April 22, 2016 طيب انا عاوز كل الناس الفي سرفر تشوفه قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
iMr.WiFi..! Posted April 22, 2016 Posted April 22, 2016 addEventHandler ( "onClientGUIClick", resourceRoot,function () local Sdit = guiGetText(edit) if ( source == GUIEditor.button[1] ) then if Sdit ~= ' ' then triggerServerEvent("Out", localPlayer, Sdit) setTimer ( guiSetText, 1000, 1, edit, "" ) end end end) server addEvent("Out",true) addEventHandler("Out", root, function ( Sdit ) outputChatBox(" "..Sdit.." ", 255, 0, 0) end ) Experienced MTA developer for 4 years. | MTA خبرة 4 سنين في برمجة ليس عليك اسعاد الجميع , ولكن عليك بإن لا تؤذي أحداً =========You do not have to make everyone happy, But you should not hurt anyone Want to contact with me? Discord: JustCarry#2616 (Always there)Skype: Live:JustCarry10 (Not always)
Adham Posted April 22, 2016 Author Posted April 22, 2016 ما طلع في الشات كلنت addEventHandler ( "onClientGUIClick", resourceRoot,function () local Sdit = guiGetText(edit) if ( source == GUIEditor.button[1] ) then if GUIEditor.edit[1] ~= '' then triggerServerEvent("Out", localPlayer, GUIEditor.edit[1]) guiSetText(GUIEditor.edit[1], " ") end end end) سرفر addEvent("Out",true) addEventHandler("Out", root, function ( GUIEditor.edit[1] ) outputChatBox(" "..GUIEditor.edit[1].." ", 255, 0, 0) end ) قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
Mostafa MohammeD Posted April 22, 2016 Posted April 22, 2016 طيب معلش ممكن طلب؟عاوز لما يكتب شي بالايديت وضعط علي الزر يتمسح الكتوب بالايديت addEventHandler("onClientGUIClick",root, function () if guiGetText(edit) ~= '' then if source == اسم البوتون then guiSetText(edit,) end end end ) جرب هاي الكود للمسح مستواي في البرمجة 20% Skype = mr_m.o.s.t.a.f.a youtube = https://www.youtube.com/channel/UCEwOQx793Uxq5wazYDi-6mQ
Mostafa MohammeD Posted April 22, 2016 Posted April 22, 2016 ما طلع في الشاتكلنت addEventHandler ( "onClientGUIClick", resourceRoot,function () local Sdit = guiGetText(edit) if ( source == GUIEditor.button[1] ) then if GUIEditor.edit[1] ~= '' then triggerServerEvent("Out", localPlayer, GUIEditor.edit[1]) guiSetText(GUIEditor.edit[1], " ") end end end) سرفر addEvent("Out",true) addEventHandler("Out", root, function ( GUIEditor.edit[1] ) outputChatBox(" "..GUIEditor.edit[1].." ", 255, 0, 0) end ) ما اشتغل لانك غيرت اسم الايديت انقل الكود صح مستواي في البرمجة 20% Skype = mr_m.o.s.t.a.f.a youtube = https://www.youtube.com/channel/UCEwOQx793Uxq5wazYDi-6mQ
iMr.WiFi..! Posted April 22, 2016 Posted April 22, 2016 ما طلع في الشاتكلنت addEventHandler ( "onClientGUIClick", resourceRoot,function () local Sdit = guiGetText(edit) if ( source == GUIEditor.button[1] ) then if Sdit ~= '' then triggerServerEvent("Out", localPlayer, GUIEditor.edit[1]) guiSetText(GUIEditor.edit[1], " ") end end end) سرفر addEvent("Out",true) addEventHandler("Out", root, function ( GUIEditor.edit[1] ) outputChatBox(" "..GUIEditor.edit[1].." ", 255, 0, 0) end ) كلنت addEventHandler ( "onClientGUIClick", resourceRoot,function () local Sdit = guiGetText(GUIEditor.edit[1]) if ( source == GUIEditor.button[1] ) then if Sdit ~= '' then triggerServerEvent("Out", localPlayer, Sdit) guiSetText(GUIEditor.edit[1], " ") end end end) سرفر addEvent("Out",true) addEventHandler("Out", root, function ( Sdit ) outputChatBox(" "..Sdit.." ", 255, 0, 0) end ) Experienced MTA developer for 4 years. | MTA خبرة 4 سنين في برمجة ليس عليك اسعاد الجميع , ولكن عليك بإن لا تؤذي أحداً =========You do not have to make everyone happy, But you should not hurt anyone Want to contact with me? Discord: JustCarry#2616 (Always there)Skype: Live:JustCarry10 (Not always)
!#NssoR_) Posted April 22, 2016 Posted April 22, 2016 addEventHandler ( "onClientGUIClick", resourceRoot,function () if ( source == GUIEditor.button[1] ) then local Sdit = guiGetText(edit) if Sdit ~= '' then triggerServerEvent("Out", localPlayer, Sdit) setTimer(function () guiSetText(edit, " ") end,600,1) end end end) addEvent("Out",true) addEventHandler("Out", root, function ( msg ) outputChatBox(getPlayerName(client)..": "..msg.." ",root, 255, 0, 0) end )
Adham Posted April 22, 2016 Author Posted April 22, 2016 لما بضعط علي البيتون مب بيعمل في الشات الكتبتو قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
Adham Posted April 22, 2016 Author Posted April 22, 2016 ماشي نصور مش عاوز اسم للاعب عاوز الرساله فقط قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
!#NssoR_) Posted April 22, 2016 Posted April 22, 2016 addEvent("Out",true) addEventHandler("Out", root, function ( msg ) outputChatBox(msg,root, 255, 0, 0) end )
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