Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

8 Neutral

1 Follower

About Erknneto

  • Rank
  • Birthday 29/03/1998


  • Gang
    MTA Evo:Rust
  • Location
  • Occupation
  • Interests

Recent Profile Visitors

963 profile views
  1. I've sold it, the new server IP is mtasa:
  2. IT'S ALREADY BEEN SOLD The new server IP is mtasa:// SELLING - Rust gamemode + Facebook page with 4.2k likes Hello! I'm selling my Rust gamemode I've been creating since 2016. It has been tested once as a server with 80+ players. The reason I'm selling is because I'm leaving MTA forever. I'll show some screenshots, some old videos people made on the server, and I'll show you what's so special about this gamemode. ABOUT THE GAMEMODE I started making this gamemode back in 2016 with two friends of mine, we slowly made it and it became a server in 2017. From th
  3. function peds(player) local rx,ry,rz = getElementRotation(localPlayer) local px, py, pz = getElementPosition(localPlayer) local rz = math.floor(rz) setClipboard("{179 ,"..px..", "..py..", "..pz..", "..rz.."};") outputChatBox("Todas as informações para adicionar o ped foram copiadas!") end addCommandHandler("localped", peds) Bom, eu colocaria dessa forma. A função 'math.floor' vai te dar o menor valor inteiro dentro de um número, acredito que funcionaria melhor nesse caso. Ali eu só pedi pro script me retornar o 'rz' novamente, mas no caso o 'rz' inteiro, diferente d
  4. We need more information. You need to show us screenshots of any errors occurring when you use the '/svp' command. Use '/debugscript' 3 to do it. But for now I suppose you should check if you're set as an admin to use that command, try to set your admin element data using the admin panel.
  5. function ... () local username = getPlayerName(source) local qh_account = dbQuery(db, "SELECT * FROM accounts WHERE username=(?) LIMIT 1", username) local result_account = dbPoll(qh_account,-1)[1] if ( result_account ) then local serial = tostring(result_account.serial) local userSerial = getPlayerSerial(source) if ( serial == userSerial ) then outputChatBox("Yes.",source) return else outputChatBox("No.",source) return end end return end The code you're using is kind different from the ones I use about databases, but this might work. You just needed to set the se
  6. Você deve postar na área de português, amigo... lá nós brasileiros podemos te ajudar. Essa aqui é a área exclusiva para dúvidas em inglês. Link: ÁREA DE PORTUGUÊS
  7. Erknneto

    Replace Error

    You're using a non-compatible model for the weapons, try to use another models. It might work.
  8. I think you were setting the wrong element datas, try this code function apagarRadar () setPlayerHudComponentVisible(source,"radar",false) setElementData(source,"showRadar",false) end addEventHandler("onPlayerJoin",getRootElement(),apagarRadar) function mostrarRadar (source) if not ( getElementData(source,"showRadar") ) then setElementData(source,"showRadar",true) setPlayerHudComponentVisible(source,"radar",true) else outputChatBox("Já tens um mapa.",source) end end addCommandHandler("mapa",mostrarRadar)
  9. That code works for all resolutions, just put your resolution there and edit. It will work fine in all resolutions, just edit in your resolution and test in others.
  10. function interiorEnter (element) if ( getElementType(element) == "player" ) then if ( getPlayerMoney(element) >= 100 ) then takePlayerMoney(element,100) setElementPosition(element,834.6,7.4,1004.1) setElementInterior(element,3) else outputChatBox("#ff0000You don't have enough money!",element,255,255,255,true) end end end addEventHandler("onMarkerHit",markerJoin,interiorEnter) Try this, m8.
  11. Well, I always use this code to draw DX stuff, and I recommend you to try it so local sx,sy = guiGetScreenSize() local px,py = 1366,768 --Put your resolution here local x,y = (sx/px),(sy/py) --Example code dxDrawRectangle(x*0, y*0, x*1366, y*80, tocolor(0, 0, 0, 170), false) dxDrawText("Test", x*0, y*0, x*1366, y*80, tocolor(255, 255, 255, 255), 1.5, "pricedown", "center", "center", false, false, false, false, false) It always fits in all resolutions.
  12. You can use the function showCursor. for example: function inventory () showCursor(true,false) --it will show the cursor and the player will still be able to move, etc end bindKey("tab","down",inventory) https://wiki.multitheftauto.com/wiki/ShowCursor
  13. Oh, sorry! You can ignore that, that is an old code from my resources! You can remove that return if you want!
  14. function ejectPlayer (source) if ( isPedInVehicle(source) ) then removePedFromVehicle(source) return end end addCommandHandler("eject",ejectPlayer) Try this code.
  • Create New...