Jump to content

Lander

Members
  • Posts

    43
  • Joined

  • Last visited

Everything posted by Lander

  1. /me slap himself Well, i got working on the gui, i add a tabPanel and some Tabs, but it doesn't show on the gui Thats all i got function WelcomeWindow () local ventana = guiCreateWindow ( 0.50, 0.40, 0.40, 0.45, "Bienvenido", true ) guiSetVisibe ( ventana, true ) local tabPanel = guiCreateTabPanel ( 0, 0.1, 1, 1, true, ventana ) local tabIntro = guiCreateTab ( "Intro", ventana ) local tabCreditos = guiCreateTab ( "Creditos", ventana ) end addCommandHandler ( "hola", WelcomeWindow )
  2. Well, I want to put a welcome message when someone enter to my server, also i want to put tabs for the rules and credits, and a button for enter (for later to register/login). That all i got function WelcomeWindow () primero = guiCreateWindow ( 0.16, 0.9, 0.1, 0.1, "Bienvenido", true ) guiSetVisibe ( primero, true ) end addCommandHandler ( hola, WelcomeWindow ) I know, i forget the tabs, but i add it later =P
  3. you need to give permission to the script for add accounts (how i sayed you before modify the ACL.xml) PD: im the other guy who is making his own gamemode. It's works, thanks PD: Im still making the GUI, i will make the gui on GUI Editor =P
  4. Thanks, but i got a problem in line 12, the server tell me: Warning registro.lua: access denied @ 'addAccount' - Line 12, and in the client i can't register. It's a bug????? Registro = Register in english And now i'm gonna make the GUI for the first car select. When i finish it, i will put here for the comments Thanks again
  5. Also I put on the ACL And now, how i can put in the code when someone try to register, but the account already exist????? function registerPlayer ( source, commandName, password ) -- Check if the password field is blank or not (only blank if they didnt enter one) if ( password ~= "" and password ~= nil ) then --Attempt to add the account, and save its value in a var local accountAdded = addAccount( getClientName(source), password ) if ( accountAdded ) then -- Tell the user all is done outputChatBox ( "Gracias " .. getClientName(source) .. ", ahora estas registrado, puedes loguear con /login", source ) else -- There was an error making the account, tell the user outputChatBox ( "Error al crear la cuenta, contactese con el administrador", source ) end else -- There was an error in the syntax, tell the user the correct syntax. outputChatBox ( "Error al crear la cuenta, la forma correcta es: /registro ", source ) end end addCommandHandler ( "registro", registerPlayer ) -- add the command handler Thanks PD: I repeat, im from chile, that why some lines are in spanish.
  6. Hi everyone Im going to make a gamemode about RPG Racing, such like the videogame Drift City. Well , the gamemode is inspired in Drift City =P. The trouble is that im not scripter, i follow the wiki of MTA and is examples, but nothing. I have 2 friends that are good scripters, but one said "goodbye" to the project, and the other is making is own gamemode. I know that make a Racing RPG its maybe impossible, but i have the idea to make the most simple possible. First to all, i'm making a register/login system based on the example of the wiki, but the problem is the other system register/login from the MTA client. My friend told me that add the resource to the ACL.xml, but nothing. And the car lot (Grotti, Wang Cars, Otto Cars, Bahn, etc....) in first instance, i choose the Image system, but later i think the setCameraPosition and a Gui for the car selection, but i don't know about coding this script =/ So please MTA coders and LUA experts, help with my project PD: Im chilean, but I study very well english =P Today I got 5.7/7.0 (the highest note)
  7. For example, this stratum it's posibble to change or apply this paintjob in MTA (by coding)?????
  8. It's possible to change the Paintjobs of the cars Elegy, Sultan, Stratum, etc, for custom paintjobs???? A friend wrote this code for me, but he told me who the custom paintjobs don't has especific ID function setupOnePaintjob ( ) txd = engineLoadTXD ( "stratum3.txd" ) engineImportTXD ( txd, 561 ) end addEventHandler ( "onClientResourceStart", getRootElement ( ), setupOnePaintjob )
  9. I need to see the point of the players, where is the file eith the points of th players?????? Thanks
  10. hi, sorry but its not set to show stats for players out of the server. I see, so, where is the .txt file with the score of the players??????? And, there is a way to modify the MTA-PRS1.3.mrc for see the stats of other players in offline?????
  11. Hello again How i can see the stats of the other players, but not to be online?
  12. Any solution for this problem????
  13. The Same problem I have NOD32 Antivirus
  14. Nice script. In the server of One.cl i have this script hosted I have a question I am organizing a competition of MTA, and the winner will be the person who have the biggest score. I need to restart the script, score, the records, the top 3, everything on the server (in the official server of One.cl there will be make the competition), but, i need to not delete the maps register, for example, a map who that is Race, and other who that is Deathmatch. So, what shall I do to restart the script, but not the register of the map? Thanks =)
  15. Map pack added on my server hosted by One.cl Nice maps dude, especially the DD maps =)
  16. Hello Im chilean, so i talk spanish, spanish use some letters and some gramatical issues that the enslish doesn't have, for example The Accent: The "Ñ" letter: In MTA the accent and the Ñ doesn't exist, so i can't say "español" (i have to say espanol) o "en conclusión" (in conclusion, in english) If the team can add the spanish gramatical on the next release, all the hispanics be appreciated with the team Grettings
  17. Hello The community of videogames “http://www.one.cl” is hosting an official server of MTA in Chile, and is the only server in Latin America, and we are ansious to that it leaves the new version. Our problem is that we were host SA: MP, but a hacker screw, for that reason we changed to us to MTA We hoped that we make a good work like community in offering a good server in Latin America, and are well ansious in which he leaves the new version, is but, our users are learning LUA for the creation of a gamemode Greetings from Chile!!!!!!
  18. Hi I host a server on a machine, and the server doesn't appear on the list server I have something that i not configured on the mtaserver.conf ??????? I liberate the ports of the server and the admin panel, but not the ASE Bye
×
×
  • Create New...