MR.S3D

Members
  • Content count

    717
  • Joined

  • Last visited

Community Reputation

31 Good

6 Followers

About MR.S3D

  • Rank
    Homeboy
  1. فريٍٍز

    function getPL(team) local t = { } local player = getPlayersInTeam(team) for i,v in pairs(player) do if not isPedDead(v) then table.insert(t,v) end end return t end function aSetPlayerFrozen( player, bool) if isElement( player ) then toggleAllControls ( player, not bool, true, false ) local vehicle = getPedOccupiedVehicle( player ) if vehicle then setElementFrozen ( vehicle, bool ) end end end local teamname = 'اسم التيم' addCommandHandler("freezeall", function(playerSource) if hasObjectPermissionTo(playerSource,"function.kickPlayer",true) then for i, v in ipairs(getPL(getTeamFromName(teamname))) do if getElementData(v,"frozenped") == "false" or not getElementData(v,"frozenped") then aSetPlayerFrozen ( v, true) setElementData(v,"frozenped","true") outputChatBox("FREEZE: #FFFFFFAll Players have been frozen by "..getPlayerName(playerSource).."!",v,255,0,0,true) else aSetPlayerFrozen ( v, false) setElementData(v,"frozenped","false") outputChatBox("FREEZE: #FFFFFFAll Players have been unfrozen by "..getPlayerName(playerSource).."!",v,255,0,0,true) end end else outputChatBox("FREEZE: #FFFFFFSorry, you do not have the ACL rights to freeze players!",playerSource,255,0,0,true) end end )
  2. تعديل

    العفو حياك
  3. تعديل

    string = tostring ( string ) string = string.gsub ( string, "$admin", getPlayerName ( admin ) ) string = string.gsub ( string, "$by_admin_4all", isAnonAdmin4All( admin ) and "" or " by " .. getPlayerName ( admin ) ) string = string.gsub ( string, "$by_admin_4plr", isAnonAdmin4Victim( admin ) and "" or " by " .. getPlayerName ( admin ) ) string = string.gsub ( string, "$data2", more or "" ) if ( player ) then string = string.gsub ( string:gsub("#%x%x%x%x%x%x", ""), "$player", (getPlayerName ( player ):gsub("#%x%x%x%x%x%x", "") or getPlayerName ( player )) ) end تم التعديل
  4. تعديل

    انت ركز بالسطر حقي مانسخته زين انا معدل فيه string = tostring ( string ) string = string.gsub ( string, "$admin", getPlayerName ( admin ) ) string = string.gsub ( string, "$by_admin_4all", isAnonAdmin4All( admin ) and "" or " by " .. getPlayerName ( admin ) ) string = string.gsub ( string, "$by_admin_4plr", isAnonAdmin4Victim( admin ) and "" or " by " .. getPlayerName ( admin ) ) string = string.gsub ( string, "$data2", more or "" ) if ( player ) then string = string.gsub ( string:gsub("#%x%x%x%x%x%x", ""), "$player", getPlayerName ( player ):gsub("#%x%x%x%x%x%x", "") ) end
  5. تعديل

    لا جرب ذا وتأكد انا مجربه بنفسي انت انسخ السطر حقي فقط وامسح تعديلك
  6. تعديل

    هذا لكلهم الاسم + الأدمن
  7. تعديل

    التعديل فقط يكون هذا السطر if ( player ) then string = string.gsub ( string:gsub("#%x%x%x%x%x%x", ""), "$player", getPlayerName ( player ):gsub("#%x%x%x%x%x%x", "") ) end
  8. تعديل

    اطرح كودك كامل عشان نقدر نساعدك
  9. Vehicle Car

    oh sorry thank you.
  10. Vehicle Car

    for i= 7, 8 do local v = Cars[i] if isElement( v ) then destroyElement(v) Cars[i] = nil end end
  11. killTime in setTime ? HELP

    i don't understand what you mean?
  12. killTime in setTime ? HELP

    tempo = {} function startFunction(_,thePlayer) if isElement(thePlayer ) and not tempo[thePlayer] then tempo[thePlayer] = setTimer ( function() end, 2000, 0 ) end function playerOff(thePlayer) if isElement(thePlayer ) and tempo[thePlayer] then if isTimer ( tempo[thePlayer] ) then killTimer ( tempo[thePlayer] ) end tempo[thePlayer] = nil end end addEventHandler("onPlayerQuit", getRootElement(), playerOff) addEventHandler("onPlayerLogout", getRootElement(), playerOff)
  13. بالتوفيق لكم ماراح اكون مشارك لضيق وقتي بس لو صعب عليكم كود او محتاجين أي توضيح راسلوني على الخاص وان شاء الله ماقصر معكم تحياتي لكم
  14. الله يسمع منك ي قلبي