-
Posts
4,144 -
Joined
-
Last visited
-
Days Won
1
Everything posted by dzek (varez)
-
go into: %mta install directory%/server/mods/deathmatch/resources find a folder with your map and simply remove it. default %mta install directory% is probably C:\Program Files\MTA
-
hmm, or little script can do this (but you won't see it in map editor): addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), function() objects = getElementsByType("object", getResourceRootElement(getThisResource())) for key, val in ipairs(objects) do local xx,yy,zz = getElementPosition(val) setElementPosition(val, xx,yy,zz - 5) end end) this wont lower spawnpoints/pickups/etc anyway. maybe i will make a simple page for mass moving all elements in map file using specified vector.. ?
-
client-side scripts are running INDEPENDLY on each client (player) - outputChatBox will output chat to that player who is running that scripts. like (in words) - you are checking for current vehicle speed every second, and if its > 50, you are outputting text - its doing (independly) the same thing on every client, but only client driving faster than 50 will see message. addEventHandler - 2nd parameter is attached element. every event is triggered by something (this is called "source" in handler function). if you are making onMarkerHit - attached element could be one marker, or all markers, example: myMarker = createMarker(arguments, we, dont, care, in_, this, example) otherMarker = createMarker(arguments, we, dont, care, in_, this, example) function myMarkerHandler(element, matchingDimensions) outputChatBox("something hit my marker") end function anyMarkerHandler(element, matchingDimensions) outputChatBox("something hit some marker, it can be ANY marker") if (source==myMarker) then outputChatBox("oh, and it was MY marker") end end addEventHandler("onMarkerHit", myMarker, myMarkerHandler) addEventHandler("onMarkerHit", getRootElement(), anyMarkerHandler) see the difference? try it out
-
Its called "Explorer" and every windows have this o_O
-
--- wtf is this? these values probably will crash clients. check wiki page for more info
-
i can miss them easly , maybe you dont know how to play
-
[Outdated] Unofficial MTA Script Editor 0.3 (4851) RELEASED!
dzek (varez) replied to 50p's topic in Scripting
Win7+64bit - this doesnt sound good. Anyway, Did you install all these files? -
50p's Unofficial Script Editor is checking for syntax errors while writing. I suggest you to add Our Wiki to browser favourites - you will use it many times There is all you need to know about scripting - Introduction, Debugging informations, Client and Server functions list (and Client and Server events). And welcome to MTA
-
even heard about Debugging ? This throws error for sure, and you just can't miss it! setVehicleGravity is client-side server side setVehicleGravity: -- server side code function setVehicleGravity(veh, x,y,z) if (isElement(veh) and getElementType(veh)=='vehicle' and x~=nil and y~=nil and z~=nil) then triggerClientEvent(getRootElement(), "setVehGrav", veh, x, y, z) return true else return false end end -- client side code: addEvent("setVehGrav", true) addEventHandler("setVehGrav", getRootElement(), function(x,y,z) setVehicleGravity(source,x,y,z) end ) after you put this code, you can use setVehicleGravity server side
-
be patient please.. Making multi post doesnt have any sense, and wont force anybody to reupload
-
community is down at the moment for maintenance. You have to wait until it gets back up, or wait for resource creator to upload a mirror for it.
-
[REL] P-Login - A new login GUI - Now with password changing
dzek (varez) replied to B!ERPuNK's topic in Resources
community is down at the moment for maintenance. You have to wait until it gets back up, or wait for resource creator to upload a mirror for it. -
Scripting tutorial and wiki in general - check Scripting box And before you ask: no one will do it for you. You've got the links, we are not fulfilling request (like "make this and that for me because i need it")
-
no internet? you are running mta on machine without i-net connection? why? maybe pendrive will do the job then? try to reinstall mta, then reinstall directx, then try to remove d3dx9_XX.dll from gta installation directory (make a backup copy), or reinstall gta too.
-
I don't understand what you mean? Could you explain it more? Maybe post some screenshots?
-
I have replaced lua tags with links
-
Have you ever opened wiki? You are requesting things that are already here for long time.. https://wiki.multitheftauto.com/wiki/SetWaterColor https://wiki.multitheftauto.com/wiki/CreateWater https://wiki.multitheftauto.com/wiki/SetWaterLevel https://wiki.multitheftauto.com/wiki/SetWaveHeight and for killing/exploding in water [lava]: https://wiki.multitheftauto.com/wiki/IsElementInWater https://wiki.multitheftauto.com/wiki/KillPed https://wiki.multitheftauto.com/wiki/CreateExplosion + https://wiki.multitheftauto.com/wiki/OnClientRender (or) https://wiki.multitheftauto.com/wiki/SetTimer
-
there was no reason for another bump of this i think
-
Account Reseted?
dzek (varez) replied to Silver_Medall's topic in Site/Forum/Discord/Mantis/Wiki related
MTA Staff did it twice. I think they wont do it again. Or at least restore to newer backup than 20 Aug -
game-monitor.com is lisitng all mta servers that you can see in ingame server browser. they also check from what coutry server is running. this can help you
-
Yeah, yeah, two.. http://www.wowwiki.com/Lua_editors
-
have you installed any new software recently? have you tried to reinstall both gta sa and mta?
-
nice one but this is 9 months old topic ;p
-
It looks like connection problem, can you play any other multiplayer game with no problem? Pls give us more info - OS, MTA version, if this is happening since you started playing MTA or started to occur at one time, etc.
