Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/09/22 in Posts

  1. marker1 = createMarker(2094.8940429688,-838.72570800781,52.3, "corona", 1.5, 230, 251, 3, 153) function event(el) if getElementType(el) ~= "player" then return end triggerClientEvent (el,"openWindow",getRootElement(),el) end addEventHandler("onMarkerHit", resourceRoot, event)
    1 point
  2. function AttachDxToGuiElement( GUIElement , img ) if ( guiGetVisible ( GUIElement ) ) then local x, y = guiGetPosition ( GUIElement , false ) local width , Height = guiGetSize ( GUIElement , false ) dxDrawImage(x, y, width , Height ,img, 0, 0, 0,SetImagecolor or tocolor(255, 0, 0, 255), true) dxDrawText(guiGetText ( GUIElement ) or tostring '',x, y, width + x , Height + y,SetTextcolor or tocolor(55,55,55,255),1,"default-bold","center","center",false,false,true) guiBringToFront ( GUIElement ) guiSetAlpha ( GUIElement , 0) end end ------------------ event = guiCreateButton(16, 20, 250, 40, "Take", false) guiSetVisible (event, false) addEventHandler ("onClientRender", root, function () AttachDxToGuiElement( event ,'img/event.png' ) end) bindKey( "k", "down",function( ) guiSetVisible( event , not guiGetVisible( event )) showCursor( guiGetVisible( event )) end )
    1 point
  3. @angelunivc precisa escolher uma linguagem de programação específica para desenvolvimento de aplicativos e sites. Recomendo que estude JavaScript, CSS e HTML para sites. Tem tutoriais no Youtube.
    1 point
  4. The map editor can now remove collisionless world objects, if you toggle "Enable collision patches" in the options. This will also make these models selectable when placed as objects. https://mirror.multitheftauto.com/mtasa/resources/
    1 point
  5. No link do restartResource o segundo exemplo faz exatamente isso.
    1 point
×
×
  • Create New...