Jump to content

Kara

Members
  • Posts

    245
  • Joined

  • Last visited

Everything posted by Kara

  1. "onClientGUIClick" guiStaticImageLoadImage
  2. 'onClientGUIClick' triggerServerEvent getTeamName givePlayerMoney
  3. ايام7 = 604800000 يوم30 = 2592000000 ذي 7 دقايق مب 7 ايام
  4. addEventHandler("onClientGUIClick", resourceRoot, function() if source == gridroom then local row = guiGridListGetSelectedItem(gridroom) local Text = guiGridListGetItemText(gridroom, row, clm) if Text == "1" then if isElement(grid4545) then destroyElement(grid4545) end if isElement(gridplr3) then destroyElement(gridplr3) end if isElement(gridplr2) then destroyElement(gridplr2) end if isElement(gridplr4) then destroyElement(gridplr4) end if isElement(gridplr5) then destroyElement(gridplr5) end gridplr = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp = guiGridListAddColumn(gridplr, "Players ", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data' ) == true ) then local plrrom = guiGridListAddRow(gridplr) guiGridListSetItemText(gridplr,plrrom,clmp,getPlayerName(v),false,false) end end end elseif Text == "2" then if isElement(grid4545) then destroyElement(grid4545) end if isElement(gridplr3) then destroyElement(gridplr3) end if isElement(gridplr) then destroyElement(gridplr) end if isElement(gridplr2) then destroyElement(gridplr2) end if isElement(gridplr4) then destroyElement(gridplr4) end if isElement(gridplr5) then destroyElement(gridplr5) end gridplr2 = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp2 = guiGridListAddColumn(gridplr2, "Players ", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data2' ) == true ) then local plrrom2 = guiGridListAddRow(gridplr2) guiGridListSetItemText(gridplr2,plrrom2,clmp2,getPlayerName(v),false,false) end end elseif Text == "3" then if isElement(grid4545) then destroyElement(grid4545) end if isElement(gridplr) then destroyElement(gridplr) end if isElement(gridplr2) then destroyElement(gridplr2) end if isElement(gridplr4) then destroyElement(gridplr4) end if isElement(gridplr5) then destroyElement(gridplr5) end gridplr3 = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp3 = guiGridListAddColumn(gridplr3, "Players ", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data3' ) == true ) then local plrrom3 = guiGridListAddRow(gridplr3) guiGridListSetItemText(gridplr3,plrrom3,clmp3,getPlayerName(v),false,false) end end elseif Text == "4" then if isElement(grid4545) then destroyElement(grid4545) end if isElement(gridplr) then destroyElement(gridplr) end if isElement(gridplr3) then destroyElement(gridplr3) end if isElement(gridplr2) then destroyElement(gridplr2) end if isElement(gridplr4) then destroyElement(gridplr4) end if isElement(gridplr5) then destroyElement(gridplr5) end gridplr4 = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp4 = guiGridListAddColumn(gridplr4, "Players ", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data4' ) == true ) then local plrrom4 = guiGridListAddRow(gridplr4) guiGridListSetItemText(gridplr4,plrrom4,clmp4,getPlayerName(v),false,false) end end elseif Text == "5" then if isElement(grid4545) then destroyElement(grid4545) end if isElement(gridplr) then destroyElement(gridplr) end if isElement(gridplr3) then destroyElement(gridplr3) end if isElement(gridplr2) then destroyElement(gridplr2) end if isElement(gridplr4) then destroyElement(gridplr4) end gridplr5 = guiCreateGridList(582, 60, 265, 240, false, teamspeak) clmp5 = guiGridListAddColumn(gridplr5, "Players ", 0.9) for i,v in ipairs(getElementsByType("player")) do if ( getElementData ( v,'data5' ) == true ) then local plrrom5 = guiGridListAddRow(gridplr5) guiGridListSetItemText(gridplr5,plrrom5,clmp5,getPlayerName(v),false,false) end end end end )
  5. في اف8refresh لما تسوي شوف اللوق حق اف8 اكيد لو فيه خطأ يطلعلك في اللوق
  6. تعبتني بأسألتك الغبيه
  7. استخدم حدث 'onClientRender' مع التحققات وكل تحقق تقفل النجمات وتضهر نجمات مثلا elseif ( level > 4 ) then guiSetVisible(four,true) guiSetVisible(five,false) guiSetVisible(six,false)
  8. ذي اشياء تسويها انت انا عطيتك الزبده وانت شغل مخخك واعرف كيف تستخدم الفنكشن
  9. مثال -- falseمثلا تسوي 6 نجوم وتسوي الشو حقهم --كل مايصعد لفل في الونتد تضهرله نجمه function test() local level = getPlayerWantedLevel ( thePlayer ) if ( level > 0 ) then --your code show th star elseif ( level > 1 ) then --your code show th star elseif ( level > 2 ) then --your code show th star elseif ( level > 3 ) then --your code show th star elseif ( level > 4 ) then --your code show th star elseif ( level > 5 ) then --your code show th star elseif ( level > 6 ) then --your code show th star end end
  10. اولا حسن اسلوبك عشان الناس تساعدك, الرجل حب يعطي لي عنده فقط ثانيا طلبك يتعلق بي getPlayerWantedLevel هذا الفنكشن لي تحتاجه عشات تسوي نجوم جديده ولا تنسي تطفي النجوم الاصليه showPlayerHudComponent("wanted",true)
  11. شباب ابغى احد يعلمني كيف استخدم callRemote وكيف اشغلها . الرجل مافهم من الويكي وقال يبي حد يشرحله انا ساعدته عطيته مثال من الويكي وشرحته له وانشالله الشباب مايقصرون ويعطوه امثله
  12. phpهذه الوظيفة تمكنك من اجراء اتصال بي صفحات الانترنت وليست فقط صفحات الانترنت بل تتعدد الاتصالات تمكنك ايضا الاتصال بي سيرفر ام تي اي ثاني callRemote هذا المثال يوريك كيف تتصل بصفحة بي اتش بي عن طريق لوا . فقط يضيف رقمين ويطلعهم نص بي الشات [php] include( "mta_sdk.php" ); $input = mta::getInput(); mta::doReturn($input[0] + $input[1]); -- result is called when the function returns function result(sum) if sum ~= "ERROR" then outputChatBox(sum) end end function addNumbers(number1, number2) callRemote ( "http://www.example.com/page.php", result, number1, number2 ) end addNumbers ( 123, 456 ) -- call the function
  13. ماشالله عليك توحي انت ,وش عرفك انه مرسل كلام من ايديت بوكس ؟ وشن عرفك انه اسم الايديت بوكس كذا ؟
  14. fahd قيمة معدومه = لاتعني شي .. fahd ..
  15. تسوي تحقق اذا احد جاب كيل فوق ال30 يحط اسمه في الدراو تكست حقك مثال addEventHandler('onClientRender',root,function () kill = getElementData(localPlayer,'Kill'); if kill > 30 then dxDrawText() end end )
  16. معناته سوي تحقق لي كل تكست مسويه, اذا الكيل حقه مثلا فوق ال60 يحط اسمه وبالتدريج والخ
  17. لو مسويلهم قريد ليست ونظام توب استخدم table.sort
  18. Kara

    مساعدة

    سوي لوحه بنفسك احسن لك من هالخرابيط والتعديل لانها سهله مايحتاج تعدل علي اكواد شخص ثاني
×
×
  • Create New...