ixjf
Members-
Posts
647 -
Joined
-
Last visited
Everything posted by ixjf
-
He didn't say what he wanted to decompile, though.
-
A script is not necessarely a program, just like you can decompile your own code for whatever reasons, e.g. find out the difference between using multiple ifs and a single switch statement (C/C++) (in this case, disassemble it).
-
Hm?
-
In fact, there's a quick workaround: addEventHandler("onClientRender", root, function() draw(YOUR_ARGUMENTS_GO_HERE) end) It will work in the same way: function draw(YOUR_PARAMETERS_GO_HERE) -- TODO end
-
Eu sinceramente não entendo esses tutoriais - a iniciativa é boa mas os tutoriais são muito básicos e não fazem sentido. Se você entender a linguagem, não tem nada específico em cada função que você tem que aprender, apenas usa de acordo com o que necessita. Se você não entender o uso da função - Google ou faz uma busca aqui nos fórums que você definitivamente vai encontrar.
-
Pseudo-aleatório*, a função usa um seed para "escolher" um número, se o seed for sempre o mesmo, o número escolhido será sempre o mesmo.
-
ZIP files aren't folders, though. Resources are unzipped in the resource cache because MTA uses an external library to decompress the files
-
I honestly hope it isn't as well optimized as IV, if there is a PC version.
-
Yes, though probably not as you imagine - only load time is affected, this is because the code is then pre-compiled and debug information is removed, otherwise it has to be compiled into bytecode every time it is executed.
-
MTA relies on the hardcoded hard disk serial, not the volume serial number assigned when you format the partition. You shouldn't evade bans either.
-
This is never going to work because client scripts are most likely still being downloaded when the client event is called, which at that time is absent.
-
You could also offer less empty lines in your topic.
-
Nenhum dos mencionados são compiladores, são apenas interfaces para o compilador oficial.
-
https://code.google.com/p/mtasa-blue/so ... Camera.cpp
-
In Lua, numbers don't represent anything else than that: numbers. Boolean values are either true or false (it is case-sensitive, so TRUE and FALSE is not valid). In C/C++, false always represents 0, no matter where you use it.
-
createTeam("example", 255, 0, 0)
-
Project Redivivus is currently working on the old MTA 0.5, though they lack developers to finish it that quick. The setup probably got corrupted while downloading, retry with this one: http://www.2shared.com/file/xAXtCgLM/mt ... aller.html zerb provided a list of mirrors to download it from, which is available in the stickied downloads topic (just scroll down to the second post).
-
What are you trying to say with "coordinates"?
-
Volt Host | Free web hosting | 8 Locations | 40% OFF SALE!
ixjf replied to iLinx's topic in Hosting solutions
I doubt that was on purpose, the company is quite known and I haven't heard anything bad about it. Please refrain from posting that sort of things before you even open a support ticket and receive any answer. -
It is not directly possible to share variables between the client and server sides because they run on different Lua states, running on different machines (except when you are both hosting the server and running the client, yet they run on different states). The concept of client and server-side scripts is that the client ones are transfered over to the client (the client is what you use to join a server), while server-side scripts are loaded and run on the server, which is why you have to download client-side scripts and create GUI elements on the client side.
-
I don't see the purpose of such thing, neither do I see any benefit on that. It's simply useless, and so is the vote poll since only unexperienced arabic scripters which accept any suggestion, no matter if it's any decent at all, will vote up.
-
setElementData( source, "Classicon", tostring( ":experience/class/classicon_mod.png" ) ); What's the purpose of converting a string into a string?
-
The project is still under development, but that doesn't mean there have to be new announcements every week. EDIT: The_GTA just resumed development on MTA:Eir. He was working on a MTA:Lua Interpreter, as you can probably see above by videos.
