-
Posts
767 -
Joined
-
Last visited
Everything posted by Xierra
-
Babane42 meant that players in Basemode can force vote by simply writing for example: /vote arena 22 24 <-- Can only choose one of them and no cancels. /vote base 99 99 <-- Forced to choose Base 99 While voting this way, there's no "Don't want to choose either of them" option, they have to choose Arena 22 or Arena 24 by force, that's it! This can also be done without needing to be admin or anyhow. Rhbk, can you put "Don't want to choose either of them" option in this kind of voting or remove it please? @Babane42: Hey Jerry, why not change your nick to Jerry instead? Anyway, I've helped you to understand the words you said for now.
-
Hey, nice job for the Redefined CLEO mods! How about redefining this: Zeti's Advanced Car Control This mod was made by Zeti and here's his quote on this mod. This was like the vehicles system but more advanced. Download: http://www.gtainside.com/en/download.ph ... 6&orderBy= I hope you accept.
-
Oww, so it's something like that, that means IF functions can be made for checks eh? Thanks 50p for your help again.
-
Hmm, I really need to learn how to make specific checks. Can somebody tell me a step-by-step tutorial?
-
Uhh ok. (Don't really understand that good) How should I fix that? Cause I don't know what are the "checks" anyway. You know, I'm a scripting newbie. That's why I ask.
-
Well I think the F-1 cars was not here so not bad btw. I kept searching for one F1 cars without replacing handling lines, but I know it's pirated.
-
Hmm, might try this as a speed unit alternative. Thanks! Btw, Rapidshare link down...
-
Don't know for sure, but I was not sure that the speed provided by GTA SA units is really exact too. To me, it was a correct reading, now I realized it wasn't. Anyway, the script still doesn't work, I added the getElementVelocity variable and changed command to bind, but it said that: Error: Attempt to arithmetic on upvalue "velX" (a boolean value) What should I do? Script: local unitsString = "Km/h" local speedMultiplier = 184 local velX, velY, velZ = getElementVelocity( getPedOccupiedVehicle( getLocalPlayer() ) ) function getspeed() return math.sqrt( (velX * velX) + (velY * velY) + (velZ * velZ) ) * speedMultiplier end function toggleUnits() if unitsString == "Km/h" then unitsString = "mph" speedMultiplier = 114.33 else unitsString = "Km/h" speedMultiplier = 184 end end bindKey( "/", toggleUnits ) function drawspeed() dxDrawText( tostring( math.floor( getspeed() ) ), 911.0, 654.0, 982.0, 685.0, tocolor(255,255,255,255), 1.0, "bankgothic", "right", "left", false, false, false) dxDrawText( unitsString, 989.0, 664.0, 1019.0, 680.0, tocolor(255,255,255,255), 1.0, "default", "top", "left", false, false, false) end addEventHandler("onClientRender", getRootElement(), drawspeed)
-
Wow that's a bit advanced maths, I haven't learned it yet! I'll learn a bit from you. Anyway, what's VelX, VelY, VelZ? There's no variable yet... It'll hide the digital speedo automatically if you enter / leave the vehicle. <-- Actually, this was because of errors, a bit lucky eh? Anyway, I don't really need a fade in/out thingy cause it's for my Alternate_hud, I just need change colour according to the time.
-
I can't manage a correct way where to put that part of the script. So then how should I edit? Script: function getspeed() unit = 160.9 -- Km/h vx,vy,vz = getElementVelocity( getPedOccupiedVehicle( getLocalPlayer() ) ) return math.floor( ( vx ^ 2 + vy ^ 2 + vz ^ 2 ) ^ 0.5 * unit + 0.5 ) end function drawspeed() dxDrawText(tostring( getspeed() ) ,911.0,654.0,982.0,685.0,tocolor(255,255,255,255),1.0,"bankgothic","right","left",false,false,false) dxDrawText("Km/h", 989.0,664.0,1019.0,680.0,tocolor(255,255,255,255),1.0,"default","top","left",false,false,false) end addEventHandler("onClientRender", getRootElement(),drawspeed)
-
Thanks, that works now. (What a quick fix...) Now how to make an MPH & Km/h toogle? And how to make all of it invisible by one command?
-
Hi guys! I want to make an optional command for my Alternate_hud again, it's called the Digital Speedometer. So here, I have tried to work on the script, but it doesn't work and I didn't know how to get speed. Here's my try: function getspeed() unit = 160.9 --km/h only vx,vy,vz = getElementVelocity( getPedOccupiedVehicle( getLocalPlayer() ) ) return math.floor( ( vx ^ 2 + vy ^ 2 + vz ^ 2 ) ^ 0.5 * unit + 0.5 ) end --This part thanks to karlis, just edited a bit. function drawspeed() dxDrawText("100" ,911.0,654.0,982.0,685.0,tocolor(255,255,255,255),1.0,"bankgothic","right","left",false,false,false) --Speed DX text, already tried it with tostring(getspeed), gives "Function: Address < No need to tell btw." dxDrawText("Km/h",989.0,664.0,1019.0,680.0,tocolor(255,255,255,255),1.0,"default","top","left",false,false,false) -- Units, later I ask this one. end addEventHandler("onClientRender", getRootElement(), drawspeed)
-
Ahhh! So that's why if I press Kart on the freeroam menu, suddenly a train sound appear and not the kart. Thanks maddogg!
-
Well you can't replace effects in MTA SA yet, but you can just install it on your GTA client. Don't worry as I had New Great Effects already on my GTA SA, and I can still enter servers without problems.
-
Hmm, maybe he meant something that was worked in the GTA SA... Ped flags, in my opinion, are something like: move ped to position, make ped attack a ped or the player, set them to walk or run, etc.
-
Can't do that because basemode doesn't allow modding in it. Also, it was compiled. Need to ask rhbk for that
-
Hey hey instead of moving to SA-MP, go here. It's better. I played SA-MP too before, but this one's my choice. Go here for wiki: https://wiki.multitheftauto.com/wiki/Main_Page You'll find it easier to script here. Btw, the scripting language is "LUA" in MTA SA and "PAWN" which is used on SA-MP. Remember that. Anyway, don't hesitate to ask, 50p was one of the good scripter here, he could help you in any way. Everyone else is kind at helping too.
-
There's a simple trick how to make him not recognize you. Change your nick and later you can go back with your previous nick after he's gone from MTA SA. simple trick isn't it?
-
Wow that's a great project you got there. Will you release it?
-
Hmm, this could save some time making it. Btw lordy, can you give me a little example of making it? I don't really understand how btw.
-
I think Saudi Server doesn't understand English? They need a good translator... I was thinking about making the different alternate_hud to be put in Basemode, but anyone knows some of the Basemode events?
-
Hmm alright then, I'll choose the red ones for the back. Topic finished.
-
Lol, the previous post of course. This post: http://www.forum.multitheftauto.com/vie ... 48#p314849
-
Ahh man I don't want this topic left cause I'm not finished here yet...
-
Yes! It should work now. Btw, I need a darker colour for the back of the health bar. I was thinking like MTA's nametag colour. I want to learn how to make dynamic colour regarding to this kind of thing.
