-
Posts
330 -
Joined
-
Last visited
Everything posted by Otto
-
Ok, I'm starting with a new script, just one where players will have infinite life, except on the Mount Chillad and on the Area 61. Can somebody tell me which functions should I use? And... How can I void this script on Mount Chillad and on the Area 61?
-
Censured things able only for people with more than 16 years old.
-
That's why I suggested this, because with legal terms, they can't spam, and if they do it, they are doing something ilegal, that's why. Hope you get me.
-
While I'm flattered by this, I don't think that is the best idea. There is the matter of corruption and accusations when you have a team of people doing something like that. How about we just have a public application process? All server owners must publicly apply to have their server 'certified' - meaning their name (including clan tags) are reserved in the server browser. If there are no valid complaints, then grant the owner a 6 - 12 month certificate, which would expire and have to be renewed. Also have a reports system where users can report servers for improper conduct (both other servers trying to copy others, and maybe 'certified' servers doing bad things). The first part is true, it's a big responsablity. Then, I don't agree with the reports system opinion. It doest imprope any conduct, noobs will almost continue coping clan names. I know latin people, and most of them are younger that 13 years old. Thats something I hate, they arent mature, but MTA won't add an ages control while buying a server, because they will loss users. Btw, lets wait to blacklist, thenn we see.
-
Ok, I like it, but just 1 thing. Not trustable users, just MTA authorised people.
-
OMG GOD, I DIDN'T POST ABOUT PAYING, MY GOD, I DON'T WANT TO BE RUDE GUYS!
-
Thanks for this comment, now I'm thinking on waiting for Blacklist. Then, if I don't like it, I'll revive this.
-
I DON'T KNOW WHY EVERYBODY IS STILL DISCUSSING ABOUT PAYING OR NOT. SHIT, THAT WAS NOT MY IDEA GOD!
-
(Double post deleted)
-
XXX = Sex/Porn that's why I related it.
-
¡Ayuda! Fail en mi Local server
Otto replied to Otto's topic in Ayuda relacionada al cliente/servidor
Si, reinstale el MTA pero el problema sigue. Cuando voy a Map editor y testeo no tengo ningun problema, el tema es en el otro. -
function XXX () Sex?
-
Bueno, el tema es así. Voy a "Host Game" (O server no me acuerdo), me aparece el editor. Despues, una vez ya loggeado (Estoy en mi ACL) doy /stop editor y se frena el editor (Hasta ahi todo bien) pero cuando doy /start play Se me lockea la pantalla en el punto donde puse /stop editor y nunca empieza el modo "play". Soluciones? Probablemente reinstalar el MTA?
-
Agreed with Aiboforcen. I think that's a example of a lazy guy.. I'm one. Anyway, this is just my second script, third will be different. AND I AGREE IT'S NOT ALL MINE, but someparts are. Images are. Anyway, you are on the Meta Aibo.
-
Ok, if it it's yours, I'll add Aibo (You) on the Meta. Sorry anyway. And I solved the problem.
-
It's compiled guy, and BOS took it anyway. Is BOS the same as DDC? This is my second script, Crack script is mine cause the one I founded was from DDC and it was compiled so I had to do it. Life was deleted and I was based on a very simple speedo, like the one on DKR.
-
Then I know that, of the DDC crack, but this one is mine, this crack is mine cause DDC crack is compiled. When I took this script, it said "Base of a speedo", so I thought that if somebody takes it, it will legal, cause it's the base, and you can perform it. crack1.png because I took sizes from another one called crack1.png, and I edited it with Photoshop. Btw, you are not answering my dude.
-
Probably the things I toked are not cool, but they are legal.
-
Third, I didn't. Credits should stay if there are no changes, but I added the Crack and I edited all the images. On a legal way, this began mine. Thanks anyway.
-
Hello guys, I made a speedomenter with a "crack" but it isn't running Something went wrong them, but I don't know what it is. speedo.lua g_root = getRootElement() g_rootElement = getResourceRootElement( getThisResource() ) g_Player = getLocalPlayer() c_EnableScaling = true c_XOffset = 10 c_YOffset = 10 c_ImageW = 200 c_ImageH = 200 c_BarW = 50 c_BarH = 10 c_BarYOffset = 70 c_FireTimeMs = 5000 c_BarAlpha = 120 c_BarFlashInterval = 300 g_tFireStart = nil function drawNeedle() if not isPedInVehicle(g_Player) then hideSpeedometer() end local vehSpeed = getVehicleSpeed() local vehHealth = getElementHealth(getPedOccupiedVehicle(g_Player)) if vehHealth and (vehHealth > 0) then local hp = (vehHealth-250)/750 local curBarLen = hp*g_BarW if curBarLen < 1 then curBarLen = 1 end local r = 255*(1 - hp)/0.5 if r > 255 then r = 255 end local g = 255*hp/0.5 if g > 255 then g = 255 end if g < 0 then g = 0 end if hp >= 0 then g_tFireStart = nil dxDrawRectangle(x + g_ImageW/2 - g_BarW/2, y + g_BarYOffset, g_BarW, g_BarH, tocolor(20, 20, 20, c_BarAlpha)) dxDrawRectangle(x + g_ImageW/2 - g_BarW/2, y + g_BarYOffset + (g_BarH - curBarLen), g_BarW, curBarLen, tocolor(r, g, 0, c_BarAlpha)) else if not g_tFireStart then g_tFireStart = getTickCount() end local firePerc = (c_FireTimeMs - (getTickCount() - g_tFireStart)) / c_FireTimeMs if firePerc < 0 then firePerc = 0 end local a = c_BarAlpha if (getTickCount()/c_BarFlashInterval)%2 > 1 then a = 0 end dxDrawRectangle(x + g_ImageW/2 - g_BarW/2, y + g_BarYOffset, g_BarW, g_BarH, tocolor(20, 20, 20, 255)) dxDrawRectangle(x + g_ImageW/2 - g_BarW/2, y + g_BarYOffset, firePerc*g_BarW, g_BarH, tocolor(255, 0, 0, a)) end if curBarLen < 20 then dxDrawImage(crackX, crackY, crackW, crackH, "crack1.png", crackR, 0, 0, white, false) end end dxDrawImage(x, y, g_ImageW, g_ImageH, "needle.png", vehSpeed, 0, 0, white, true) end function showSpeedometer() guiSetVisible(disc, true) addEventHandler("onClientRender", g_root, drawNeedle) end function hideSpeedometer() guiSetVisible( disc, false) removeEventHandler("onClientRender", g_root, drawNeedle) end function getVehicleSpeed() if isPedInVehicle(g_Player) then local vx, vy, vz = getElementVelocity(getPedOccupiedVehicle(g_Player)) return math.sqrt(vx^2 + vy^2 + vz^2) * 161 end return 0 end addEventHandler("onClientVehicleEnter", g_root, function(thePlayer) if thePlayer == g_Player then showSpeedometer() end end ) addEventHandler("onClientVehicleStartExit", g_root, function(thePlayer) if thePlayer == g_Player then hideSpeedometer() end end ) function round(num) return math.floor(num + 0.5) end function initGui() if disc then destroyElement(disc) end g_screenWidth, g_screenHeight = guiGetScreenSize() local scale if c_EnableScaling then scale = (g_screenWidth/1152 + g_screenHeight/864)/2 else scale = 1 end g_XOffset = round(c_XOffset*scale) g_YOffset = round(c_YOffset*scale) g_ImageW = round(c_ImageW*scale) g_ImageH = round(c_ImageH*scale) g_BarW = round(c_BarW*scale) g_BarH = round(c_BarH*scale) g_BarYOffset = round(c_BarYOffset*scale) disc = guiCreateStaticImage(g_screenWidth - g_ImageW - g_XOffset, g_screenHeight - g_ImageH - g_YOffset, g_ImageW, g_ImageH, "disc.png", false) x, y = guiGetPosition(disc, false) end addEventHandler("onClientResourceStart", g_rootElement, function () initGui() guiSetVisible(disc, false) setTimer(function() local w, h = guiGetScreenSize() if (w ~= g_screenWidth) or (h ~= g_screenHeight) then initGui() end end, 500, 0) if isPedInVehicle(g_Player) then showSpeedometer() end end ) meta.xml "Speedometer" author="Otto" version="1.2" type="misc" /> WTF? Then, I want to put it higher on the screen, what have I to edit (Some things were taken from other scripts, crack and images are mine).
-
Mmm, what would this do?
-
I have. On that case he will be reported to the Blacklist. That's why they must run together.
