Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Castillo

    Problems

    Well, just start a normal server and put as starting game mode the map editor? which I think the main resource is "editor".
  2. 1. how to add maps from [map editor] - To add maps you just go to your map editor directory and copy & paste it to your server resources folder. 2. how to add vehicles and skins to my server.[ so other players also can see and use the added things] - You need to use the engine functions to load vehicles, skins, weapons, etc.: https://wiki.multitheftauto.com/wiki/Cli ... _functions 3. Add mods and script login Box. - You may search in the: MTA Community for resources, there are a lot of login GUI's.: https://community.multitheftauto.com/ 4. need someone that can do all kind of scripting, like a local chat and safe zones. - I doubt you'll find someone with high scripting experiencie to work for free or for admin rights, I would suggest offering money. Apart from that, Good luck with your server .
  3. Castillo

    Hello

    Welcome to the LUA world! I hope you find MTA a lot better than SA-MP.
  4. Castillo

    NEED Scripter

    1. how to add maps from [map editor] - To add maps you just go to your map editor directory and copy & paste it to your server resources folder. 2. how to add vehicles and skins to my server.[ so other players also can see and use the added things] - You need to use the engine functions to load vehicles, skins, weapons, etc.: https://wiki.multitheftauto.com/wiki/Cli ... _functions 3. Add mods and script login Box. - You may search in the: MTA Community for resources, there are a lot of login GUI's.: https://community.multitheftauto.com/ 4. need someone that can do all kind of scripting, like a local chat and safe zones. - I doubt you'll find someone with high scripting experiencie to work for free or for admin rights, I would suggest offering money. Apart from that, Good luck with your server .
  5. Castillo

    Problems

    Maybe that's because you are creating it wrong. P.S: Random numbers ? that would make the radar area in nowhere......
  6. Castillo

    Problems

    That's not the SIZE, that's the POSITION, and you get it from getElementPosition function.
  7. Castillo

    Problems

    The size is the one you wish it to be.... it's pretty much a stupid question, my opinion.
  8. You should tell us what the error says, don't you think?
  9. RaceXtreme, what Qwert did is replace the original getPlayerName with his own, so, yeah, it's possible.
  10. It's already loading the 'play' game mode at startup.
  11. guiSetVisible can be used in EVERY GUI element, not DX drawing though.
  12. Do you mean teams for particular accounts, acls? or even serials.
  13. CaPy, I would suggest you to read the wiki more often, onClientPlayerQuit does exists. Proof: https://wiki.multitheftauto.com/wiki/OnClientPlayerQuit But, is not triggered for the client who quited, it's triggered for everyone but the quitting player.
  14. I guess LSOD is the screen that appears saying "Loading..." when you go into weird places, i.e, highly under water.
  15. I'm wondering... why didn't the customers upload the server files by their own?
  16. function color (veh, r1, g1, b1, r2, g2, b2) setVehicleOverrideLights(veh, 2) setVehicleHeadLightColor(veh, r1, g1, b1) setVehicleColor (veh, r2, g2, b2) -- esto solo lleva 3 argumentos si usas R, G, B. end addEvent ("colores", true) addEventHandler ("colores", root, color) Proba eso.
  17. Well, then you should start learning, we won't give you the whole script. https://wiki.multitheftauto.com/wiki/Scr ... troduction
  18. Then, you'll need to trigger an event from the admin panel, like "onPlayerChangeTeam", and use it on a separate resource.
  19. You'll need to make a system to achieve this, how are you setting teams?
  20. What are you talking about? what has money to do with account deletion?
  21. Does that meta.xml even work? it's a mess o_O. <meta> <info type="script" version="1.0" author="tim"/> <file src="textures/billbrd01_lan.txd" type="client"/> </meta> type goes after src.
  22. E-mail, that would be the same. Omise, maybe if you set a timer of one second after resource started.
  23. Replace your "play" resource with the 1.0.5 one, or just remove all random spawn points and add this one. Spawnpoints are placed in "play/broph.map".
  24. I would suggest using onVehicleStartEnter, then you can cancel the function before being executed. militaryVehicles = { [523]=true,[598]=true,[596]=true,[597]=true,[490]=true } copTeams = {["Military"]=true,["Naval"]=true} function copenterVehicle ( player, seat, jacked ) if ( militaryvehiclesVehicles[getElementModel ( source )] ) and ( not copTeams[getTeamName(getPlayerTeam( player ))] ) and ( seat == 0 ) then outputChatBox ( "You aren't a Military Officer , you mayn't drive this.", player ) --and tell the player why cancelEvent() end end addEventHandler ( "onVehicleStartEnter", getRootElement(), copenterVehicle )
×
×
  • Create New...