
myonlake
Members-
Posts
2,312 -
Joined
-
Days Won
41
Everything posted by myonlake
-
Why not just serial ban the user or something, problem solved.
-
Please, learn LUA first before starting to ask these questions which can be solved with one function. Commands /playmarker - Warps you to the marker play thing.. local marker1 = createMarker(-18.08, 25.42, 2.11, "cylinder", 3, 255, 0, 255, 100) addEventHandler("onMarkerHit", root, function(hitElement, matchingDimension) if getElementType(hitElement) == "player" and matchingDimension then if source == marker1 then destroyElement(marker1) marker2 = createMarker(-13.13, 33.48, 2.11, "cylinder", 3, 255, 0, 255, 100) playSoundFrontEnd(hitElement, 1) givePlayerMoney(hitElement, 4000) elseif source == marker2 then destroyElement(marker2) marker1 = createMarker(-18.08, 25.42, 2.11, "cylinder", 3, 255, 0, 255, 100) playSoundFrontEnd(hitElement, 1) givePlayerMoney(hitElement, 4000) end end end ) addCommandHandler("playmarker", function(player, cmd) if getPedOccupiedVehicle(player) then removePedFromVehicle(player) end setElementPosition(player, -8.83, 26.15, 3.11) setElementInterior(player, 0) setElementDimension(player, 0) end )
-
Seriously... https://wiki.multitheftauto.com/wiki/Server_Manual
-
I don't know where you got this gamemode, but it looks like not paradise. Here's a real copy of the gamemode: https://github.com/mabako/mta-paradise.
-
Don't use Valhalla resources, that's the best way to fix your bugs, by not using someone else's 120,000+ lines. We're not helping you, at least those who give credit to people.
-
Just make a table of positions and then make the function(s) call the table and create the next marker when you hit a marker. Easy as what.
-
I am not sora, you can just delete your message because he haven't tried it yet.
-
Events must have functions, your function wasn't created when the server checked the event, so it didn't work. EDIT: _Dark_ was first, but here's a simple fix. addEvent("cb", true) addEventHandler("cb", root, function(player, x, y, z) finishM = createMarker(x, y, z, "checkpoint", 3, 255, 255, 0, 170, player) finishblip = createBlipAttachedTo(finishM, 42, 0, 0, 0, 255, 255, 1, 99999, player) addEventHandler("onMarkerHit", finishM, destroy) end ) addEvent("cb", true) addEventHandler("cb", root, function(player, x, y, z) finishM = createMarker(x, y, z, "checkpoint", 3, 255, 255, 0, 170, player) finishblip = createBlipAttachedTo(finishM, 42, 0, 0, 0, 255, 255, 1, 99999, player) addEventHandler("onMarkerHit", finishM, destroy) end ) function destroy(hitElement, matchingDimension) if matchingDimension then destroyElement(finishblip) destroyElement(finishM) end end
-
Amazing work in my opinion. I don't know how you open the phone, but if you don't have already an animation, I suggest making one. For example, when you make a command, the phone slides upwards from right bottom corner. I suggest of using arc_'s animation library - I guess it was his, correct me if I'm wrong.
-
Extract it and put it in the MTA San Andreas 1.3/server/mods/deathmatch/resources -folder. Read the manual first. To be honest, don't start a server without knowledge of how to use MTA server.
-
Hello, As I drive a vehicle, the sounds are to the minimum, but I can hear my radio normally as well as the background noise, but I cannot hear my vehicle voices normally, neither my walking sound or anything. I have re-installed Multi Theft Auto, and I do not have any modifications to my Grand Theft Auto or anything. This just suddenly appeared, no idea where from. Also, horns and police sirens have disappeared. I also noticed that when I drive a road with lamps on the road and my camera hits the lights, it makes a sound, which is realistic, but is that supposed to be like that? When I enter a vehicle, the door sound works correctly. If I try to change my camera modes, the sound doesn't get any louder or so. Also, weapon sounds only can be heard from my left stereo. Car engine can be heard outside the vehicle. Anybody has a fix for this? And do not give me links to download drivers, because my drivers are not an issue and I won't break my computer with them. Same issue persists on all servers. Footstep sounds do not appear outside a vehicle. The sound system is completely bugged as little as I can make this description. I am now re-installing Grand Theft Auto to see if it's fixing the issue. Edit: Re-Installing GTA did not work. Edit 2: Got it fixed by changing my audio settings in my computer settings.
-
Just show us the script if you don't know how to script.
-
No one said it's not possible. I know many people who makes up their own programming language and uses it like they want. Just learn all the basics of basic programming languages and there you go.
-
Isn't this a some kind of function in PHP? Hash function? You can choose which one, from SHA to the highest ones.
-
If you want lights, you probably just want to use invisible vehicles collisioneless and then make them flash lights, but I'm suggesting to wait for the actual 3D lightning system - not sure if they're updating it at the moment, but I can see it coming up, since it's not a big thing.
-
Attach 100 objects to one object, then move the object. There you go, really simple script.
-
If getTeamFromName returns false, then something's wrong with your script. Please show me/us the script part.
-
I am not one hundred percent sure, but I suppose this is not possible at the moment. You can toggle your grass via MTA settings.
-
Your player doesn't have "Tampas" data.
-
Weird, for me it still displays it.
-
Blame Multi Theft Auto for that. You could use attachElements -function. attachElements
-
That's only for screen radar, doesn't affect to F11.
-
Try this. Server-side addCommandHandler("createped", function(player, cmd, model) local model = tonumber(model) if model then local x, y, z = getElementPosition(player) local rotation = getPedRotation(player) local ped = createPed(model, x, y, z, rotation, true) triggerClientEvent("onPedWalk", root, ped) else outputChatBox("Error: Ped was not created due to invalid model.", player, 255, 0, 0, false) end end ) Client-side local peds = {} addEvent("onPedWalk", true) addEventHandler("onPedWalk", root, function(ped) table.insert(peds, ped) setPedControlState(ped, "walk", true) end )
-
Why do you have 22480 lines in a script? Oh my god. Give me the function at least.
-
Show the script, please. And also, what is the file 22480? It's not a lua file?