-
Posts
107 -
Joined
-
Last visited
Everything posted by cokacola
-
It is not possible to change the handling yet, but I think they are working on handling functions for "dp3" or something, not 100% shore though
-
O_O There is AlOt of paths in there, I wonder how I could make bots follow them
-
just a question, now that this topic has been spam bumped, did this ever get resolved?
-
sorta old post, but its amazing work sloth I honestly wonder what you can't do with the ped system anyway, I am going to go try it.
-
yea, maybe I noticed that when they follow your exact commands, you can make a squad of hunters, it looked awesome, I even got pictures. I was disappointed that they could only fire machine guns, and not the rockets(couldn't fire rockets on hydra ether) so I am guessing bots cannot do that? also, special controls(8,2,4,6) do not work with bots, or so I have seen, and I cannot make the hydra go forward for them unless they do, so bots seem to have some issues here and there ^.^
-
I could probably have cars running on a path, but ATM, i want them to follow me, one of my main problems, is the fact that if i go around a corner, they are likely to hit walls when following me, same as now, they follow my every action, but if they fall behind, they meet destiny with the brick wall
-
That is exactly what I did, but I want them to follow me, not copy me, and its annoying, because I cannot do it without them just hitting walls, fences, poles and whatever else they desire including other peds >.<
-
I am guessing its that one, and I think robhol would make a good mod, he is usually quite helpful as I have seen
-
Yea, it really doesn't if it made the bots follow me, I'd use it Anyway, they follow me fine, but my main problem is that rather than actually follow me, they just do everything I do, so if 1 hits a wall, they stay behind, and I want them to follow me not just do everything I do, so I looked at slothman's amazing zombie mod, and thought, maybe I should just have it check if they are facing me, then turn, but then, i realized, they'd both go offroad AND hit walls, so ATM, I have no idea what to do, and need pro ped help(hint hint, slothman, your good at bots ) so, basically, i have No Idea what to do, because, unlike zombies, cars can't just "jump" over walls and continue to follow me, I have tried, and well, I am confused there must be a resource or something that does this right?
-
Okay, thanks, I will try that EDIT: I just tried set/getVehicleTurnVelocity & get/setVehicleRotation but neather of them worked...if they turn away from me, they still drive away from me. EDIT 2: Okay, it works, i just used set/getVehicleRotation & turn velocity on the clientside script, and it told me to upgrade because it was set/getElementVelocity and now it works. If anyone is interested in me posting the whole working script, just say. I am fine with that
-
well, if you can prove he is kicking you to them, and he isn't an admin, they can ban him for hacks, or continuously kick him out.
-
hello..again.. I am trying to accomplish something diffrent I have a command, and when you type it creates a car, puts you in it, then creates 3 cars behind you, that "follow" you. First i tried using attachElements...and it was ugly, then I tried using get/setElementVelocity & get/setVehicleTurnVelocity, with a timer, and it was less ugly, but still incredibly weird.I am guessing I will just be told to do it with bots, but i am entirely un-shore on how to make a bots car follow me everywhere. So if there is another method, what is it? otherwise, can someone point me in the right direction for accomplishing this with peds? thank you EDIT: okay, basicly solved, just had a timer and used get/setPedControlState would be nice if they just followed me, though, so new question, see, if I hit a post or something, and flip, they go in a diffrent direction to me, so how could I solve that? thank you
-
Hello again everyone, just got a quick question, is it possible to put text above every players head, like MTA does with the player name and health bar? I wanted to display the speed and wanted level, so for example, if the players speed was 145 and his wanted level was 4 it would show this above his head(floating as he walks, like his name does): Now, is there any text function capable of achieving this?
-
yes but how can you use SetAccountData to save car you have purchased, the last position you were before you disconnected, or houses Here is one, to save your position when you disconnect(i think setAccountData is only for logged in players) --Save player's position on disconnect --save pos function savePos(quittype) local x,y,z = getElementPosition(source) local account = getPlayerAccount(source) setAccountData(account, "player.posx", x) setAccountData(account, "player.posy", y) setAccountData(account, "player.posz", z) end addEventHandler("onPlayerQuit", getRootElement(), savePos) then you can load it with getAccountData when the player logs in, or re-joins. P.S. just a note i found about this on the wiki: If it were me, i'd probably save it in an XML file, but I use mySQL and the mySQL plugin for MTA.
-
just a question, are these in any of the nightly builds?
-
When in the server console, try typing this: /start admin then see if that works.
-
okay, it might be the code then.. just curios..which server had 100MB(or 800MB) download? what in there was that big, was it like a total conversion server or something ^.^
-
I have found a rather weird problem, I had a few songs at first, and it worked. I now have 9 songs, and it fails to download them, the only way you can use it without being disconnected, is to copy the songs to the radio3d resource folder in your MTA client downloaded mods.. its only on my local server, but thats abit of a problem(BTW, it came to about 25-30 MB, if its just an MTA limit) but anyway, it works good after I have copied them
-
i see, i could just use that one
-
Okay, i am making a custom radio, with a selection of songs, but my problem is, that playSound3D only works for the local player. Is there someway to make it play for all players within a certain distance from the players car? maybe some form of code that checks a players distance and then uses playSound3D for them? i must admit, i was disappointed that 3d sounds only worked for the local player (BTW, i am trying to keep it clientside, as the radio is a GUI with a list of songs)
-
yes, actually, i remade it using mysql and a GUI. i never managed to get the default sql functions to work for me though ^.^
-
Hello, I am making a web based admin page for my MTA server, and have some basic stuff, but I would like to know the best method to retrieve the current chat messages and send them to the web page, so that the admin can chat with players on the server. What would be the best way to accomplish this? thank you
-
if you mean .sqrt(x^2 + y^2 + z^2) * 161 local speed = math local.sqrt(x^2 + y^2 + z^ speed =2) * 161 math.sqrt(x^2 + y^2 + z^2) * 161 that, i am guessing its math as long as it works... it just gets the speed in KMH
-
thanks tried it out, but i added a bindKey so when i press ']' on the keyboard a ramp spawned, was fun