16.03.2015, 21:57
(
Last edited by Smileys; 17/03/2015 at 11:32 AM.
)
Hello there fellas,
Well, I haven't released anything in a while now and I've decided it's about time I finish another one of my half-finished projects.
And yea, this is one of them
What's this?
Remember all the shitty times where you were parking vehicles and using the /save command to place them in your server, and the vehicles wouldn't be perfectly aligned.
Well, those days are over!
With this you can spawn, move, edit, duplicate, delete, save, load, export vehicles in-game!
Yea, I'm pretty sure there are a few out there, but I doubt there's any script that's like mine
Well, I could give you a shitload of text to read to understand what this is, or I could give you a video to watch!
https://www.youtube.com/watch?v=ea0MYsuu7Jo
Macros & Commands
Changelog
Download
IMPORTANT NOTE: Make sure you create a folder called "CarMapper" and inside that folder "exports", or the script will crash and close the server.
So you'll have it like:
Github
Dropbox
Solidfiles
Known bugs
There are currently no known bugs, but if you find any please let me know so I can fix it asap!
Credits
****** -> sscanf and foreach
Incognito -> streamer plugin
Zeex -> zcmd
denNorske, Pottus and dugi -> helping me out with a small issue on IRC
Thanks for reading/watching and enjoy the editor!
- Smileys
Well, I haven't released anything in a while now and I've decided it's about time I finish another one of my half-finished projects.
And yea, this is one of them

What's this?
Remember all the shitty times where you were parking vehicles and using the /save command to place them in your server, and the vehicles wouldn't be perfectly aligned.
Well, those days are over!
With this you can spawn, move, edit, duplicate, delete, save, load, export vehicles in-game!
Yea, I'm pretty sure there are a few out there, but I doubt there's any script that's like mine

Well, I could give you a shitload of text to read to understand what this is, or I could give you a video to watch!
https://www.youtube.com/watch?v=ea0MYsuu7Jo
Macros & Commands
pawn Code:
#define USE_SYNC true // respawns the vehicle after you hit the cancel/finish button so it syncs with the world, disable this if you're mapping on a hill and the vehicle accidentally drives down the hill.
#define MAX_VEHICLES_PER_PLAYER (50) // maximum amount of vehicles 1 player can spawn
#define LABEL_COLOR 0xFFFFFFFF // Vehicle's label color
#define ALLOW_ENTER_VEHICLE false // if you don't want other people to enter the vehicles you mapped, set this to false.
#define RCON_ONLY true // set this to true if you only want RCON admins to be able to use the carmapper
#define DEFAULT_DIALOG (2015) // edit this if your dialogids mess up
pawn Code:
/starteditor -> to open/close the editor
/createvehicle(/cv) -> to spawn a vehicle
/editvehicle(/ev) -> to edit a spawned vehicle
/duplicatevehicle(/dv) -> to duplicate a spawned vehicles, supports x, y, z offsets!
/deletevehicle(/delv) -> to delete a spawned vehicle
deleteallvehicles(/dav) -> to delete all the vehicles you've spawned
/savevehicles(/sv) -> to save your vehicles to the database, so you can load them later
/loadvehicles(/lv) -> to load vehicles from the database
/exportvehicles(/exv) -> to export vehicles to a new .pwn file so you can easily add them to your gamemode.
Code:
Format: DD/MM/YYYY 17/03/2015 -> Optimized code, added /toggleeditor, added MESSAGE_PREFIX, and a few (bug)fixes.
IMPORTANT NOTE: Make sure you create a folder called "CarMapper" and inside that folder "exports", or the script will crash and close the server.
So you'll have it like:
Code:
/root /scriptfiles /CarMapper /exports
Dropbox
Solidfiles
Known bugs
There are currently no known bugs, but if you find any please let me know so I can fix it asap!
Credits
****** -> sscanf and foreach
Incognito -> streamer plugin
Zeex -> zcmd
denNorske, Pottus and dugi -> helping me out with a small issue on IRC
Thanks for reading/watching and enjoy the editor!
- Smileys