Danz Posted January 1, 2015 Share Posted January 1, 2015 Yo everyone, i was amazed by the feedback on my last resource that i went out and made this one, these are what most people call, Car Spawners. Let me jump into this. This resource adds vehicle spawning markers to every hospital in San Andreas. To use it, just go to a marker in whatever hospital, walk into it, and spawn your vehicle, really easy. What does this do? -Well first of all this script uses tables to store vehicle names in them, check spawner_c.lua to see more. -This resource spawns vehicles that are selected in the gridlist when you are in the appropriate marker. What is the purpose of this? -This script was intended for roleplay servers that want vehicle spawners in front of every hospital. Installation Guide: -Step 1: Locate your MTA San Andreas Folder. -Step 2: Open your downloaded Zip File. -Step 3: In your MTA Folder head over to your resources folder, which should be server\mods\deathmatch\resources. -Step 4: In the resource folder, just drop the Zip file in this very folder. -Step 5: Head into your server, press F8, and type "refresh" without the ". -Step 6: Then type start -Step 7: Enjoy. NOTE: I didn't copy this script from anybody. NOTE2: You are free to edit this script as long as you keep the credits. NOTE3: I forgot to add a screenshot to the script on the community. TIP: To add more vehicles, just add the names in the table, and do some copying and that's it (Idk if i explained that normally lol) Screenshot: http://postimg.org/image/onpvjubhb/ -Version 1.0 First Release. --Plans for future versions: -To add a command to destroy the spawned vehicle. Download Link: https://community.multitheftauto.com/in ... s&id=10686 If you liked this script, please, give me some feedback and maybe even suggestions on what to do, this is the second big thing i made by now. Im out. Peace Link to comment
LaCosTa Posted January 1, 2015 Share Posted January 1, 2015 Good work , also you can check mine if you want take a look at it . Click Me Link to comment
xeon17 Posted January 1, 2015 Share Posted January 1, 2015 Good job i like it , but next time you should use DX instead of GUI. Link to comment
Danz Posted January 1, 2015 Author Share Posted January 1, 2015 ughh, i'll give DX a try, since i never used it... but thanks for the feedback guys. Link to comment
Mr_Moose Posted January 1, 2015 Share Posted January 1, 2015 As you're using a grid list, it's kind of pointless to use 5 different event's to trigger server side, vehicle names are already in the grid list and can be passed to the server side part and then converted into an object id using: int getVehicleModelFromName ( string name ) Except for that the code is clean and the documentation well made. Link to comment
Danz Posted January 1, 2015 Author Share Posted January 1, 2015 Thanks for the tip Mrb, i'll include it in the next version Tho the problem is i'm still a newbie in scripting so, i will have to learn some more, thanks anyway. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now