Jump to content

FRoTE-502

Members
  • Posts

    110
  • Joined

  • Last visited

Everything posted by FRoTE-502

  1. اذا كنت تقصد في قروب الادارة موب موجود هالكلمهه -_-"
  2. اخوي البندر انا موب مركب الاسل حقك انا مجربه في التجريبي <3
  3. السلام عليكم ورحمة الله وبركاته بسم الله الرحمن الرحيم شباب انا سويت لوحة تغير الباسورد هي شغاله اللوحة بس اذا بجي اضغط تغير مايجي في الشات انه يتغير ولا يتغير ابدأ وش المشكلةة Client -- GUIEditor = { button = {}, window = {}, label = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(208, 237, 407, 196, "..:[ لوحة تغير الباسورد من صنع قرطوس & فروتي ]:..", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.edit[1] = guiCreateEdit(90, 88, 204, 42, "", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(115, 63, 196, 31, "[ ضع باسوردك الجديد هنا ]", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(144, 141, 85, 30, "تغير.", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") GUIEditor.button[2] = guiCreateButton(346, 159, 52, 28, "Exit .", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(370, 22, 50, 42, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "sa-gothic") guiLabelSetColor(GUIEditor.label[2], 0, 252, 226) GUIEditor.label[3] = guiCreateLabel(8, 19, 50, 38, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "sa-gothic") guiLabelSetColor(GUIEditor.label[3], 42, 253, 0) guiSetVisible(GUIEditor.window[1], false) showCursor(false) end ) open = function() guiSetVisible( GUIEditor.window[1], not guiGetVisible( GUIEditor.window[1] ) ) showCursor( guiGetVisible( GUIEditor.window[1] ) ) end bindKey('F7','down',open) function guiClick (button, state, absoluteX, absoluteY) if (source ==GUIEditor.button[2]) then guiSetVisible (GUIEditor.window[1], false) showCursor (false) end end addEventHandler ("onClientGUIClick", getRootElement(), guiClick) function Frote () local text = guiGetText ( GUIEditor.edit[1] ) triggerServerEvent ( "Frote", getLocalPlayer(), text ) end addEventHandler ( "onClientGUIClick", GUIEditor.button[1], Frote, false) Server -- function Frote ( text ) local account = getPlayerAccount ( source ) if ( account ) then if isGuestAccount ( account ) then outputChatBox ( "Login on your account please.", source, 255, 255, 255, true ) else setAccountPassword ( account, text ) outputChatBox ( "Your new password #ff0000"..text..".", source, 255, 255, 255, true ) end end end addEvent ( "Frote", true ) addEventHandler ( "Frote", getRootElement(), Frote ) ارجو الحل بأسرع وقت --
  4. يعني الي يسوي كود كلنت لازم يعرف يسوي ملف سيرفر !!!؟
  5. مشكور ي كشكش على التعديل وبالنسبة للكود ذا كآمل addEventHandler("onClientGUIClick",guiRoot,function() if ( source == MakeIt ) then local FirstName = guiGetText(EditFirstName) local LastName = guiGetText(EditLastName) local TheAge = guiGetText(EditTheAge) local TheCountry = guiGetText(EditTheCountry) if ( string.len(FirstName) > 2 ) then if ( string.len(LastName) > 2 ) then if ( string.len(TheAge) > 1 ) then if ( string.len(TheCountry) > 2 ) then triggerServerEvent("MakeIt",localPlayer,FirstName,LastName,TheAge,TheCountry) else outputChatBox("",255,0,0,true) end else outputChatBox("",255,0,0,true) end else outputChatBox("",255,0,0,true) end else outputChatBox(",255,0,0,true) end
  6. اخوي انا ماعرف اسوي ملف سيرفر -- كيف تبي اقولك وش يطلع لي
  7. اخوي انا ابي اعرف بس كيف اسوي triggerServerEvent <==
  8. السلام عليكم ورحمة الله وبركاته شباب محتآج مسآعدهه منكم # وياريت تقدرون تسآعدوني 1- ابي اسوي triggerServerEvent ل هاالكود كيف ! ؟ addEventHandler("onClientGUIClick",guiRoot,functio n() if ( source == MakeIt ) then local FirstName = guiGetText(EditFirstName) local LastName = guiGetText(EditLastName) local TheAge = guiGetText(EditTheAge) local TheCountry = guiGetText(EditTheCountry) if ( string.len(FirstName) > 2 ) then if ( string.len(LastName) > 2 ) then if ( string.len(TheAge) > 1 ) then if ( string.len(TheCountry) > 2 ) then triggerServerEvent("MakeIt",localPlayer,FirstName, LastName,TheAge,TheCountry) else 2- وهذا الكود بعد elseif ( source == DeleteIt ) then triggerServerEvent("DeleteIt",localPlayer) end end) ارجو من الخبرآء يردو ويعلموني ! وشكرآ ...
  9. معليش بلغلط نسخت حق باد بوي
  10. Name : Hassan-Ali Email : [email protected] Age : 17 From : Saudi Arabia
×
×
  • Create New...