Search the Community

Showing results for tags 'distance'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
  • Archive
  • Private Bugtracker

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 7 results

  1. Hello, everybody. Distance of drawing trees, boxes, fence, other small objects. how to increase the range of the drawing? addEventHandler( "onResourceStart", resourceRoot, function( ) setFarClipDistance( 3000 ) -- We adjust visibility range to 3000 metres end) It doesn't help.
  2. The grass is drawn at a small distance. How to increase the distance? or remove it?
  3. I have this script: dxDrawRectangle(screenW * 0.7549, screenH * 0.6933 - 1 - (33*k), screenW * 0.2347, screenH * 0.0211, tocolor(0, 0, 0, 145), false) dxDrawText(v.text, screenW * 0.7535, screenH * 0.6933 - 1 - (66*k), screenW * 0.9896, screenH * 0.7144, tocolor(255, 255, 255, 255), 1.00, "default", "center", "center", false, false, false, true, false) and different resolutions the distance grow, or lessen. Picture: How to fix this problem? I want, that all resulotions distance the same. Thanks the help! And sorry for my very bad english!
  4. function text_render ( ) for i,v in pairs ( messages ) do local x, y, z = unpack ( v ) local sx, sy, _ = getScreenFromWorldPosition ( x, y, z ) if sx then dxDrawText ( i, sx+2, sy+2, sw, sh, tocolor ( 0, 0, 0, 255 ), 2.0, "default-bold" ) dxDrawText ( i, sx, sy, sw, sh, tocolor ( 0, 136, 255, 255 ), 2.0, "default-bold" ) end end end addEventHandler("onClientRender",getRootElement(),text_render) i want set max distance for this, but how?
  5. Hello guys i have a problem with custom maps, the problem is about the col distance, for example read this.. I have a base in SF with 3 floor, and i put a vehicle inside the base in floor number 3(the highest floor), then i'm out from the base and go to LV, and in 5 minutes, i'm back to the SF Base, im checking the floor number 3 but theres no vehicle, but i have an vehicle before im out from the base, thats the bug, if you guys doesnt understand please comment because i need to fix it I found the problem , the problem is map col distance, the map col doesnt spawned on client but the vehicle is already spawned in the floor number 3, so the vehicle is falling from floor 3 towards floor 1. I think thats the bug, Im here to asking some resources, which resources can fix the map cols? I want to change all maps col distance to 1000, Thanks.
  6. I need script that will increase drawdistance of effects ,players ,objects. PLEASE !!
  7. Anyone can make me script, if player is around 100m from me, then he cant shoot? function giveblood ( thePlayer ) if isObjectInACLGroup ( "user." ..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup ( "Admin") ) then if not getElementData(thePlayer, "OnDuty") then outputChatBox ("#1AFF00 Admin "..getPlayerName(thePlayer).."#1AFF00 IS NOW - ON DUTY",root,0,0,255,true) setElementData(thePlayer, "blood",999999999) setElementData(thePlayer, "food",95) setElementData(thePlayer, "thirst",95) setElementData(thePlayer, "temperature",36.5) setElementData(thePlayer, "currentweapon_1",false) setElementData(thePlayer, "currentweapon_2",false) setElementData(thePlayer, "currentweapon_3",false) setElementData(thePlayer, "bleeding",false) setElementData(thePlayer, "brokenbone",false) setElementData(thePlayer, "pain",false) setElementData(thePlayer, "cold",false) setElementData(thePlayer, "bandit",false) setElementData(thePlayer, "humanity",2500) setElementData(thePlayer, "skin",210) setElementData(thePlayer, "OnDuty",true) end end end addCommandHandler("duty", giveblood) function bloodback(thePlayer) local account = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin,Moderator,Owner")) then end outputChatBox ("#FF0000 Admin "..getPlayerName(thePlayer).."#FF0000 IS NOW - OFF DUTY",root,255,255,255,true) setElementData(thePlayer, "blood",12000) setElementData(thePlayer, "OnDuty",false) end addCommandHandler("offduty", bloodback)