Jump to content

Anderl

Members
  • Posts

    2,266
  • Joined

  • Last visited

Everything posted by Anderl

  1. You can't report a server for supposedly having your resources. Next time, search a bit around the forums for ways to protect scripts: viewtopic.php?f=91&t=51882#p505736.
  2. There are rumors that Amazon UK released its release date: 19th June 2013.
  3. Of course resources can still be stolen. Compiling a script only makes the script not being able to be read and edited by humans ( can still be decompiled ).
  4. BAK files are simply the version of the files not compiled, it's a security copy. You don't need to have any files except the ones that are compiled.
  5. That way isn't the best. There are still ways to steal the files with that. My way of protecting Lua files is the best way imo because there's no way they can get it, the code is read from the server-side and loaded in the client-side. No client files needed, just save them in the resource folder ( you don't even need to add them to meta.xml ).
  6. .bak files generally are BACKUP files, they're supposed to be a security copy in case the compiled files don't work or you need to edit them later. You simply have to compile the scripts.
  7. Anderl

    [HELP]MySQl

    Are you using phpMyAdmin of any webserver? Webservers normally have that option in their control panels, it's not made via phpMyAdmin.
  8. What? Simply create an event with ability for remote triggering in client-side which will call that exported function just the way you wrote above in the first post and call the event in server-side. Example - Client-side: addEvent( "onGetPosition", true ); addEventHandler( "onGetPosition", root, function( szText, var1, var2 ) exports.text:showText( tostring( szText ), tostring( var1 ), tonumber( var2 ) ); end ) Server-side: triggerClientEvent( ele, "onGetPosition", ele, "My text", "4000", 20 );
  9. Pres[T]ege wasn't talking about the default SciTE but about the one which comes with Lua for Windows package ( click to download ).
  10. Anderl

    Stats system

    You can create a single table for players data. E.g. (TABLE NAME)ServerPlayers: (TABLE COLUMNS)serial STRING, nick STRING, RaceCashINT, Wins INT Then you'd insert something in the table this way: A0B1C2D3E4F5G6H7I8J9K0L1M2N3O4P5Q6, "Anderl", 2049229320, 502 When you need a player wins you select "Wins" where "nick" = NICK_STRING.
  11. Anderl

    Aim

    You're welcome.
  12. Anderl

    Low FPS

    AMD Fusion CPU series aren't made for gaming, they're made for basic stuff like network browsing and such.
  13. It isn't hard to figure out that the DLL is part of MTADiag program so it should go on the same folder where MTADiag.exe is, don't you think so?
  14. Use getPlayerCountry exported function from admin panel.
  15. No, the only way is making your own download manager.
  16. You can't disable download progress bar because it is built-in into MTA. You can make your own download manager, though.
  17. Anderl

    Stats system

    It's pretty easy to use SQL. If you get errors with SQL just ask here how to fix them/what's causing it and we'll help you.
  18. Anderl

    Help ...

    Don't forget to change positions and team name in global variables at the top of the script.
  19. Anderl

    Help ...

    No, you have three errors: 1. There's no "source" parameter, source is a predefined variable in the function and it points to the player who died. 2. You didn't check the team name and the "team" and "Grove" variables make totally no sense. 3. Where is "x", "y" and "z" defined? And what's that "Grove" after "z"? 1- i read the wiki quick .. 2- i will fix it 3- i saw the example in the wiki like that -_-" And grove = My Team .. About the 3 - You forgot the "," then. The code should be like this: local g_szTeam = "YOUR_TEAM_NAME"; local g_pPosition = { 0, 0, 0 }; addEventHandler( "onPlayerWasted", root, function( ) local pTeam = getPlayerTeam( source ); if ( pTeam and getTeamName( pTeam ) == g_szTeam ) then spawnPlayer( source, unpack( g_pPosition ) ); setPlayerTeam( source, pTeam ); end end )
×
×
  • Create New...