-
Posts
681 -
Joined
-
Last visited
-
Days Won
11
Everything posted by Zango
-
setCameraMatrix (x, y, z + 4, x, y, z) It'll look at your specified place, 4 units over it.
-
As far as I know, MTA works by hacking gta_sa.exe's memory. Apparently that cause a number of anti-virus scanners to call it whatever, because I suppose a program hacking another isn't considered good behaviour. MTA is open-source, I think someone would've wondered why there'd be code interfering with wlcomm.exe before this matter. I'm not really into all technical aspects, but I think the installation part is related to how some installation software works. Anyways there's a bunch of people who got a much better explanation for all this.
-
its due to the collisions in the area you warp to is not loaded. Set camera matrix to look at it for say two seconds, and then warp.
-
I think he's referring to the hosting provider serverFFS This is a question for another service, and not really related to this section. I suggest you email them.
-
Oh please, who cares man. Leave it, instead of making things more complicated for thread owner. If you will, wait and let him respond to whether his first question was answered.
-
Chat topicen
Zango replied to SilverSink's topic in Scandinavian (Danish / Dansk, Norwegian / Norsk, Swedish / Svenska)
Er der ikke flere aktive skandinaviere end os? -
it's on line 394 in fr_server.lua: addEventHandler('onPlayerChat', g_Root, function(msg, type) if type == 0 then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox(getPlayerName(source) .. ': #FFFFFF' .. msg:gsub('#%x%x%x%x%x%x', ''), g_Root, r, g, b, true) end end ) Basically it colours the name of the chatting player to his name tag color, and removes any other colour coding. Maybe you have a resource which does similar. Remove this code or find out what other resource may do it.
-
You can find it on MTASA's page at moddb.com You'll be heavily disappoint though, vast majority of servers have minclientversion set to 1.0.4.
-
Only way to play on MTA with edited data files is to play on servers with anticheat/verifyclientsettings checks off (which you can disable on your local server). Talidan linked you the page that describes this: https://wiki.multitheftauto.com/wiki/Ser ... ent_Checks You can't play on servers with edited data files, and those checks enabled.
-
It's freeroam's fault afaik. I think there's an option somewhere you can disable else you have to remove that code.
-
I use OOP a lot, generally when doing gamemodes as you can reduce the amount of code greatly.
-
I think load and save are old remnants from some sort of built-in map editor. You can't disable them.
-
MTA is developed and distributed on 32 bit platform only. Follow this tutorial to get MTASA 1.0.x working on Debian 64-bit.
-
/stop votemanager should do it
-
getMapName returns the current server map in a string, not whatever map parsed. I'm not sure if you know this already, but it doesn't seem like it on this piece you posted: triggerClientEvent("onNextMapSet", getRootElement(), getMapName(map)) It won't break anything, but I'm not sure if it produces the output you want (if setMapName is called after that trigger it most likely wont) There isn't any clientside for the mapmanager by default, so you'll have to script one to get "onClientGamemodeMapStart" An easy solution would be to place code similar to this in mapmanager_main.lua: addEventHandler ('onGamemodeMapStart', root, function (res) local txt = getResourceName (res) if txt then triggerClientEvent ('onClientGamemodeMapStart', root, txt) end end ) and create a clientside file where you do the text stuff.
-
Chat topicen
Zango replied to SilverSink's topic in Scandinavian (Danish / Dansk, Norwegian / Norsk, Swedish / Svenska)
Hej! Endeligt en skandinavisk sektion Er det ikke lidt pudsigt at den siger "Danish / Dansk, "Norwegian / Norsk" og "Swedish / Sverige" når "Swedish" hedder "Svensk" -
This one's pretty good too: (not mine)
-
There are plenty of tutorials on the Internet that teaches you this. It's hard to use it in scripting if you don't understand them, or at least know how to use them beforehand.
-
If this was to be implemented, one has to be extra careful whether it actually resets the dat files when a client leaves a server, in all cases. Sometimes txd replacements doesn't reset, and I believe the .dat files doesn't contain only visual modifications.
-
There's a feature request on mantis about it here. You can only equip yourself with patience until its fixed, or declined.
-
pairs versus ipairs on numerically indexed tables is significantly slower.
-
I wrote the spectators resource a month ago, everyone can download it: https://community.multitheftauto.com/index.php?p= ... ls&id=1749 I wouldn't call that stealing.
-
A dxdiag log can be retrieved by doing following: I was just wondering because this seems similar to the failure Intel Express Chipset 4 users receive. I'm glad it fixed itself though.