Jump to content

ABO-SR777777A

Members
  • Posts

    602
  • Joined

  • Last visited

Everything posted by ABO-SR777777A

  1. لالا مايسير كذا ! هنا احسن منها انا استفيد والناس يستفيدون ولي بتعلم
  2. ض1 مدري وش اقول والله المهم نتقتل لصفحه جديده ض1
  3. addEventHandler ("onClientGUIClick",root, function() if source == GUIEditor_Label[5] then guiCreateLabel ( 420,76,38,17, "Hello world", true ) end end ) ؟؟؟ صح
  4. السلام عليكم ورحمه الله وبركاته اما بعد. شباب انا بسوي سيرفر ومادري وشش افتح وش الناس يحبون من المودات ابي افتحح سيرفر بس مادري وش افتح زومبي ؟ هجوله ؟ بيس مود ؟ وشش افتح ابي شي جديد ابي كل واحد يعطيني فكره او مود
  5. طيب طيب ابي كود حق الباسورد يخليه كذا ******
  6. اوكـ بس بس مايسجل العضو والدخول نفس المشكله والماوس مايطلع == قبل كل شي اشكرك لوقوفك معي ومساعدتي ماقصرت اخوي اشكرك بكل عنف edit : ???
  7. لا كود التسجيل مسويه انا قبل في الصفحات بس شوفه صح ولالا ورد علي
  8. انا قصدي اذا كان مو مسجل مايقدر يدخل
  9. اذا سجلت login الماوس يجيني ولو دخلت السيرفر مايجي الماوس + اذا دق على lgoin يدخله انا ابيه يسجل
  10. الشاشه سوده وكل شي بس مايسجل دخول ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ [20:12:08] WARNING: 4\server.lua:6: Bad argument @ 'logIn' [Expected player at argument 1, got string 'A'] [20:12:08] WARNING: 4\server.lua:11: Bad argument @ 'outputChatBox' [Expected element at argument 2, got string 'A']
  11. لاتعطيني ياه جاهز قلي وانا اسوي function onJoin ( ) x, y, z = getElementPosition ( source ) local theVehicle = createVehicle ( 470, x, y, z ) warpPedIntoVehicle ( source, theVehicle ) end addEventHandler ( "onPlayerLogin", root, onJoin ) كود السياره
  12. رتبلي الاكواد الكود مرره مو شغال مدري ليش كلينت GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Checkbox = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Window[1] = guiCreateWindow(208,154,568,231,"Login and Register",false) GUIEditor_TabPanel[1] = guiCreateTabPanel(11,20,548,202,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("login / register",GUIEditor_TabPanel[1]) GUIEditor_Label[1] = guiCreateLabel(73,31,38,17,"user",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[1],255,255,0) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Label[2] = guiCreateLabel(256,11,5,5,"",false,GUIEditor_Tab[1]) GUIEditor_Edit[1] = guiCreateEdit(25,51,134,26,"",false,GUIEditor_Tab[1]) GUIEditor_Edit[2] = guiCreateEdit(25,93,134,26,"",false,GUIEditor_Tab[1]) GUIEditor_Button[1] = guiCreateButton(47,129,84,33,"register",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Button[1],"default-bold-small") GUIEditor_Checkbox[1] = guiCreateCheckBox(408,167,57,16,"save",false,false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Checkbox[1],"default-bold-small") GUIEditor_Label[3] = guiCreateLabel(73,77,38,17,"pass",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[3],255,255,0) guiSetFont(GUIEditor_Label[3],"default-bold-small") GUIEditor_Edit[3] = guiCreateEdit(366,93,134,26,"",false,GUIEditor_Tab[1]) GUIEditor_Edit[4] = guiCreateEdit(366,50,134,26,"",false,GUIEditor_Tab[1]) GUIEditor_Label[4] = guiCreateLabel(421,29,38,17,"user",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[4],255,255,0) guiSetFont(GUIEditor_Label[4],"default-bold-small") GUIEditor_Label[5] = guiCreateLabel(420,76,38,17,"pass",false,GUIEditor_Tab[1]) guiLabelSetColor(GUIEditor_Label[5],255,255,0) guiSetFont(GUIEditor_Label[5],"default-bold-small") GUIEditor_Button[2] = guiCreateButton(392,131,84,33,"Login",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Button[2],"default-bold-small") bindKey ( "F2" , "down" , function() if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then guiSetVisible ( GUIEditor_Window[1] ,true ) showCursor (true) guiSetInputEnabled(true) end end ) addEventHandler ("onClientGUIClick", root, function() if ( source == GUIEditor_Button[2] ) then triggerServerEvent("Login",getLocalPlayer(), guiGetText(user), guiGetText(pass)) end end ) addEvent ( "onSpecialEvent", true ) -- الخطوه الاولى addEventHandler("onSpecialEvent",root,-- الخطوه الثانيه function () if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then -- الخطوه الثالثه guiSetVisible ( GUIEditor_Window[1] ,false ) -- الخطوه الرابعه showCursor ( true ) end end ) سيرفر addEvent("Login",true) addEventHandler("Login",root, function(player,userName,Password ) local v = getAccount ( userName, Password ) if ( v ~= true) then if logIn ( player, v, Password ) == true then outputChatBox ( "Login with account : [ " .. userName .. " ]", player, 255, 255, 0 , true ) triggerClientEvent("onSpecialEvent",player) else outputChatBox("Error : In login",player,255,255,255,true) end end end )
  13. استفسار ==== انا الحين عندي كود ! اذا سجلت login تجيك سياره طيب ! انا ابيه اول مايدخل السيرفر يكون معه سياره !
  14. اسمع طيب شف addEvent ( "onSpecialEvent", true ) -- الخطوه الاولى addEventHandler("onSpecialEvent",root,-- الخطوه الثانيه function () if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then -- الخطوه الثالثه guiSetVisible ( GUIEditor_Window[1] ,false ) -- الخطوه الرابعه showCursor ( true ) end end ) حق وش ذا
  15. [18:30:40] WARNING: 4\server.lua:4: Bad argument @ 'getAccount' [Expected string at argument 1, got boolean] [18:30:40] WARNING: 4\server.lua:6: Bad argument @ 'logIn' [Expected player at argument 1, got boolean] [18:30:40] WARNING: 4\server.lua:10: Bad argument @ 'outputChatBox' [Expected element at argument 2, got boolean]
  16. ليش حذفت ردك؟ انت فهمت وش ابي بالظبط انا الحين لما اكتب اسم بالنافذه والرقم واسجل LOGIN يقلي الباس والرقم خطأ وهو صح اةنا ابيه اسجل اسمي ورقم حقي ويدخلني النافذه + اذا دخل السيرفر الاششاشه سوده يسجل دخوله وبعدين يدخل[/color]
  17. [18:02:15] WARNING: 4\server.lua:4: Bad argument @ 'getAccount' [Expected string at argument 1, got nil] [18:02:15] WARNING: 4\server.lua:6: Bad argument @ 'logIn' [Expected account at argument 2, got boolean]
  18. addEvent("Login",true) addEventHandler("Login",root, function( userName,Password ) local v = getAccount ( username, Password ) if ( v ~= false ) then logIn ( client, v, Password ) else outputChatBox ( "Wrong username or password!", client, 255, 255, 0 ) end end ) addEvent ( "onSpecialEvent", true ) -- الخطوه الاولى addEventHandler("onSpecialEvent",root,-- الخطوه الثانيه function () if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then -- الخطوه الثالثه guiSetVisible ( GUIEditor_Window[1] ,false ) -- الخطوه الرابعه showCursor ( true ) end end )
  19. احمر : كلنت بس ازرق : كلنت وسيرفر برتقالي : سيرفر بس + تأكد من السيرفر , تأكد ان الترايقر موجود , اوكـ الكود ماشتغل
×
×
  • Create New...