-
Posts
2,259 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Adham
-
addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor.button[5] ) then setWorldSpecialPropertyEnabled ( "extrajump", true ) exports.TopBarChat:sendClientMessage ( "Text", 255,255,255, true ) end end ) افتح مود توب بار شات وتاكد ان اسمه بالظبت TopBarChat
-
غير مجرب كلنت : addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor.button[5] ) then setWorldSpecialPropertyEnabled ( "extrajump", true ) exports["TopBarChat"]:sendClientMessage ("[Ranks System] تم تشغيل القفزة المرتفعة.",255,255,255,true ) end end )
-
انا كبتوmsgbox لاكن بالغلط كتبتها bow في الموضوع
-
يجي دي بق كل شوي call: failed to call 'msgbow:guiShowMessageBox' [string "?"]
-
Abu-Solo @ getPlayerSerial Server-only function
-
ارجو الرد شباب بيجلي خطأ في الدي بق !! وم يطلع لوحه
-
ي حبيبي م في اكواد سرفر ؟ الاكواد كلها قدامك
-
مود المسج : الكود MsgBoxWindow = {} MsgBoxText = {} MsgBoxWindow = guiCreateWindow(0.3984,0.3841,0.2061,0.1901,"Info",true) guiSetAlpha(MsgBoxWindow,0.8) MsgBoxText = guiCreateLabel(0.1991,0.2808,0.5498,0.4726,"",true,MsgBoxWindow) guiSetVisible(MsgBoxWindow, false) showCursor(false) function newmsgbox(co) guiSetVisible(MsgBoxWindow, true) guiSetText(MsgBoxText, tostring(co)) showCursor(false) setTimer(function() guiSetAlpha(MsgBoxWindow,0.70000000000000) end, 300, 1) setTimer(function() guiSetAlpha(MsgBoxWindow,0.60000000000000) end, 700, 1) setTimer(function() guiSetAlpha(MsgBoxWindow,0.50000000000000) end, 1000, 1) setTimer(function() guiSetAlpha(MsgBoxWindow,0.40000000000000) end, 1300, 1) setTimer(function() guiSetAlpha(MsgBoxWindow,0.30000000000000) end, 1500, 1) setTimer(function() guiSetAlpha(MsgBoxWindow,0.20000000000000) end, 1800, 1) setTimer(function() guiSetAlpha(MsgBoxWindow,0.10000000000000) end, 2000, 1) setTimer(function() guiSetAlpha(MsgBoxWindow,0.00000000000000) end, 2300, 1) setTimer(function() guiSetVisible(MsgBoxWindow, false) end, 2300, 1) end addEvent("msgBoxInfo", true) addEventHandler("msgBoxInfo", getRootElement(), newmsgbox) الكود لحطه في مود اخر عشان تطلع لوحه function show(msg) exports.msgbox:guiShowMessageBox(msg,"error","Error",false,"OK") end show("adham") تعريف الميتا : <include resource="msgbox" />
-
سلام عليكم كل م اجي اشغلمود msgbox واحط كوده في كلنت الهوا ده : function show(msg) exports.msgbox:guiShowMessageBox(msg,"error","Error",false,"OK") end واحط show("doma" ) مثلا اجي اروح السرفر يجي بي الدبي بق call: failed to call 'msgbow:guiShowMessageBox' [string "?"] المشكله دي صارت معي اكتر من مره وما عارف احلها
-
لازم , تحققات حاول في الكود وبساعدك فيه إنشاء الله ^
-
addEvent ( 'onPlayer:Login', true ) addEventHandler ( 'onPlayer:Login', root, function ( AccountName, AccountPass ) local oldAccount = getPlayerAccount( source ) if (not oldAccount == isGuestAccount(oldAccount)) then outputChatBox( 'تم تسجيل من قبل', source, 255, 0, 0, true ) return end local playerAccount = getAccount(AccountName, AccountPass) if (playerAccount ~= nil or playerAccount ~= false) then if (logIn(source, playerAccount, AccountPass)) then outputChatBox( 'تم التسجيل', source, 0, 255, 0, true ) triggerClientEvent ( source, "onPlayer:LoginWnd", source ) else outputChatBox( 'حدث خطا!', source, 255, 0, 0, true ) return end end end )
-
Login : addEventHandler ( "onClientGUIClick", root, function () if source == GUIEditor.button[1] then -- Login local AccountName = guiGetText ( GUIEditor.edit[1] ) -- edit local AccountPass = guiGetText ( GUIEditor.edit[2] ) if AccountName == "" or AccountPass == "" then return end triggerServerEvent ( "onPlayer:Login", localPlayer, AccountName, AccountPass ) end end ) addEventHandler ( "onClientGUIClick", root, function ( ) if source == Ok then local NewAccount = guiGetText(username) local NewPass = guiGetText(password) local RepeatPass = guiGetText(RepeatPass) if NewAccount == "" or NewPass == "" or RepeatPass == "" then return end if ( NewPass ~= RepeatPass) then outputChatBox( 'يرجأ كتابه باسورد متاطبق', 255, 0, 0, true ) return end triggerServerEvent( 'addAccount', localPlayer, NewAccount, NewPass ) end end end ); -- server register addEvent ( 'checkForRegisterNewAccount', true ) addEventHandler( 'checkForRegisterNewAccount', root, function( NewAccount, NewPass) if (getAccount( NewAccountName ) ~= false) then outputChatBox( 'الحساب موجود .؟!', source, 255, 0, 0, true ) else addAccount( NewAccount, NewPass) outputChatBox( '*You register now.', source, 0, 255, 0, true ) end end )
-
السلأم عليكم ورحمه الله وبركاتة .. اليوم سويت مود تسجيل دخول المود لما بسجل في حسابي بكتب في الايديت الاول والتاني الباس يسجل تمام .. ولما اكتب لوحه اخري ايدديت اسم الحساب .. وايديت الباسورد .. وايديت تاأكيد الباسورد ويسجل تمأم المشكله : لما بسجل الحساب register بيسجل لاكن لما اسجل الحساب واجي اكتبو في لوحه ال Login م يدخل يقولي الحساب غلط
-
علي حسب فهمك ولله بس الاسهل لك السقل