-
Posts
4,144 -
Joined
-
Last visited
-
Days Won
1
Everything posted by dzek (varez)
-
hmm, i once configured mta for debian lenny, it was a bit hard, but i succesfully passed all problems. too bad i dont have ready-to-go files anymore. try to do everything from scratch. try also contacting your dedi support (maybe they'll help, maybe not - it depens of their staff)
-
there is no Multi Theft Auto for GTA IV. had the same on some broken VPS server. Is it your machine, or dedi/vps?
-
they can't join or they can't download resources. these are two different things
-
I suggest you to search before posting question like that - it was asked many times.
-
there is NO recursion in my example..
-
wtf? it's so random. teach yourself more, as i won't be doing everything for you. setPlayerNametagShowing to hide name tag. using this and a little wiki - you will make admin icon on admin head: https://forum.multitheftauto.com/viewtop ... 91&t=28836
-
-- sending value from client to server, and back to client --[[ CLIENT SIDE SCRIPT ]]-- addEvent("sendToClient", true) addEventHandler("sendToClient", getRootElement(), function(var1) outputChatBox("got variable from server: ".. var1) end) myVar = "hello world!" triggerServerEvent("sendToServer", getLocalPlayer(), myVar) --[[ SERVER SIDE SCRIPT ]]-- addEvent("sendToServer", true) addEventHandler("sendToServer", getRootElement(), function(var1) varToSend = var1.." server says hello too!" triggerClientEvent(source, "sendToClient", source, varToSend) end) try this script, look on wiki pages for triggerServerEvent and triggerClientEvent (click on them in script above) I'm sure you will understand it
-
you are mixing server-side (spawnPlayer) with client-side (onClientDownloadFinished). my modified play resource: function spawn(player) if getElementType(player)=="player" then local desiredSkin = getElementData(player, "skinID") if desiredSkin then skinID=desiredSkin else skinID= math.random(9,288) end spawnX = math.random(-691, -671) spawnY = math.random(962, 971) spawnZ = 20 repeat until spawnPlayer ( player, spawnX, spawnY, spawnZ, 180, skinID ) fadeCamera(player, true) setCameraTarget(player, player) end end addEventHandler("onPlayerJoin", root, function() setTimer(function(src) spawn(src) end, 5000, 1, source) end ) addEventHandler("onPlayerWasted", root, function() if getElementType(source)=="player" then local tmpID = getPedSkin(source) --outputChatBox(tmpID.."f") setElementData(source,"skinID",tmpID) setTimer(spawn, 5000, 1, source) end end )
-
i dont understand what you mean
-
same problem: https://forum.multitheftauto.com/viewtop ... 05&t=28825
-
Settings? You can set your nickname there..
-
i suggest not to use setElementData. triggerServerEvent, and after doing some actions triggerClientEvent back. waiting some ms in unreliable - sometimes server/client can get a lag..
-
If you put this in correct folder - it should work. If you added map to running server - restart it, or type "refreshall" in server console. Also read this: https://forum.multitheftauto.com/viewtop ... 94&t=28849
-
I hate when ppl don't read what I wrote, and asking same question just under answer I don't know where you installed MTA. %mta installation path% - By default it's C:\Program Files\MTA San Andreas So default path should be: C:\Program Files\MTA San Andreas\server\mods\deathmath\resources\ Eh.. Path can be different if you installed MTA to custom folder, or sometimes OS default Program Files path could be another (like C:\Program Files (x86), or maybe another drive letter than C)
-
Something about stats: I'm actually working on such script, collecting all the data that was originally used plus some extras. It will be using mysql, and php website will be included in resource.
-
afair in mta race you had to write only a part of nickname to votekick - much easier. its possible in mta:dm too, but its not by default so most servers wont have this feature anyway..
-
illegal webhosting? Wtf are you talking about???
-
https://wiki.multitheftauto.com/ Then click Server Manual. Path to resoures folder: %mta installation path%\server\mods\deathmath\resources\
-
or https://wiki.multitheftauto.com/ And click SERVER MANUAL
-
this is achieved with 4th argument (false) in addEventHandler. So again: Source check is unneeded
-
Hey, theres few (two?) active topics. No need to bump. And when you reply to yourself, on topics list you get 1 in "reples" colums = less chance that somebody will open your topic than when it´s zero. Its better to wait a bit. About your problem: Post your xml example too.
-
TDK, I don't like that, be nice
-
I think the best in your script is the IDEA I havent seen it in action, but i believe it's as cool as idea. Maybe you can post some youtube videos?
-
The problem of the men's IMORTALS to MTA
dzek (varez) replied to RedX{ES|ROS}Grove's topic in Scripting
Get a better translation. I can't uderstand what do you want. -
never seen any. after searching - i found one but private. so answer = no.
