Jump to content

Abdul KariM

Members
  • Posts

    2,711
  • Joined

  • Days Won

    42

Everything posted by Abdul KariM

  1. ايوا تقدر تحفظ اللفل على قاعدة البيانات وتقدر على الاكونت داتا زي ماقلت لك , الالمنت داتا لو تطلع وتدخل راح تروح تلقائي
  2. الله يسلمك جرب كذا addEventHandler ( "onPlayerJoin", root, function ( ) setElementData( source , "Kill", 0 ) setElementData( source , "Kill", 0 ) end ) مشكلة انك ماتقدر تعدل الرد ماهي معرفة SPORT بس حبيت اوضحلك ان عندك + عندك غلط بأسماء الداتا مفروض تكون KillS and LeVeL + المنت داتا لو تطلع وتدخل بالسيرفر تروح واتمنى تتعدل خاصية تعديل الرد ماهي معرفة SPORT بس حبيت اوضحلك ان عندك + عندك غلط بأسماء الداتا مفروض تكون KillS and LeVeL + المنت داتا لو تطلع وتدخل بالسيرفر تروح
  3. يعطيك العافية عمل في قمة الروعه الرابط ماهب شغال
  4. ماعرفت تركب الاكواد انت فـ اختصرتها لك ب سطر
  5. بالنسبة لفنكشن يخفي الهود , الخ ... ء setPlayerHudComponentVisible بالنسبة لكودك addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[1] ) then showChat( not isChatVisible ( ) ) end end ) ; بالتوفيق ان شاء الله
  6. عليكم السلام استخدم الاتي createMarker setElementData "onMarkerHit" getElementType setElementPosition setElementData طبعا الداتا راح تكون للماركر
  7. Client : addEventHandler ( "onClientGUIDoubleClick", root, function ( ) if ( source == GUIEditor_Grid[1] ) then local row, col = guiGridListGetSelectedItem ( GUIEditor_Grid[1] ) if ( row ~= -1 and col ~= -1 ) then local playername = guiGridListGetItemText ( GUIEditor_Grid[1], row, col ) local thePlayer = getPlayerFromName ( playername ) if ( thePlayer ) then triggerServerEvent ( "ShowInf" , localPlayer , thePlayer ) end end end end ) ; addEvent ( "SetInf" , true ) addEventHandler ( "SetInf" , root , function ( god, speed, lsd, heroin, weed, steroids, mescaline ) guiSetText ( lblGod, " God "..god ) guiSetText ( lblLSD, " LSD ".. lsd ) guiSetText ( lblHeroin, " Heroin ".. heroin ) guiSetText ( lblWeed, " Weed ".. weed ) guiSetText ( lblSteroids," Steroids"..steroids ) guiSetText ( lblMescaline, " Mescaline "..mescaline ) end ) Server : addEvent ( "ShowInf" , true ) addEventHandler ( "ShowInf" , root , function ( player_ ) local playerAcc = getPlayerAccount ( player_ ) if ( playerAcc ) and not ( isGuestAccount ( playerAcc ) ) then local god = getAccountData(playerAcc, "god") local speed = getAccountData(playerAcc, "speed") local lsd = getAccountData(playerAcc, "lsd") local heroin = getAccountData(playerAcc, "heroin") local weed = getAccountData(playerAcc, "weed") local steroids = getAccountData(playerAcc, "steroids") local mescaline = getAccountData(playerAcc, "mescaline") triggerClientEvent ( source , "SetInf" , source , tostring ( god ) , tostring ( speed ) , tostring ( lsd ) , tostring ( heroin ) , tostring ( weed ) , tostring ( steroids ) , tostring ( mescaline ) ) end end ) بالتوفيق ان شاء الله
  8. سوي الطريقة الي قلت لك عليها فوق
  9. مشكلتك غريبة سويت لك مثال يطلع الي مخزن بالاكونت داتا addCommandHandler ( "gMe" , function ( player ) local playerAcc = getPlayerAccount ( player ) if ( playerAcc ) and not ( isGuestAccount ( playerAcc ) ) then local god = getAccountData(playerAcc, "god") local speed = getAccountData(playerAcc, "speed") local lsd = getAccountData(playerAcc, "lsd") local heroin = getAccountData(playerAcc, "heroin") local weed = getAccountData(playerAcc, "weed") local steroids = getAccountData(playerAcc, "steroids") local mescaline = getAccountData(playerAcc, "mescaline") outputChatBox ( tostring ( god ) .. " " .. tostring ( speed ) .. " " .. tostring ( lsd ) , player , 255 , 255 , 255 , false ) outputChatBox ( tostring ( heroin ) .. " " .. tostring ( weed ) .. " " .. tostring ( steroids ) .. " " .. tostring ( mescaline ) , player , 255 , 255 , 255 , false ) end end ) ; اكتب باف8 gMe وشوف وش يطلع لك بالشات
  10. انت تقول كذا , لاكن غيرك يشك وله الحق انه يشك مفروض تسأل عنه بالمنتدى وتشوف ماضيه وهل هو ثقه ام لا وبالتوفيق ان شاء الله
  11. سويها بالشكل الي قلت لك عليه واذا ماضبط اطرح اكوادك والمخدرات كيف حطيتها المنت داتا ؟ لاني شاك انها المنت داتا
  12. مافيه ارقمنت لاعب بالكلينت في التوب بار شات + مفروض يتحقق من الصوت اذا كان موجود يحذفه او يوقف الوظيفة
  13. طيب الحين ليه ماتسوي يوم يضغط على القريد ليست مرتين يرسل ترايقر للسيرفر وفي السيرفر سايد فيه ترايقر يرسل للكلينت انت استقبل ترايقر الكلينت وعرف الي ارسلته بالترايقر وحطه في الليبل يعني تاخذ من سطر 8 الى سطر 13
  14. لا طبعا , بس كذا افضل وكل واحد يروح للستايل الي يبغاه
  15. يمديك ترجع الاستايل القديم والعكس على الجديد vb زي منتديات
  16. ^ +1 على الاقل خلوا الوضع اختياري الي يبي القديم يروح له والي يبي الجديد يروح له
  17. ماقلت لي صح كلامي الي فوق ولا لا
  18. عندك اخطاء , صححتها واختصرت لك الكود Client : GUIEditor = { button = {}, window = {}, staticimage = {} } GUIEditor.window[1] = guiCreateWindow(109, 38, 568, 512, "Wepson Shop | Arabs-Pro | V.1", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.72) GUIEditor.staticimage[1] = guiCreateStaticImage(10, 19, 548, 483, ":Weapson-ShopV1/images/1.png", false, GUIEditor.window[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(10, 10, 91, 89, ":Weapson-ShopV1/images/16.png", false, GUIEditor.staticimage[1]) GUIEditor.button[1] = guiCreateButton(7, 109, 94, 45, "500000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFE10000") GUIEditor.staticimage[3] = guiCreateStaticImage(217, 10, 107, 89, ":Weapson-ShopV1/images/22.png", false, GUIEditor.staticimage[1]) GUIEditor.button[2] = guiCreateButton(217, 109, 107, 45, "3000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFE10000") GUIEditor.staticimage[4] = guiCreateStaticImage(435, 11, 93, 88, ":Weapson-ShopV1/images/23.png", false, GUIEditor.staticimage[1]) GUIEditor.button[3] = guiCreateButton(431, 109, 97, 45, "1000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFE10000") GUIEditor.staticimage[5] = guiCreateStaticImage(10, 170, 92, 88, ":Weapson-ShopV1/images/25.png", false, GUIEditor.staticimage[1]) GUIEditor.button[4] = guiCreateButton(8, 268, 94, 45, "25000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFE10000") GUIEditor.staticimage[6] = guiCreateStaticImage(212, 170, 102, 88, ":Weapson-ShopV1/images/26.png", false, GUIEditor.staticimage[1]) GUIEditor.button[5] = guiCreateButton(212, 268, 102, 45, "25000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFE10000") GUIEditor.staticimage[7] = guiCreateStaticImage(425, 170, 102, 91, ":Weapson-ShopV1/images/28.png", false, GUIEditor.staticimage[1]) GUIEditor.button[6] = guiCreateButton(425, 268, 102, 45, "5000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[6], "default-bold-small") guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFE10000") GUIEditor.staticimage[8] = guiCreateStaticImage(8, 323, 93, 94, ":Weapson-ShopV1/images/29.png", false, GUIEditor.staticimage[1]) GUIEditor.button[7] = guiCreateButton(7, 428, 94, 45, "30000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[7], "default-bold-small") guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFE10000") GUIEditor.staticimage[9] = guiCreateStaticImage(211, 329, 103, 93, ":Weapson-ShopV1/images/31.png", false, GUIEditor.staticimage[1]) GUIEditor.button[8] = guiCreateButton(211, 428, 102, 45, "40000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[8], "default-bold-small") guiSetProperty(GUIEditor.button[8], "NormalTextColour", "FFE10000") GUIEditor.staticimage[10] = guiCreateStaticImage(420, 331, 107, 91, ":Weapson-ShopV1/images/32.png", false, GUIEditor.staticimage[1]) GUIEditor.button[9] = guiCreateButton(420, 428, 107, 45, "3000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[9], "default-bold-small") guiSetProperty(GUIEditor.button[9], "NormalTextColour", "FFE10000") function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F7", "down", OpenWin) addEventHandler('onClientGUIClick', root, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent('giveWeapon_', localPlayer , 50000 , 16, 3 , "Grenade " ) elseif ( source == GUIEditor.button[2] ) then triggerServerEvent('giveWeapon_', localPlayer , 3000 , 22, 99999 , "Colt 45" ) elseif ( source == GUIEditor.button[3] ) then triggerServerEvent('giveWeapon_', localPlayer , 1000 , 1000 , 23, 9999 , "Silenced" ) elseif ( source == GUIEditor.button[4] ) then triggerServerEvent('giveWeapon_', localPlayer , 25000 , 27, 99999 , "Combat SG" ) elseif ( source == GUIEditor.button[5] ) then triggerServerEvent('giveWeapon_', localPlayer , 25000 , 26, 9999 , "Sawed-off" ) elseif ( source == GUIEditor.button[6] ) then triggerServerEvent('giveWeapon_', localPlayer , 3000 , 32, 9999 , "Tec-9" ) elseif ( source == GUIEditor.button[7] ) then triggerServerEvent('giveWeapon_', localPlayer , 30000 , 27, 9999 , "MP5" ) elseif ( source == GUIEditor.button[8] ) then triggerServerEvent('giveWeapon_', localPlayer , 40000 , 31, 9999 , "M4") elseif ( source == GUIEditor.button[9] ) then triggerServerEvent('giveWeapon_', localPlayer , 3000 , 28, 9999 , "Uzi") end end ) ; Server : addEvent('giveWeapon_', true) addEventHandler('giveWeapon_', root, function ( arg1 , arg2 , arg3 , arg4 ) local PlayerMoney = getPlayerMoney ( source ) if ( PlayerMoney >= arg1 ) then takePlayerMoney ( source , arg1 ) giveWeapon( source, arg2 , arg3 ) outputChatBox('تم شراء سلاح '..arg4, source, 255, 0 ,0 , true ) else outputChatBox("فلوسك لا تكفي", source, 255, 0, 0, true) end end ) اذا ماشتغل اكتب باف8 debugscript 3 وصور الاخطاء الي تطلع لك بالتوفيق
×
×
  • Create New...