Jump to content

Tete omar

Members
  • Posts

    3,267
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Tete omar

  1. so when/where you want "return" at ?
  2. الكلنت راح يكون فيه أخطاء او تشوف الاعب الي دخل معك مختفي " عن تجربه "
  3. the Label error is showing if the GUIEditor_Edit[6] is empty, but the registering process doesn't stop, it only show the label error
  4. if guiGetText ( GUIEditor_Edit[6] ) == "" then guiSetVisible( GUIEditor_Label[15], true ) setTimer( guiSetVisible, 3000, 1, GUIEditor_Label[15], false ) return end it doesn't work, i see the error and the account was created.. ? i want if the Edit[6] is empty then stop the registering process. if full code needed then tell me
  5. jaysds this problem was solved i'm talking now about this if #guiGetText ( GUIEditor_Edit[6] ) == 0 then guiSetVisible( GUIEditor_Label[15], true ) setTimer( guiSetVisible, 3000, 1, GUIEditor_Label[15], false ) return end thanks anyway
  6. Listen andrel, if #guiGetText ( GUIEditor_Edit[6] ) == 0 then guiSetVisible( GUIEditor_Label[15], true ) setTimer( guiSetVisible, 3000, 1, GUIEditor_Label[15], false ) return end this is register code so GUIEditor_Edit[6] is the player's e-mail so if he typed nothing then guiSetVisible true to GUIEditor_Label[15] this gui-label is an error GUIEditor_Label[15] = guiCreateLabel(443,310,148,18,"enter your e-mail !",false,GUIEditor_Window[2]) i hope you understood me.
  7. استخدم setElementInterior على الباب الي تبيه
  8. you're really out of the subject and no
  9. وش تقصد وضح اكثر ..
  10. حط الكود كامل اذا كان هالكود جزء من سكربت امكن فيه اخطاء ثانية صادره عن الكودات الثانية
  11. تابل هو حاطت gui-edit = guiCreateEdit(37,22,296,39, "", false,Info) في كل ال gui-edit " = " expected near " - " بس غلط الشرطة هاذي تجيب ايرور
  12. جرب local Window = guiCreateWindow ( 541,262,388,241, "login/register Panl", true ) local tabPanel = guiCreateTabPanel ( 9,21,370,211, true, Window ) local Info = guiCreateTab( "login/register", tabPanel ) guiCreateLabel(159,4,40,17,"Name :",true,tabPanel) guiedit1 = guiCreateEdit( 37,22,296,39, "", true ) guiCreateLabel(161,66,35,16,",true,tabPanel) guiedit2 = guiCreateEdit( 39,84,296,41, "", true ) button = guiCreateButton( 102,133,167,45, "login/register", true ) bindKey ( "F2" , "down" , function() if ( guiGetVisible ( Window ) == true ) then guiSetVisible ( Window ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( Window ) == false ) then guiSetVisible ( Window ,true ) showCursor (false ) guiSetInputEnabled(true) end end )
  13. اكتب في اف 8 او في الشات debugscript 3 وقول وش يطلعلك
  14. i tried to do it about 3 hours without avail
  15. كلنت BTN2 = guiCreateButton(580,280,90,30,"Kills and Deaths",false,tab4) ---------------------ربط الازرار---------------- addEventHandler("onClientGUIClick",root,function() if source == BTN2 then triggerServerEvent("Kills and Deaths",localPlayer) end end) سيرفر addEvent("Show Kills and Deaths",true) addEventHandler("Show Kills and Deaths",root,function() local Name,Killer = getPlayerName(source),getPlayerKiller(source) outputChatBox(Name.." has Kills and Deaths "..Killer,root,255,255,255,true) end) getPlayerKiller(source) ??????? انت لخبطت كل الكود وما له معنى مررررة
  16. thanks castillo thanks tapl thanks kenix
  17. i have another problem if #guiGetText ( GUIEditor_Edit[6] ) == 0 then guiSetVisible( GUIEditor_Label[15], true ) setTimer( guiSetVisible, 3000, 1, GUIEditor_Label[15], false ) return end i want here if gui-edit[6] wasn't completed then stop every thing and show the error inside the gui-label[15]
  18. اعتقد انه ما يبيها تروح من الافضل انك تستخدم guiCreateLabel outPutChatBox مع كلام الاعبين راح تطلع فوق وتختفي gui-label شي دائم
  19. client side function registering() if ( source == GUIEditor_Button[4] ) then local g_textR = guiGetText( GUIEditor_Edit[3] ) local g_textR2 = guiGetText( GUIEditor_Edit[4] ) local g_textR3 = guiGetText( GUIEditor_Edit[5] ) triggerServerEvent("g_textToRegister", getRootElement(), getLocalPlayer(), g_textR, g_textR2, g_textR3) end end addEventHandler("onClientGUIClick", getRootElement(), registering) server side function g_textToRegister( player, user, password, g_textR3) if password == g_textR3 then account = addAccount ( user, password ) else triggerClientEvent(player,"confirmError",player) if (logIn ( player, account2, password ) == true) then outputChatBox ( "successfully registered, welcome ".. getPlayerName( source ), player, 255, 255, 0 , true ) randomModel = math.random( 26, 37 ) setElementModel ( player, randomModel ) else triggerClientEvent(player,"registerEroor",player) end end end addEvent("g_textToRegister", true) addEventHandler("g_textToRegister", getRootElement(), g_textToRegister) every " else " that i put were happened, registerError and confirmError sorry, I've been confused with this code
  20. Hi all, is there any function that saves the player's position and money ?
  21. Thanks jaysds, thanks tapl open ur skybe jays
×
×
  • Create New...