Jump to content

Felix5k

Members
  • Posts

    44
  • Joined

  • Last visited

4 Followers

Recent Profile Visitors

1,900 profile views

Felix5k's Achievements

Rat

Rat (9/54)

15

Reputation

  1. AM CREAT PE MTA JOCUL RED LIGHT GREEN LIGHT DIN SQUID GAME MAI JOS AVETI O PREZENTARE A SCRIPTULUI.
  2. OnVehicleStartEnter si mai ai nevoie de un if care il citeste daca e admin simplu
  3. Howdy ? We have opened the SwordGaming server waiting for you on the server if you want something unique and beautiful! ss: https://prnt.sc/qw4r1c IP : mtasa://185.248.199.125:22003 discord:https://discord.gg/hFKnVNz
  4. Salutare ? Am deschis serverul SwordGaming va asteptam pe server daca vreti ceva unic si frumos! ss: https://prnt.sc/qw4r1c IP : mtasa://185.248.199.125:22003 discord:https://discord.gg/hFKnVNz
  5. i think you need to use DxCreateFont
  6. Felix5k

    DX rectangle)

    with CreateBrowser
  7. Felix5k

    DX rectangle)

    yes you can use html in mta
  8. Felix5k

    DX rectangle)

    roundedRectangle
  9. local ok = false local screenW, screenH = guiGetScreenSize() local markery = { { -2413.51171875, -602.2509765625 , 132.5625-1,true}, { -2412.392578125, -590.11328125 , 132.6484375-1,true} } local marki = nil for k,v in ipairs( markery ) do marki = createMarker ( v[1],v[2],v[3], "cylinder", 2, 255, 255, 255, 255 ) createPickup( v[1],v[2],v[3],3,1239,2000) setElementData(marki, "markery:gui", v[4]) end ---=-=-=-=-=-=-=-=-=-=-=-= -- enter marker function MarkerEnter(theElement, matchingDimension) if ( theElement == localPlayer ) and ok == false and getElementData(source, "markery:gui") == true then setElementData(localPlayer, "markerygui:player", true) ok = true addEventHandler("onClientRender",root,gui) end end addEventHandler ( "onClientMarkerHit", getRootElement(), MarkerEnter ) ---=-=-=-=-=-=-=-=-=-=-=-= -- leave marker function MarkerLeave(theElement, matchingDimension) if ( theElement == localPlayer ) and ok == true and getElementData(localPlayer, "markerygui:player") == true then setElementData(localPlayer, "markerygui:player", false) ok = false removeEventHandler("onClientRender",root,gui) end end addEventHandler ( "onClientMarkerLeave", getRootElement(), MarkerLeave ) function gui() dxDrawLine((screenW * 0.2526) - 1, (screenH * 0.3190) - 1, (screenW * 0.2526) - 1, screenH * 0.4922, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.7101, (screenH * 0.3190) - 1, (screenW * 0.2526) - 1, (screenH * 0.3190) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.2526) - 1, screenH * 0.4922, screenW * 0.7101, screenH * 0.4922, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.7101, screenH * 0.4922, screenW * 0.7101, (screenH * 0.3190) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.2526, screenH * 0.3190, screenW * 0.4575, screenH * 0.1732, tocolor(2, 120, 252, 62), false) dxDrawText("Informacja", screenW * 0.3338, screenH * 0.3854, screenW * 0.6120, screenH * 0.4583, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "top", false, false, false, false, false) end now should work
  10. e o resursa nu stiu exact care si nu stiu daca sigur o ai ..
×
×
  • Create New...