Jump to content

Aboodealtikrity

Members
  • Posts

    39
  • Joined

  • Last visited

Everything posted by Aboodealtikrity

  1. مشكور اخ تابل ماقصرت راح احاول واشوف اما بالنسبة للكود فهذا كلة يعني الي يخص الداتابيس يعني شي بسيط مجرد دااتعلم كيف اجيب من قاعدة البيانات وادخلها بالليبل او باي شي تابع للكلاينت
  2. اشكرك اخي ع المساعدة .. الوضوع انو انا اريد اجيب الاسم من قاعدة البيانات واجيب المعلومات من قاعدة البيانات واخليها بالبنل بس اشكرك مرة ثانية لا اخي شوف انا سويت الادمن بنل من الادمن يضغط على اسم اللاعب ومن يضغط ع اسم اللاعب تجي معلوماته من ياعة البياانات مثلا شنو عنده سلاح مسجون او لا او عليه ريبورت فهذي البدايه انا تركت سنة ورجعت اتعلم ف بديت من الصفر
  3. Ok im sorry Mr but the problem is small and should i wait for a weeks this forum for support i think .. But no problem this is second topic in english section and i asked in my main languages maybe no one understood me in english section i said i know its my mistake but not a big problem
  4. هذي اللوحة اني سويتها بيدي ووممعدل عليها ؟ اني لو اريدد استعمل لوحات موجودة الاف جان ماسآلتكم شوية المفروض يكون التعليق اكثر ثقافة ! مع احتراماتي الكم بس الموضوع ممكرر نشرت بالانكليزي بس يقرون وميجاوبون انتظرهم العمر كله ؟ ثانيا حسيت بالمذلة من دااشوف التعليقات هذي
  5. السلام عليكم شباب حاولت اطرح مشكلتي بالسكربت الرئيسي لكن هناك كل سنة بيردون على تعليق اخوان اني تركت تقريباً سنة عندما كنت اتعلم بسبب الظروف وحالياً اشتغل شوي شوي عندي مشكلة انو دااسحب من قاعدة البيانات اسم اللاعب من واحد يضغط على الاسم بالادمن بنل يطلع الاسم الي بقاعدة البيانات المشكلة انو مديطلع الاسم ديظهر عندي مثل ماموجود بالصورة ؟؟ ? ? ~~server~~ function getinfo() local result = mysql_query(handler, "SELECT * FROM account WHERE mtaserial='"..getPlayerSerial(source).."'") numRows = mysql_num_rows ( result ) if numRows == 1 then if (result) then while true do local data = mysql_fetch_assoc(result) if (not data) then break end name= tostring(data["accountname"]) triggerClientEvent(source, "selectt", getRootElement(), name) end mysql_free_result(result) else end end end ~~client~~ function show (name) if ( ( source == playerstable ) ) then if ( guiGridListGetSelectedItem( playerstable ) ~= -1 ) then guiSetText ( accountnamelabel, "AccountName : "..name.."" ) end end end addEvent("selectt",true) addEventHandler("selectt",getRootElement(),show) من ادوس على اسم اللاعب يطلعلي اسم الحساب "left" وشكراً وسهلاً الموضوع سهل مجرد ترگر من قاعدة البيانات لليبل الي كدامكم
  6. Hello Guys look to this ? ~~server~~ function getinfo() local result = mysql_query(handler, "SELECT * FROM account WHERE mtaserial='"..getPlayerSerial(source).."'") numRows = mysql_num_rows ( result ) if numRows == 1 then if (result) then while true do local data = mysql_fetch_assoc(result) if (not data) then break end name= tostring(data["accountname"]) triggerClientEvent(source, "selectt", getRootElement(), name) end mysql_free_result(result) else end end end ~~client~~ function show (name) if ( ( source == playerstable ) ) then if ( guiGridListGetSelectedItem( playerstable ) ~= -1 ) then guiSetText ( accountnamelabel, "AccountName : "..name.."" ) end end end addEvent("selectt",true) addEventHandler("selectt",getRootElement(),show) The problem is When im pressing on Playername instead of accountname its showing Word "left" this Screenshot Can someone Solve this ??
  7. I've wrote email and surname for checking because it showing the value is "left" so the orginial trigger was accountname thanks i will try this ...
  8. i tried to change it but it still left i tried accountname or tonumber like ip the same left can you give me a small example for that and thanks for help
  9. Hello Guys look to this ~~server~~ function getinfo() local result = mysql_query(handler, "SELECT * FROM account WHERE mtaserial='"..getPlayerSerial(source).."'") numRows = mysql_num_rows ( result ) if numRows == 1 then if (result) then while true do local data = mysql_fetch_assoc(result) if (not data) then break end name1 = tostring(data["email"]) name2 = tostring(data["surname"]) triggerClientEvent(source, "selectt", getRootElement(), name1, name2) end mysql_free_result(result) else end end end ~~client~~ function show (namee) if ( ( source == playerstable ) ) then if ( guiGridListGetSelectedItem( playerstable ) ~= -1 ) then guiSetText ( accountnamelabel, "AccountName : "..namee.."" ) end end end addEvent("selectt",true) addEventHandler("selectt",getRootElement(),show) The problem is When im pressing on Playername instead of accountname its showing Word "left" this Screenshot thanks
  10. Thanks i ve tried this beforw so tell me how to make bindkey with event handler ? And how can i use getElementData in client can you give me just little example ... And thanks for your help
  11. Hello guys ... Because i left learning of scripting for a long time now i forgot everything so im trying to remember anything ... now im scripting admin panel but the problem now i want to make an access for panel if the player admin so he can open the panel by bindKey but the script will see the admin level from db in mysql like if (data['admin'] == 'Admin') then E.g open admin panel call it from client end and thanks for help because im noob and noob
  12. is a Ok i can use SQLite but is this Secure or Maybe SQLite Will lost the Information ? MySQL/SQLite are basically the same, other than SQLite is a file on the server, and MySQL is a database server that can be connected remotely to. Thank you my friend for help i make MYSQL database And I know how to Export and import from Tables but the problem with my Functions when i have problem in escape_string i take a long time for fix it
  13. Ok i can use SQLite but is this Secure or Maybe SQLite Will lost the Information ?
  14. dxDrawRectangle(screenX/4+(screenX/16),1*20-20,screenX/2-(screenX/16),20.0,tocolor(0,0,0,150),false) أستخدم * بمكان التقسيم
  15. So which Server i can take (NOT LEAKED )
  16. lool im talking about the database i mean MYSQL i have little knowledge in it so i ask the question if i can make Server Based in old MYSQL
  17. Hello Guys I need Small Help Here its Just Question ..... Can i make server Based in old server i mean the Database Because i have little knowledge in database its will take long time from me and no one want to help me they need money and i havent money i want to make my own server for friends or for enjoy .... and i will not take the same script i will use my own or Change some of it .... ?? (IF) Answer Yes please if you can give me server from old servers (NOT LEAKED) (IF) Answer No Thank you For Answer And i appreciate your help ......
  18. yes this is released i think i download it from SPL4Z ?? i dont know if it leaked but ithought its normal if you download and edit it i dont love to steal From People ?
  19. Have a nice day guys .. I spent four days with this script i have problem but i dont now where its ... First thing this is not Leaked Resrouce this is from release GM Second thing i edit little on it and change DB third thing ... when i create character its normal but when i choose the character there are outputchatbox said :you are Playing now in the character but the screen still in the character window with out spawning ...? i mean the character didnt spawn... And There isnt Any Error in debugscript i wish if you give me some help im new i want to learn and im sorry for take your time guys this is script : Server CODE REMOVED BY Solidsnake14 There Are some Of Lines I delete it Because of the Topic Very much of Letters not important Note : For Remember This is not Leaked And im new if there are some errors its normal Thanks guys And Don't Steal it people lool
  20. thanks for you guys i havent seen it yet because im doing different script when i finish it i will try it
  21. hide_hideGUI = hide.hideGUI --You've set hide_hideGUI equal to hide.hideGUI (nil). Since hide.hideGUI is not defined yet, it's equal to nil; thus hide_hideGUI is also equal to nil. function hideGUI(regged) --Function name is no longer 'hide.hideGUI' (not in the 'hide' table) - No point of trying the suggestions if you chose to make the function outside the table. All above suggestions are ways to use exports on functions which are within tables. exports.CORchar:hide_hideGUI() --Trying to call a function that isn't defined. Only hideGUI is defined, not hide.hideGUI. Moreover, neither hide.hideGUI, hide_hideGUI or hideGUI were defined server side. Thank you For explain now i understand i was want to attach it in other file i copy it in the client file its work normally thanks guys im learning step by step
  22. hahah i just want to tag in this name ... And you must read the Note in the bottom of Topic LOOL
  23. 1- can you explain i didnt understood you in the second part of firs point ? 2- i have character panel i want to open it just when the player register after that when the player login directly without character panel and im sorry guys for take long time from you Thank you for your petient
  24. This is Client side in CORchar hide_hideGUI = hide.hideGUI function hideGUI(regged) local xmlRoot = xmlCreateFile("vgrpreg.xml", "registered") if (xmlRoot) then xmlSaveFile(xmlRoot) end showCursor(false) guiSetInputEnabled(false) showChat(true) hidepanel() if (accountwindow) then destroyElement(tabPanelCharacter) destroyElement(accountwindow) accountwindow = nil tabPanelCharacter = nil end if (regged) then buildwindow(getThisResource()) end if (bChangeAccount) then destroyElement(bChangeAccount) bChangeAccount = nil end if wDelConfirmation then destroyElement(wDelConfirmation) wDelConfirmation = nil end end addEvent("hideGUI", true) addEventHandler("hideGUI", getRootElement(), hideGUI) in server side i used exports.CORchar:hide_hideGUI() the same Error debugscript ERROR:CORlogin\CORlogin.lua 210: call: field to call 'CORchar:hideGUI' [string "?"]
×
×
  • Create New...