Jump to content

Blast3r

Members
  • Posts

    310
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Blast3r

  1. Server has closed down as the project failed, sorry.
  2. Let's go strong in 2021 fellas, keep up the hard work!
  3. Update 1.2.6 is now live! Features Area of Play, ability to mod gun sounds, Halloween Event & more! Full changelog can be found here!
  4. We're more than happy to announce that AG:RP will open it's doors to public on Friday, April 17 at 21:00 GMT+2 (20:00 for faction leaders)! For more information please read our release date announcement thread.
  5. Illegal roleplay rules are now live so if you're interested in illegal roleplay it is strongly advised to read the thread on our forums.
  6. Server's economy concept thread is now live on our forums!
  7. Recently teased image on our Discord: For more teasers like these make sure to join our discord server.
  8. If you mean server sided car mods then no but if you mean custom handlings with IRL car models then yes.
  9. Feature showcase #3 - Express Courier Job details are now live on the forums.
  10. 1: Well the code is cleaner, I'm not sure if the way you did it is wrong or not, think that the biggest issue you had was the mixture of element naming in your initial code. 2: "return" stops the code from going any further / being read any further, if you don't need rest of the code (in this example you did what you needed, sent the message to the player and didn't execute the teleport, no need for the code to try and see if the next elseif statement will become true) 3: As for getting the elements right, there isn't exactly a tutorial elements for dummies as far as I know, it's just something that you'll figure out as time passes by, just make sure to keep using the pre-defined by MTA elements or the element names you defined in the function, example function code ( elementA, elementB ), elementA and elementB are the ones you defined yourself. And yeah, your understanding is pretty much right on the last snippet you posted.
  11. Basically as _Ace mentioned == true and == false is the wrong way of checking the vehicle. inFourD = createMarker (2019.76953125, 1007.0116577148, 9.7203125, "cylinder", 1, 255, 0, 0, 153) function inFourDragons (player, matchingDimension) if ( source == inFourD and getElementType(player) == "player" and isPedInVehicle(player) ) then outputChatBox("#D2691E[#FF7F50INFO#D2691E]#FFFFFF: No se permiten vehículos dentro.", player, 0, 0, 0, true) return; -- this return isn't completely necessary but it simply stops the rest of the code being read / checked unecessarily. elseif ( source == inFourD and getElementType(player) == "player" and not isPedInVehicle(player) ) then outputChatBox("#D2691E[#FF7F50INFO#D2691E]#FFFFFF: Ingresaste al casino '#DD0000Four Dragons#FFFFFF'.", player, 0, 0, 0, true) setElementInterior (player, 10) setElementPosition (player, 2016.9376220703, 1017.0843505859, 996.875 ) setElementRotation (player, 0, 0, 90) end end addEventHandler ("onMarkerHit", getRootElement(), inFourDragons) Try that code. EDIT: As for the invisible world, are your map objects set to interior 10?
  12. He's actually deleting the custom sound to create a custom sound again so you don't get multiple sounds created at once, original sound is already deleted with the "setWorldSoundEnabled" code and no longer needs to be deleted again as it's done so when the resource is loaded to the client. "Weapon" equals to weapon id which is defined in the weapons table, basically the event onClientWeaponFire ( weapon ) returns the weapon ID that's used by the player, so if for example the player has a colt-45 then the "weapon" variable will return 22, which you have a check for in the "weapons" table, the [22] in the tags. "Client" is only used on serverside to get what client actually triggered the event, for more understanding of those please read the "predefined variables" which can be found on this link: https://wiki.multitheftauto.com/wiki/Predefined_variables_list
  13. Alright, I'll answer some of the questions. Why do you destroyElement before creating a new one? - Whenever a player shoots you delete the sound that was previously played and create a new one to avoid multiple sounds being created at once, basically overlapping each other when they shouldn't. What is sound3d, why do you play from it when you didn't define it? - Look in the function, the function is named Sound3D then a table with "weapons" is created in which he posted the weapon 22, in this case the colt as well as the co-responding sound path to it. Now once you use the weapons [ weapon ] in the Sound3D the function itself will read the file path from the table that OP has posted. Basically what he did was make a seperate function that is somewhat of a replacement for the "playSound3D" in a way that it is further extended to the point that it can actually read data from your table making it easier for you to just simply add new data to the table rather than editing the entire function with, let's say, for example, "elseif" statements where you'd check all possible weapons. He does not need to define the sound3d variable because he already did so as a function arguement - "function Sound3D ( shooterPed, sound3d )" pedSounds is empty because it creates a new table, this way you can actually attach the source (in this case the shooting player) to the table so that each sound definition is unique, meaning multiple sounds won't be created under 1 variable which would cause multiple sounds being stuck to 1 variable as "destroyElement" would just destroy the latest defined sound to it and ignore all the sounds that were previously added to it. (see Lua's table definitions here to learn more about tables: https://www.Lua.org/pil/3.6.html ) Basically all you need to do now to add more sounds is update the table that OP has posted, here's an example: local weapons = { [22] = "sounds/Colt45.wav", [30] = "sounds/AK-47.wav", } This basically adds the AK-47 sound to the table as well, obviously you'd need the file to load from. After that the script will check if the shooting player has weapon ID 30, if so, it'll read from the table and play the sound from ID 30 which is defined in the [ ] tags.
  14. Feature showcase #2 - Impound System details are now live on the forums.
  15. Feature showcase - Vehicle plate system details are now live on the forums.
  16. We're currently seeking for faction leaders for the following factions: Los Santos Police Department Los Santos Fire Department Los Santos Towing & Recovery Mechanic workshop (vacant name - to be decided by applicant) If you're interested then please make sure to read our requirements and apply on our forums. And last but not least, Administrator applications are still open! Fore more updates, discussions and random talks with our community feel free to join our Discord.
  17. Administrator Applications are now open until the upcoming Sunday, 16 February, if you're interested in becoming one of our staff members please visit our forums: http://forum.mta.advanced-gaming.org/viewforum.php?f=6
  18. Our forums are now up, feel free to visit them by clicking here.
  19. A little sneak peak posted by @tosfera on our Discord channel of something that's still WIP: For more updates & sneak peaks such as these please make sure to join our Discord channel and keep yourself up to date with the community at all times.
  20. Hi there, everyone! We've been working hard on yet another update, since you're all stoked to hear about it, here goes: Finished rewriting the Express Courier (trucker) job For everyone that have played before, you will probably be happy about this. The job was way too complicated for most people, huge vehicles all over the roads and it was rather confusing. We've rewritten it entirely to make it a lot more userfriendly and easy to use. UI changes We've implemented a few new features in the UI system which were required to take the job selection screen to the next level! Which means that we've got 2 new reusable UI elements at our disposal for GUIs. We've used the new element in the redesign of the Job Selection screen, which has been rewritten. Map changes We've created 3 new maps for the All Saints Hospital which got a new parking lot, a new entrance hall and an entire new interior Things that get you moving! Over 40+ new vehicle handlings have been created, featuring old vehicles like a '69 Dodge Charger RT 426 V8 Hemi to a 2015 Bugatti Veyron. Which means we've now got over 180+ different vehicles, something for everyone! Besides that we got some other exciting news! We've been through 2 closed beta tests and have resolved quite a bit of feedback to take things up a notch. The system will be properly tested and easier to use thanks to these tests, special thanks to the team of beta testers! We've also resolved over 25 bugs in the meantime, which means we're getting closer and closer to launching. Stay tuned to get more news about the forums we're setting up, since they will play a vital part in your character's story and/or company! For more updates such as these please make sure to join our Discord channel and keep yourself up to date with the community at all times.
  21. Advanced Gaming Roleplay - Innovation With Every Interaction About We hear you, “another role-play server? Guess it’s an edit again” – but that’s not the case. Advanced Gaming is, back again, getting things ready to provide our loyal players with what we do best: next level scripts with a nice balance between realism and fun in each and every script. With at least 10 years of experience on the MTA platform and countless sleepless nights, we present to you: A role-play script written from scratch! If you remember us from back in 2015, hi there! If you don’t, no worries. We’ve been here before and life got in the way, we took over a project (SAPD:FR) which required less of our attention and made it possible for us to get a few things straight as a community but also in our personal lives. Now that we're back we're more than ready to finally put full dedication into this project and bring you guys a brand new twist into the MTA:SA Roleplay scene with a brand new script with some never before seen features, so without further ado let's go on with what we have to offer! Features Since a role-play gamemode requires constant changes, new features and removal of features... we’re not going to list all of our features (we know, it’s a lot, we all hate reading). To give you a glance of what we got to offer, we would love to invite you to our server and just give it a shot (when it’s released), if you want to know what our deal is, here’s a glance of what we got to offer: Realistic Vehicle System: We've put countless hours into the details of our vehicle system which allowed us to implement numerous hidden features which we will not yet release to the public, they'll sure blow your mind when you find out about all of it. After hours and hours of study and at least 4 years of experience we've made a perfect balance between the game's engine and physics system to carefully recreate real-life vehicle models in-game regarding handlings which includes top speeds, accelerations, realistic fuel tank capacities and consumptions. FPS-friendly UI: We’ve written our very own custom GUI (graphical user interface) system to create windows, labels, images and what not with ease without frying your CPU and GPU. Balanced Economy: Our economy has been built in a way to promote player to player interaction. How so? Simple, you can forget about getting rich by doing the default jobs, if you want to get yourself some more cash then you're simply going to have to join one of many player ran companies or perhaps even go down the dark path and join a gang? That's up to you, we won't tell anyone and especially not the cops! Jobs and companies, how do they work?: Simple, the entire server will be running on companies instead of default jobs. The default jobs have been made useful for new players (deliveries from our very own storage units, a government funded bus or a taxi driver) but the real fun starts with real people, in real companies. Hurr Durr I’m a big guy on another server, can I..: let me stop you right there, we don’t care about your previous progress on other servers, your entire track list of bans and offenses. Everyone is fair and square as a new player on our server, no advantages and no labels. Items and products: From snacks to meals, from coca-cola cans to glasses of wine, property keys to theory certificates. We've got it all built in with effect, if any. Users are able to purchase some items, other items have to be earned. You'll get a theory certificate after completing your theory for a driving license, a receipt after purchasing something or an empty can after drinking your coca cola. Illegal activities / gameplay: It’s a tough scene, you want to start your own gang or clap your neighbors, we get it. Since the illegal role-play defines or breaks a server, we’re taking close care of the scene with constant monitoring with a team of people. Guns will be distributed passively, drugs will be taken care of (and tested before distribution…). In the trash(bin)! Attention to detail in every script, want to get rid of the annoying receipt you recieved from the store and don't even need it? Simply throw it into one of the many trash bins present around town and let the garbage collectors take care of your junk for you! Police & Criminals: Tired of officers having super cars, heavy duty weapons like AR-15 or server owner-run departments? So are we, which we why we've given the department normal vehicles with fitting handlings which decreases their advantage, increases the experience of both roleplaying as well as the thrill of being a criminal or officer. They're forced to think tactically and plan their actions, their equipment is distributed on a monitored basis to only the higher ranks in the department where we see fit. Giving the illegal roleplay scene space to grow and feel alive And much more!: You want more? We got more! Two number 9s, a number 9 large, a number 6... oh, you meant features? We have a tight schedule of daily bugfixes, weekly updates and weekly announcements regarding progress. Want to see what we're made of? Check us out.. when we've launched! (sorry, I know..) Screenshots Note: This is still Work in Progress, final product may look different! DMV System Trash Bin System Shopping Vehicle Plate System Other Where to find us? Since we’re still getting things ready, you’re more than welcome to join us on our discord server. We’re working on the forums, lots of script changes and making sure that you’re getting something new and fun, rather than just another edit. Server IP: Coming soon! Website: Coming soon! Forums: https://forum.ag-rp.org/ Discord: http://discord.ag-rp.org/ Launch Date: Upcoming Winter (Q4 2024 or Q1 2025) Note: This thread was written using the Dark Theme, if you spot any issues on the default theme please let us know!
  22. That's already a thing, you just need knowledge on how to setup a server.
  23. Nice to see the 31.8k playerbase figure on December 15, just some solid proof that GTA:SA is still not ready to die. Keep it up guys and happy holidays!
×
×
  • Create New...