Jump to content

Rockyz

Members
  • Posts

    1,862
  • Joined

  • Days Won

    8

Everything posted by Rockyz

  1. السكربت فيه رموز او مسافات
  2. اذا تبي تستخدم طريقتي عدل السطر ال7 if tick >= delay then
  3. او تقدر بدون تايمر local delayTable = {}; local delay = 75 -- هنا الوقت بالثواني addCommandHandler('okee', function(player) local delay = delay*1000 local tick = getTickCount()-(delayTable[player] or 0) if tick >= delay or not delayTable[player] then outputChatBox('Done !', player, 0, 255, 0, true); delayTable[player] = getTickCount(); else local seconds = (delay-tick)/1000 outputChatBox('Please wait ['..('%02dM:%02dS'):format(seconds/60, seconds%60)..'] !', player, 0, 255, 0, true); end end)
  4. المبرمج مايحفظ المبرمج يفهم صحح كلامك
  5. قارن بنفسك هو سطر واحد مو سكربت كامل
  6. وش هو الكوماند اذا كان الكوماند من اللعبة مايصير
  7. dxDrawText ( tostring ( v.message ), 0, i*25, sx_, (i+1)*25, tocolor ( v.r, v.g, v.b, v.alpha*1.59375 ), sy*1, "default-bold", "center", "center", false, false, false, true) استبدل سطر ٨٤ من الجوال مدري اذا فيه خطأ مانتبهت له
  8. اطرح اكواد مود التوب بار
  9. هذا اسمه لوب فيه شروحات كثير في القسم ابحث
  10. 'onVehicleStartExit' cancelEvent
  11. من ناحية المسلسلات كلهم مكتوبين فوق ^^ بس في سلسلة افلام حلوة pirates of the caribbean شي اسطوري
  12. well, you can do this with the old table assignLOD(createObject(unpack(v, 1, 7)))
  13. يوزفل فنكشن
  14. ليش تسوي متغير وانت تقدر تسويه من نفس اللوب
  15. يشغل كل الالعاب بس مايشغل كل الالعاب على الترا مثل باتل فيلد ١
  16. addEventHandler("onResourceStart", resourceRoot, function () for index, player in pairs(getElementsByType("player")) do bindKey ( player, "y","down", "chatbox", "Teamsay" ) end end ) addEventHandler("onPlayerJoin", root, function () bindKey ( source, "y","down", "chatbox", "Teamsay" ) end ) addCommandHandler("Teamsay", function ( plr , cmd , ...) if not isPlayerMuted(plr) then local playerTeam = getPlayerTeam ( plr ) if ( playerTeam ) then local r, g, b = getTeamColor ( playerTeam ) for _,v in ipairs ( getPlayersInTeam ( playerTeam ) ) do outputChatBox('(TEAM)#FFFFFF '..colorHex(r, g, b)..''..getPlayerName(plr):gsub("#%x%x%x%x%x%x", "") ..': #FFFFFF'..table.concat({...},' '),v, r, g, b, true) end end else outputChatBox('Teamsay: You are muted!', plr, 50, 0, 100, true) end end)
×
×
  • Create New...