Jump to content

Aboodealtikrity

Members
  • Posts

    39
  • Joined

  • Last visited

About Aboodealtikrity

  • Birthday 06/01/1994

Details

  • Gang
    Gijoe
  • Location
    Turkey
  • Interests
    LUA

Recent Profile Visitors

1,120 profile views

Aboodealtikrity's Achievements

Rat

Rat (9/54)

0

Reputation

  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 )
×
×
  • Create New...