Jump to content

#AL-J7EEEM

Members
  • Posts

    98
  • Joined

  • Last visited

Everything posted by #AL-J7EEEM

  1. شكرا علي ردك واهتمامك , لكن لقد حللت المشكله يغلق#
  2. السلام عليكم ورحمه الله وبركاته الكود , function onHit ( player ) if source == marker1 then if player == localPlayer then guiSetVisible(Police_System,true) showCursor(true) points = getElementData(killer,"PolicePoint") guiSetText(label_kill,""..PolicePoint.."") end end end addEventHandler("onClientMarkerHit",root, onHit ) الحين الاخطاء في السطرين هذول points = getElementData(killer,"PolicePoint") guiSetText(label_kill,""..PolicePoint.."") اول سطر الارقمنت تاني سطر الداتا الي هي بوليس بونت ممكن تصحيح؟
  3. aPoints = اسم الداتا؟
  4. طيب ابيها لتيم محدد @#Soking
  5. السلام عليكم اريد ان يظهر عدد القتل في Label وش اسوي؟ يعني مثلا ابي عدد القتل الي قتله في تيم No Team
  6. ابي اسوي لوحه مثل لوحه الادمنيه بس بشكل تاني فيها وراب وكذذا انا جبت كود الوراب من لوحه الادمنيه وظبطت اسم الوحات فاهمني؟
  7. الدي بق يقلي ارقمنت حق ال guiGetVisible في من سطر 78 الي سطر 85 الي هم if (guiGetVisible(aWarpForm) == false ) then guiSetVisible(system_1,false) showCursor(false) guiSetInputEnabled(false) end guiSetVisible( aWarpForm ,not guiGetVisible( aWarpForm )) showCursor(guiGetVisible( aWarpForm )) guiSetInputEnabled(guiGetVisible( aWarpForm ))
  8. السلام عليكم الحين انا مسوي لوحه فيها ازرار تعطي كيك وباند وسياره وتنتقل لشخص واعطاء اسلحه واعطاء فلوس لو الاكواد بلوحه الادمنيهه قولو ب السطر الكم او جيبوها aWarpForm = nil function aPlayerWarp ( player ) if ( aWarpForm == nil ) then local x, y = guiGetScreenSize() aWarpForm = guiCreateWindow ( x / 2 - 110, y / 2 - 150, 200, 300, "Player Warp Management", false ) aWarpList = guiCreateGridList ( 0.03, 0.08, 0.94, 0.73, true, aWarpForm ) guiGridListAddColumn( aWarpList, "Player", 0.9 ) aWarpSelect = guiCreateButton ( 0.03, 0.82, 0.94, 0.075, "Select", true, aWarpForm ) aWarpCancel = guiCreateButton ( 0.03, 0.90, 0.94, 0.075, "Cancel", true, aWarpForm ) addEventHandler ( "onClientGUIDoubleClick", aWarpForm, aClientWarpDoubleClick ) addEventHandler ( "onClientGUIClick", aWarpForm, aClientWarpClick ) --Register With Admin Form aRegister ( "PlayerWarp", aWarpForm, aPlayerWarp, aPlayerWarpClose ) end aWarpSelectPointer = player guiGridListClear ( aWarpList ) for id, player in ipairs ( getElementsByType ( "player" ) ) do guiGridListSetItemPlayerName ( aWarpList, guiGridListAddRow ( aWarpList ), 1, getPlayerName ( player ), false, false ) end guiSetVisible ( aWarpForm, true ) guiBringToFront ( aWarpForm ) end function aPlayerWarpClose ( destroy ) if ( ( destroy ) or ( aPerformanceWarp and guiCheckBoxGetSelected ( aPerformanceWarp ) ) ) then if ( aWarpForm ) then removeEventHandler ( "onClientGUIDoubleClick", aWarpForm, aClientWarpDoubleClick ) removeEventHandler ( "onClientGUIClick", aWarpForm, aClientWarpClick ) destroyElement ( aWarpForm ) aWarpForm = nil end else guiSetVisible ( aWarpForm, false ) end end function aClientWarpDoubleClick ( button ) if ( button == "left" ) then if ( source == aWarpList ) then if ( guiGridListGetSelectedItem ( aWarpList ) ~= -1 ) then triggerServerEvent ( "aPlayer", getLocalPlayer(), aWarpSelectPointer, "warpto", getPlayerFromNick ( guiGridListGetItemPlayerName ( aWarpList, guiGridListGetSelectedItem ( aWarpList ), 1 ) ) ) aPlayerWarpClose ( false ) end end end end function aClientWarpClick ( button ) if ( button == "left" ) then if ( source == aWarpSelect ) then if ( guiGridListGetSelectedItem ( aWarpList ) ~= -1 ) then triggerServerEvent ( "aPlayer", getLocalPlayer(), aWarpSelectPointer, "warpto", getPlayerFromNick ( guiGridListGetItemPlayerName ( aWarpList, guiGridListGetSelectedItem ( aWarpList ), 1 ) ) ) aPlayerWarpClose ( false ) end elseif ( source == aWarpCancel ) then aPlayerWarpClose ( false ) end end end كود الوراب صحيح او لا؟
  9. مشكله في السطر رقم 156 جاي كذا == السطر رقم 156 local acc == getPlayerAccount ( source )
  10. السلام عليكم ورحمه الله وبركاته اليوم ابي المود حقي يحفظ وهو مايحفظ المحاوله حقتي addEventHandler('onPlayerLogin',root, function (_,acc) local accplr=getPlayerAccount(source) local accD = getAccountData ( acc , 'Save:Diamond12' ) if isGuestAccount(accplr) then return end if ( accD ) then setElementData ( source , 'Diamond' , accD ) else setElementData ( source , 'Diamond' , 0) end end )
  11. مسوي = تصميم فاهمني؟ ابي فنكشات فقط ممكن؟
  12. اشوفك تنتقد كل الناس ف كل المواضيع ليش؟
  13. السلام عليكم ورحمه الله وبركاته اليوم انا مسوي لوحه حرب قروبات قروب ضد قروب وتحديد ماب معين من الوحه وتنسحبو بدم 100 ودرع 100 وبعد 40 ثانيه تقدرو تتحركو وتقتلو بعضكم المبلغ بيتحدد من صاحب القروبين يتم خصم النصف من بنك هذا القروب والبنك الاخر ابي فنكشات اظن فهمتوني والي مافهم يشوف سيرفر سرك انا عجبتني الفكره قلت اسويها
  14. حاول تسوي لاتطلب جاهز حاول تسوي ويصححولك
  15. The password you entered is incorrect. Please try again (make sure your caps lock is off). وش تاكد من ايقاف القفل؟
  16. لالا خلاص تم الافاده اشتغل
  17. المود اشتغل لكن يجيب بل شات كذا Player is not logged in !
  18. ERROR:SCRIPT\SERVER.lua:133: bad argument #1 to 'ipairs' (table expected, got string)
  19. ?????????????????????????????????????????????? وش اسوي الحين؟
  20. WARNING:SCRIPT\SERVER.lua:133:bad argument @ 'getAccountName'[expected account at argument 1 ,got player] ERROR:SCRIPT\SERVER.lua:133: ATTEMPT TOP CONCATENATE LOCAL'DATA'(A BOOLEAN VALUE)
  21. خطا سطر رقم 133 تاني outputChatBox('the player name ['..getAccountName(player)..'] and he is data '..data..' .',root,255,255,255,true)
  22. مسويها كذا انا
×
×
  • Create New...