ABO-SR777777A
Members-
Posts
602 -
Joined
-
Last visited
Everything posted by ABO-SR777777A
-
كلينت ولا سيرفر؟ الكود حطيته كلينت مشتغل وسيرفر ماشتغل حق وش هو اصلا addEvent ( "onSpecialEvent", true ) -- الخطوه الاولى addEventHandler("onSpecialEvent",root,-- الخطوه الثانيه function () if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then -- الخطوه الثالثه guiSetVisible ( GUIEditor_Window[1] ,false ) -- الخطوه الرابعه showCursor ( true ) end end )
-
والله انا مسويه هههههههههههاي
-
1ض1ض1ض1ض1ض1ض1ض11ض1ض 1ض1ض1ض1ض1ض1ض1ضض1ضض1 تنكسشوآ اجربه؟
-
اوكــ شف هنا شف بس هنا يقلي addEvent ( "onSpecialEvent", true ) -- الخطوه الاولى addEventHandler("onSpecialEvent",root,-- الخطوه الثانيه function () if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then -- الخطوه الثالثه guiSetVisible ( GUIEditor_Window[1] ,false ) -- الخطوه الرابعه showCursor ( true ) end end ) هيا قلي خطأ
-
مانخست ولا شي ا انا بدلت نسختها وقاعد اعدل عليها
-
function() if ( source == GUIEditor_Button[2] ) then triggerServerEvent("login",getLocalPlayer(), guiGetText(user), guiGetText(pass)) end end ) addEvent( "onGreeting", true ) addEventHandler( "onGreeting", getRootElement(), greetingHandler )
-
guiGetVisible(Window) guiElement اقصد انه بالويكي , bool guiSetEnabled ( element guiElement, bool enabled ) توقعت انه لازم احط الحاله - true or false ._. + حطيت مثال على نافذه ذذ وش يعني ترايقر وشش يفيد هذا حق وش
-
طيب اذا كتبت الاسم والرقم صح ماتختفي النافذه ليش؟ وكود REGISTER addEvent("register",true) addEventHandler("register",root, function(player,userName,Password) if ( password ~= "" and password ~= nil ) then local accountAdded = addAccount( getPlayerName(source), password ) if ( accountAdded ) then outputChatBox ( "Thank you " .. getPlayerName(source) .. ", you're now registed, you can login with /login", source ) else outputChatBox ( "Error creating account, contact the server admin", source ) end else outputChatBox ( "Error creating account, correct syntax: /register ", source ) end end addCommandHandler ( "register", registerPlayer ) الى سويته وش الاخطاء الى فيه + ابي وضيفه اذا دخل السيرفر الشاشه سوده يسجل دخول ويدخل
-
ليش؟ طيب يلا الحل!
-
كيف يعني l > L
-
[15:14:00] ERROR: Client (ROx) triggered serverside event login, but event is not added serverside
-
حطيته كله كلينت ماشتغل 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 ) addEventHandler ("onClientGUIClick", root, function() if ( source == GUIEditor_Button[2] ) then triggerServerEvent("login",getLocalPlayer(), guiGetText(user), guiGetText(pass)) end end )
-
ابيه بس لي login addEventHandler ("onClientGUIClick", root, function() if ( source == login ) then triggerServerEvent("login",getLocalPlayer(), guiGetText(user), guiGetText(pass)) end )
-
addEvent("register",true) addEventHandler("register",root, function(player,userName,Password) if ( password ~= "" and password ~= nil ) then local accountAdded = addAccount( getPlayerName(source), password ) if ( accountAdded ) then outputChatBox ( "Thank you " .. getPlayerName(source) .. ", you're now registed, you can login with /login", source ) else outputChatBox ( "Error creating account, contact the server admin", source ) end else outputChatBox ( "Error creating account, correct syntax: /register ", source ) end end addCommandHandler ( "register", registerPlayer )
-
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 (false ) guiSetInputEnabled(true) end end ) ناقله
-
الكود الثاني addEvent("register",true) addEventHandler("register",root, function(player,userName,Password) if ( password ~= "" and password ~= nil ) then local v = getAccount ( username, password ) if ( v ~= false ) then Tell the user all is done outputChatBox ( "Thank you " .. getPlayerName(source) .. ", you're now registed, you can login with /login", source ) else outputChatBox ( "Error creating account, contact the server admin", source ) end else outputChatBox ( "Error creating account, correct syntax: /register ", source ) end end addCommandHandler ( "register", registerPlayer )
-
عرفتها بس ابي كود لفتح النافذده ضاع ض1
-
الكود حقي صح مافي الا خطأ واحد؟
-
what? addEvent("Login",true) addEventHandler("Login",root, function(player,userName,Password) local v = getAccount ( username, password ) if ( v ~= false ) then login ( Player, account, password ) else outputChatBox ( "Wrong username or password!", thePlayer, 255, 255, 0 ) end end addCommandHandler ( "login", loginPlayer ) اسم الزر هنا addEventHandler ("onClientGUIClick", root, function() if ( source == login ) then triggerServerEvent("login",getLocalPlayer(), guiGetText(user), guiGetText(pass)) elseif ( source == register ) then triggerServerEvent("register",getLocalPlayer(), guiGetText(user), guiGetText(pass)) end end )
-
تم الاخطأْ addEvent("Login",true) addEventHandler("Login",root, function(player,userName,Password) getAccount ( username, password ) if ( GUIEditor_Label[13] ~= false ) then login ( Player, account, password ) else outputChatBox ( "Wrong username or password!", thePlayer, 255, 255, 0 ) end end addCommandHandler ( "login", loginPlayer )
-
صدقت
-
اها فهمت اوك بسويها وارد لكم خبر
-
"onPlayerSpawn" setElementModel مثال بسيط الكود معقد شوي
-
--الدخول-- triggerServerEvent onClientGUIClick getAccount logIn --التسجيل-- getAccount addAccount طيب كيف اسوي button انا لو سويت الاكواد فين احط اسم الزر عشان يدق عليه ويدخله