Jump to content

Anderl

Members
  • Posts

    2,266
  • Joined

  • Last visited

Everything posted by Anderl

  1. Use local variables instead.
  2. Anderl

    HELP :D

    Your code is wrong, 'player' is nowhere declared.
  3. Anderl

    God mode

    I think it's even better not to say anything at all if you don't know, that condition does not make sense.
  4. Perhaps it was an one time bug? Did you try to reproduce it?
  5. Add the handler to the event when the map starts loading, and remove it when it stops. Functions called when the map starts loading/stop loading are almost on top of the file "race_client.lua".
  6. I recommend you modifying that whole code.. especially that timer.
  7. I figured that out before you edited the reply. I don't use 'race' gamemode since much time ago, I thought these resources were includes.
  8. 1. You never trigger the event "onTravelScreenStart". 2. If you don't need the event to be triggered from the server-side, you don't need to set second parameter of addEvent to true. 3. You never call "manageTravelScreenStop". 4. DirectX functions need to be updated every frame, so you must use onClientRender event. @Razor., that has nothing to do, he's not declaring the variable twice (well, actually he is, but before the end of the value assignment to the variable, the old variable is still "active" so it's like if he is just modifying the value of the variable).
  9. It is in the 'meta.xml' file in 'race' gamemode, search for 'include' sub-nodes. EDIT: Exactly as Anony said, I actually thought these were included resources, my bad
  10. Anderl

    Server Problem,

    That simply means the ACL has a syntax error. Take a look at the file content's to find out where you did the mistake.
  11. Well, you should say that to the million of guys that created GUI-based compilers too, he's not the first nor the last one doing one. But yeah, just one compiler was enough.
  12. Still, most thiefs are just kids and if they can't decompile the scripts with the official Lua decompiler, I doubt they'll find out a way to decompile them (most of them don't even know about Lua decompilers or where to find them - but that doesn't nullify my first question, anyone really willing to steal the code will do it; I know there will ever be a way to decompile it, but doing what I said above will just make life harder for most people). Anyway, let's just end this off-topic convo
  13. I heard something that if you wrote some code at the top of the Lua file (not sure what it was), the Lua decompiler would not be able to decompile it, I'm not sure if that's true.
  14. Not only the ideas, but also the notification bar's design on the bottom is copied. By the way, why you guys compile codes? They can be decompiled easily (it's useless to compile them if you don't make them "un-decompilable").
  15. He wants to put the text in the same position in different resolutions, not find absolute positions.
  16. @Razor., your code does not make sense. @Riddy, check my reply above.
  17. Anderl

    [WIP]MTAM

    Maybe you can use callRemote and transfer the data on a web site and fetchRemote the data from that website to all other servers. He knows that, but that may cause lag when too much calls are made.
  18. Anderl

    Server

    Don't expect anyone to come and host your server for free, and do everything you want.
  19. Não é assim que alguém vai entrar no seu servidor. EDIT: Também não é fazendo spam no fórum. Os posts spam seus já foram reportados
  20. 1. Lua is case-sensitive. 2. The command is named "createvehicle", but the code has completely nothing to do with vehicle creation. 3. Second parameter of the function handler when adding a command is the command name, not "item". 4. ruoY edoc ylpmis seod ton ekam yna esnes.
  21. Use o evento OnClientVehicleCollision.
×
×
  • Create New...