MR_Mahmoud Posted February 25, 2017 Share Posted February 25, 2017 ▂ ▃ ▄ ▅ ▆ ▇ ▉ ▊ ▋اٌلِـسُلِـاٌمِـ عٍلِـيٌـكُمِـ وِرُحٍمِـةُ اٌلِـلِـهٌ وِبّـرُكُاٌتْهٌ ▋▊ ▉ ▇ ▆ ▅ ▄ ▃ ▂ شباب ابي مساعدة عندي كود اسم العرب ابي اسويه لوحة حاولت بس مع الأسف ماصار هي الكوداتوابيه في فلوس يعني مايقدر يسوي اسمه عربي الا في الفلوس المطلوبة اتمنا تساعدوني هاد ملف الكلنت GUIEditor = { label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() local screenW, screenH = guiGetScreenSize() wind = guiCreateWindow((screenW - 377) / 2, (screenH - 306) / 2, 377, 306, "اسم العربي ", false) guiWindowSetSizable(wind, false) guiSetProperty(wind, "CaptionColour", "FFFF0000") guiSetVisible(wind,false) edit = guiCreateEdit(28, 69, 324, 32, "", false, wind) give = guiCreateButton(109, 139, 148, 47, "تطبيق اسم العربي", false, wind) guiSetProperty(give, "NormalTextColour", "FFAAAAAA") GUIEditor.label[1] = guiCreateLabel(3, 194, 374, 15, "_______________________________________________________________________________________________________", false, wind) guiSetProperty(GUIEditor.label[1], "NormalTextColour", "FFAAAAAA") ex = guiCreateButton(106, 244, 151, 45, "اغلاق", false, wind) guiSetProperty(ex, "NormalTextColour", "FFAAAAAA") end ) bindKey("F7", "down" , function () guiSetVisible ( wind , not guiGetVisible ( wind ) ) showCursor ( not isCursorShowing ( ) ) end ) addEventHandler ( "onClientGUIClick" , root , function ( ) --نجرب if ( source == give ) then local Num = guiGetText ( edit ) if ( Num ~= "" ) and ( tonumber ( Num ) ) then triggerServerEvent ( "GiveMoney" , localPlayer , Num ) end end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == ex ) then guiSetVisible(wind,false) showCursor(false) end end) هاد ملف السيرفر addEvent ( "GiveMoney" , true ) addEventHandler ( "GiveMoney" , root , function ( number ) setPlayerNametagText ( source,number ) outputChatBox ( "#FF0000اسمك الأن #00FF00عربي", getRootElement(), 255, 255, 255, true ) end ) Link to comment
Master_MTA Posted February 25, 2017 Share Posted February 25, 2017 (edited) وش يطلعلك بالدي بق debugscript 3 باف 8 Edited February 25, 2017 by Master_MTA Link to comment
#Wizard Posted February 25, 2017 Share Posted February 25, 2017 Invaild section. https://forum.multitheftauto.com/forum/96-arabic-العربية/ Quote قسم غلط, مبروك احتلال المنتدى الاجنبي Link to comment
MR_Mahmoud Posted February 25, 2017 Author Share Posted February 25, 2017 7 minutes ago, iRamX said: Invaild section. https://forum.multitheftauto.com/forum/96-arabic-العربية/ اخي علموني كيف اسوي القسم صح ياخي صار 3 مرة +ردو ساعدوني Link to comment
Ahmed Ly Posted February 25, 2017 Share Posted February 25, 2017 --#Client GUIEditor = { label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() local screenW, screenH = guiGetScreenSize() wind = guiCreateWindow((screenW - 377) / 2, (screenH - 306) / 2, 377, 306, "اسم العربي ", false) guiWindowSetSizable(wind, false) guiSetProperty(wind, "CaptionColour", "FFFF0000") guiSetVisible(wind,false) edit = guiCreateEdit(28, 69, 324, 32, "", false, wind) give = guiCreateButton(109, 139, 148, 47, "تطبيق اسم العربي", false, wind) guiSetProperty(give, "NormalTextColour", "FFAAAAAA") GUIEditor.label[1] = guiCreateLabel(3, 194, 374, 15, "_______________________________________________________________________________________________________", false, wind) guiSetProperty(GUIEditor.label[1], "NormalTextColour", "FFAAAAAA") ex = guiCreateButton(106, 244, 151, 45, "اغلاق", false, wind) guiSetProperty(ex, "NormalTextColour", "FFAAAAAA") end ) bindKey("F7", "down" , function () guiSetVisible ( wind , not guiGetVisible ( wind ) ) showCursor ( not isCursorShowing ( ) ) end ) addEventHandler ( "onClientGUIClick" , root , function ( ) --نجرب if ( source == give ) then local Num = guiGetText ( edit ) if ( Num ~= "" ) then triggerServerEvent ( "GiveMoney" , localPlayer , Num ) end end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == ex ) then guiSetVisible(wind,false) showCursor(false) end end) --#Server addEvent ( "GiveMoney" , true ) addEventHandler ( "GiveMoney" , root , function ( Num ) setPlayerNametagText ( source,Num ) outputChatBox ( "#FF0000اسمك الأن #00FF00عربي "..Num.."",source, 255, 255, 255, true ) end ) Link to comment
MR_Mahmoud Posted February 26, 2017 Author Share Posted February 26, 2017 (edited) 19 hours ago, Ahmed Ly said: --#Client GUIEditor = { label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() local screenW, screenH = guiGetScreenSize() wind = guiCreateWindow((screenW - 377) / 2, (screenH - 306) / 2, 377, 306, "اسم العربي ", false) guiWindowSetSizable(wind, false) guiSetProperty(wind, "CaptionColour", "FFFF0000") guiSetVisible(wind,false) edit = guiCreateEdit(28, 69, 324, 32, "", false, wind) give = guiCreateButton(109, 139, 148, 47, "تطبيق اسم العربي", false, wind) guiSetProperty(give, "NormalTextColour", "FFAAAAAA") GUIEditor.label[1] = guiCreateLabel(3, 194, 374, 15, "_______________________________________________________________________________________________________", false, wind) guiSetProperty(GUIEditor.label[1], "NormalTextColour", "FFAAAAAA") ex = guiCreateButton(106, 244, 151, 45, "اغلاق", false, wind) guiSetProperty(ex, "NormalTextColour", "FFAAAAAA") end ) bindKey("F7", "down" , function () guiSetVisible ( wind , not guiGetVisible ( wind ) ) showCursor ( not isCursorShowing ( ) ) end ) addEventHandler ( "onClientGUIClick" , root , function ( ) --نجرب if ( source == give ) then local Num = guiGetText ( edit ) if ( Num ~= "" ) then triggerServerEvent ( "GiveMoney" , localPlayer , Num ) end end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == ex ) then guiSetVisible(wind,false) showCursor(false) end end) --#Server addEvent ( "GiveMoney" , true ) addEventHandler ( "GiveMoney" , root , function ( Num ) setPlayerNametagText ( source,Num ) outputChatBox ( "#FF0000اسمك الأن #00FF00عربي "..Num.."",source, 255, 255, 255, true ) end ) شكرا كتير الك ياملك ولله انك كفو Edited February 26, 2017 by MR_Mahmoud 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