Jump to content

231

Members
  • Content Count

    30
  • Joined

  • Last visited

Community Reputation

0 Neutral

About 231

  • Rank
    Rat

Recent Profile Visitors

608 profile views
  1. 231

    Help

    Blip doesn't take suit color. and blip stops blinking. I want it to blink yellow Let it stop blinking after 5 seconds. and not visible to everyone
  2. 231

    Help

    if it changes from team color to yellow and stops after 5 seconds?
  3. 231

    Help

    Successful
  4. 231

    Help

    I was thinking if is it possible to make the square blip flashing
  5. 231

    Help

    setTimer(function() for ,player in ipairs(getElementsByType("player")) do for ,blip in ipairs(getElementsByType("blip")) do if createBlipAttachedTo ( blip ) then getBlipColor ( blipValue ) else setBlipColor ( blip, 0, 0, 0, 255 ) end, 5000 ) bindKey( "4", "down" )) Lua:2: "<name>" expected near ","
  6. 231

    Countdown234

    لا يظهر التوقيت في الجزء العلوي من الشاشة
  7. كان من الممكن أن أفعل ذلك بشكل خاطئ حيث لا يمكنني إحضاره بطريقة ما لا تزال مناسبة local sx, sy = guiGetScreenSize() function renderText() dxDrawText(timeText, sx/2, sy/2, 0, 0, tocolor(255, 255, 255), 2, "default-bold") end function countdownFin() --whatever you want to happen here end local countdown = setTimer(countdownFin, 600000, 1) --set the timer for 10 minutes setTimer( function() local x = getTimerDetails(countdown) local timeLeft = math.ceil(x/1000) outputChatBox(convertSecondsToMinutes(timeLeft)) end,
  8. 231

    Time

    How do I make a player active how many hours ago?
  9. 231

    Warp player to

    Thanks everyone server.lua:3: Bad argument @ 'getElementPosition' [Expected element at argument 1, got string 'easr'] server.lua:5: attempt to perform arithmetic on local 'posX' (a boolean value)
  10. 231

    Warp player to

    addCommandHandler("easr",function(_, player) players = getElementsByType ( "player" ) for i,v in ipairs(players) do setElementPosition ( source, posX, posY, posZ ) end end) What can be my fault I want to attract all players
  11. 231

    Warp player to

    I want to bring all players on the server with command
  12. 231

    Help me

    local function getPedsOnScreen() local peds = {} for key, ped in ipairs(getElementsByType("ped", root, true)) do if isElementOnScreen(ped) then table.insert(peds, ped) end end return peds end local function dxDrawLinedRectangle(posX, posY, height, width, angleAmount, color, postGUI) radius = height or 50 width = width or 5 angleAmount = angleAmount or 1 color = color or tocolor(255, 255, 255, 200) postGUI = postGUI or false function dxDrawLinedRectangle( x,
  13. local x, y, z = getElementPosition(getLocalPlayer()) local dx, dy = guiGetScreenSize() aimX, aimY = dx * 0.54, dy * 0.3971 triggerServerEvent("AimOnPosition", resourceRoot) function AimOnPosition() local setToX, setToY = 0, 0 local hx, hy, hz = getPedBonePosition(Ped, 6) local sx, sy = getScreenFromWorldPosition(hx, hy, hz) setToX = math.abs(dx / 2 - (aimX)) setToY = math.abs(dy / 2 - aimY) local a1, a2, a3 = getPedBonePosition(Ped, 6) local a4, a5, a6 = getElementPosition(Ped) local b1, b2, b3 = getElementPosition(localPlayer) local dist = getDistanceBe
  14. 231

    Auto aim

    local x,y,z = getElementPosition( getLocalPlayer ()) local Ped = createPed(49,x,y,z) local dx,dy = guiGetScreenSize() aimX ,aimY = dx*0.54 , dy*0.3971 function AimOnPosition() local setToX,setToY = 0,0 local hx, hy, hz = getPedBonePosition(Ped, 6) local sx,sy = getScreenFromWorldPosition(hx,hy,hz) setToX = math.abs(dx/2-(aimX)) setToY = math.abs(dy/2-aimY) local a1,a2,a3 = getPedBonePosition(Ped, 6) local a4,a5,a6 = getElementPositio
×
×
  • Create New...