Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 18/03/20 in all areas

  1. No problem! I am happy to hear that you could get your Infernus drive faster On certain areas of the map you can find arbitrary vehicle speed limits. A very famous one is the Strip in Las Venturas. To remove these limits please use the setWorldSpecialPropertyEnabled function with the "extraairresistance" property.
    1 point
  2. Hello slapztea, I think you want to increase the "engineAcceleration" vehicle handling property. Please take a look at this wiki page. Sadly I don't know about boats. Maybe speed limit for boats is not implemented in GTA:SA?
    1 point
  3. To draw the radar on screen you should use: dxDrawRectangle - for outline, style, etc dxDrawImageSection - putting the actual radar on screen with zooming support addEventHandler using the onClientRender event dxCreateRenderTarget and dxSetRenderTarget for drawing map information inside of a rectangle only (scissor rectangle) To prevent the original radar from rendering you should use: setPlayerHUDComponentVisible To query radar center and other relevant information map information you should use: getCamera getElementRotation getElementsByType using "radararea", "blip", "player", etc getElementPosition the radararea functions But I have to inform you that those functions alone will not make you a radar. You need to have a good understanding of how your radar should work, including the math behind it as well as the conventions to integrate it seamlessly into the Rockstar vision (north is into x=0,y=1 direction, etc). For advanced effects you should use: dxDrawImage using shaders Here are neat references for already implemented radars or map scripts: https://forum.multitheftauto.com/topic/122958-getworldfrommapposition/?do=findComment&comment=974403 https://forum.multitheftauto.com/topic/122507-help-dxradar-blip-problem/?tab=comments#comment-972908 https://forum.multitheftauto.com/topic/122303-help-why-this-doesnt-draw/?tab=comments#comment-972209 Since there are many threads on MTA forums about radar-logic that went unanswered feel free to post questions here. Maybe we can get this radar done together
    1 point
  4. function MostrarBlip (thePlayer) --/ ADICIONADO thePlayer local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) --/ ALTERADO - source > thePlayer if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Lixeiro") ) then --/ ALTERADO if setElementVisibleTo(Blip, root, false) == true then setElementVisibleTo(Blip, root, true) outputChatBox(" ", source) outputChatBox("#00ff00[Trabalho Lixeiro] #ffffffFoi marcado a localização em seu gps",source, 255,255,255, true) outputChatBox(" ", source) else setElementVisibleTo(Blip, root, false) outputChatBox(" ", source) outputChatBox("#00ff00[Trabalho Lixeiro] #ffffffFoi desmarcado a localização em seu gps",source, 255,255,255, true) outputChatBox(" ", source) end else outputChatBox(" ", source) outputChatBox("#00ff00[Trabalho Lixeiro] #ffffffVocê não trabalha no emprego de Lixeiro",source, 255,255,255, true) outputChatBox(" ", source) end end addCommandHandler("infolixeiro", MostrarBlip) Fiz algumas alterações, testei no meu servidor e o problema parou.
    1 point
  5. ادعائات بدون اي دليل او سبب مقنع من الاخوان @unsiXioN @iwalidza @Doffy فقط عدم الرد بالشات والشات ليس للمساعدة , واي شخص حر اذا يبي يرد بالشات او لا وشكرا ع الوصف الجميل ?
    1 point
×
×
  • Create New...