ixjf
Members-
Posts
647 -
Joined
-
Last visited
Everything posted by ixjf
-
Ok, let's see: engineLoadIFP: Look into the bug tracker and you will know why this hasn't been added yet. cancelAnimations: As for your example - toggle jump control off. loadCustom: Is it needed to repeat the same? getMTASettings: The name itself is ugly, dxGetStatus and getChatboxLayout should also do it. setMTASettings: No..? getServerIP: What's the purpose? getModSize: Once again, what's the purpose? setCursorIcon: setCursorAlpha + tracking mouse movement and drawing your own should do it. fxAddGraphics: ? guiCreateGIF: Maintaining lots of pictures for a single thing is not something I would like to do, an animated GIF (which is the only purpose of enabling GIF support here, I guess) is basically just a bunch of GIFs (they are lossy so I wouldn't use that image file type either) compacted into one - it is trivial and can be implemented easily in Lua. guiSetButtonColor: You could always render your picture as a button. guiSetTabColor: You could always create your own GUI library or implement customizable tabs using DirectX functions.
-
Game-State.eu does not host your server, it simply keeps track of some of your server details such as name, player count, map name, etc. If you wish your server to be always online, you would need to get a server (virtual or dedicated server) or pay a company to host your server along with others (data is usually private, unless you ran into a scam).
-
u must used loadstring Makes no sense.
-
Seems legit
-
None of those functions should to be implemented except the first (and even then I'm not so sure it's worth it), they can all be scripted.
-
I could create the core of a multi-gamemode system in very few time - it is not in any way that expensive. I totally agree with CapY though, thieving somebody else's idea is pure dumbness.
-
It is possible using modules.
-
Why would it be needed? You could code your own chat in Lua and let the players choose whatever font they want. About the 'reboot' command, I remember seeing something like this before - I'm not sure if I'm just confusing, it still exists or it was removed.
-
What happened to Lua?
-
[REL] HeroCursor - Client Custom Cursor Management
ixjf replied to Malicious Hero.'s topic in Resources
I once had the idea to write a custom cursor script too, but eventually I realised it was useless. Still, good job there -
You can't blame the company for being attacked, plus you only mention it being once.
-
Best way to share variables and functions beetween resources
ixjf replied to joker.neophyte's topic in Scripting
You can always wait for MTA:Eir - it will use one single global Lua virtual machine for all resources. -
Lua itself is not a file format (although "lua" is commonly used as the file format for files written with it) - it is the name of the language and it is not an acronym. By the way, how on earth could it take years to master Lua? It is one of the easiest, if not the easiest, scripting language(s) out there. Remember: Learning a language's syntax isn't the same as learning to program.
-
This is one of the worst, if not the worst, idea I have ever read.
-
Those servers, such as FFS and Twisted Gamers, do not use the default loader but rather their own, written in Lua.
-
Having a couple of if/elseif-statements is pointless. local theModel = ( ( newModel == 132 ) and 10 ) or ( ( newModel == 118 ) and 45 ) or 0 setPedWalkingStyle( source, theModel )
-
DFF (model files) and TXD (texture files) are RenderWare's binary streams, used by its rendering engine - they retain information about the model and their respective textures.
-
bandi94: Your arguments are just so invalid.
-
Waba: Converting a string which contains only numbers is not necessary to do arithmetic on it, refer to this example: local str, str2, str3 = "123", "2", 2 print( str + str2 ); -- "125" print( str + str3 ); -- "125"
-
getElementsByType ( 'team' ) What's the difference..?
-
The error message is very obvious I guess. getPlayerFromName never ever returns a table but still you're using the return value as if it was one. In this case, getPlayerFromName shouldn't be finding a player with the specified name and so returning false.
-
Relative positioning is not magic, I am not going to repeat what has been said previously.
