Jump to content

MR.GRAND

Members
  • Posts

    854
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by MR.GRAND

  1. اذا حليته عوافي وآسفين على التقصير بالتوفيق لك
  2. Hi bro, You need to edit object scale for be correct with that skins After that edit x, y, z for that object in attach function, So after do all that you will put it in the correct position . Good Luck brother .
  3. في اقتراح لك ومجربه بمود من موداتي من قبل ^ سوي قيمة وضيفها ... للقاعدة value والقيمة تساوي ... الوقت والتاريخ معا, وهذي القيمة تحطها بداتا على الرو اللي تبيه لما يصير ارسال للوحة الكونسل وكذا لما تبي تحذفها تروح تجيب الداتا حقتها وترسلها للسيرفر وتحذف الرو اللي متحقق من القيمة حقته .
  4. Great design, Keep going brother Good job .
  5. التعديل بسيط وبسيط للغاية ^ اول مايضغط الزر يتحقق لو اللاعب المحدد هو نفسه اللاعب المحلي من اسمه يكنسل ويرجع .
  6. Happy new year for all, I hope all of you get nice time and feel happy .
  7. انجليزي دا يا مرسي ؟
  8. كل شخص ومقدرته, انا وضحت له الفكرة وهو حر الأختيار ^
  9. الأسهل له هنا الداتا ^ السكل هنا راح تصعب عليه الأمر وتطوله, الأكاونت داتا شغلة سريعة وسهلة ^
  10. I think he asked about idea to do that, So, عند مايفوز اللاعب تحطله داتا بناء على الداتا القديمة والجديدة وتزيدهم كل مرة ^ وتزيد مرات اللعب لما يقوله المرجو الإنتظار ويدخل ... طبعا تقدر تستخدم SQL, Account Data والافضل هنا الأكاونت داتا ^
  11. Ok try the code which wrote by @Snow-Man and good luck .
  12. I think this table is general table for all players, So you need to make special table for everyone .
  13. MR.GRAND

    ban system

    Try this function checkPIFBanned() if isPlayerBanned(getPlayerIP(source)) then local ban = exports.USCsql:queryData("SELECT `admin`,`player`,`reason`,`duration` FROM `bans` WHERE `IP`=?", getPlayerIP(source)) triggerClientEvent(source, "drawDXBanScreen", source, ban[1]['admin'], ban[1]['player'], ban[1]['reason'], ban[1]['duration']) end end addEventHandler("onPlayerJoin", root, checkPIFBanned)
  14. MR.GRAND

    ban system

    At the top you inserted player ip in this column so why you check the serial instead of ip if u used that before ?
  15. 'onPlayerQuit' 'onPlayerLogin' getPlayerAccount getPlayerMoney getAccountData setAccountData setPlayerMoney
  16. اذا تقصد طريقة الحفظ فهي عن طريق SQL لازم تضيف ارقمنت جديد للجدول وتحط فيه لون الرسالة ^ لما يغيره من مود التغيير ... يسوي داتا لحسابه + يتحقق لو معه تاجات خاصة كمان يحدث قيمة اللون .
  17. اممم شالخلل ؟ ماتعرف ايش وضعه ؟
  18. انا عدلته سويته لما يسجل دخوله ^ هو كان طالب كذا بس انا ماركزت باسم الحدث + الويكي يظهر عندك ولا يجيك 404 خطأ ؟ لأن انا مايشتغل عندي مدري شفيه .
  19. addEventHandler( 'onPlayerLogin', getRootElement( ), function( ) local account = getPlayerAccount( source ) if ( not isGuestAccount( account ) ) then if ( getAccountData( account, 'open;Times' ) == '[2];Times' ) then else outputChatBox( '* Data Has Been Updated', source, 255, 255, 0, true ) triggerClientEvent( source, 'show', source ) setAccountData( account, 'open;Times', '[2];Times' ) end end end ) ههه آسف ماكنت مركز بالحدث نسيت انه على تسجيل الدخول + Code edited .
  20. addEventHandler( 'onPlayerJoin', getRootElement( ), function( ) local account = getPlayerAccount( source ) if ( isGuestAccount( account ) ) then return end if ( getAccountData( account, 'open;Times' ) == '[2];Times' ) then return end outputChatBox( '* Data Has Been Updated', source, 255, 255, 0, true ) triggerClientEvent( source, 'show', source ) setAccountData( account, 'open;Times', '[2];Times' ) end )
  21. setAccountData( account, 'DataKey', 0 ) --/// onPlayerLogin acc = ... if getAccountData( acc, 'DataKey' ) == 1 then ... else ... end ______________ Good luck
  22. bindKey("F4", "down", function() if not chgTeamOnDeath then exports["guimessages"]:outputClient("#FF0000[Change-System]#00FF00The Change Team Start After You Dead .!", 255, 255, 255, true) chgTeamOnDeath = true else exports["guimessages"]:outputClient("#FF0000[Change-System]#00ff00The Change Team is Cancel .!", 255, 0, 0, true) chgTeamOnDeath = false end --[[ else editBox.new() setPosition(x*601,y*364,x*213,y*41) color = {79,86,94,160} font = dxCreateFont("gfx/sans-pro-regular.ttf", 20) text = loadLoginFromXML() visible = true onInput = function() color = {87, 95, 104, 160} end]] end)
×
×
  • Create New...