Jump to content

[REL] Vehicle Spawner


Smart.

Recommended Posts

Simple vehicle spawner resource. You can either make the vehicles free for all or just for a special role (using getElementData, what data to use is configurable)

Reason to why I'm releasing this: I've seen several threads about people making a resource like this but they have been really weird and a new marker for every vehicle and blabla

Features:

Set R, G, B color of the vehicles and the marker.

Add more than 1 vehicles (no limit)

Vehicle gets destroyed whenever you disconnect/die/logout

Also a /destroyv command for the client to destroy his/her own vehicle.

/dv playerName command for admins to destroy a players spawned vehicle.

Ability to use an export to see whether a vehicle element is a spawned/job vehicle or not.

Ability to use an export to get the vehicles owner (obviously only for the spawned vehicles)

Ability to destroy a vehicle using an export

Screenshots:

http://puu.sh/1trKO

http://puu.sh/1trKR

http://puu.sh/1trKX

http://puu.sh/1trLA

Download: https://community.multitheftauto.com/ind ... ls&id=6039

Usage:

exports.vehiclespawn:isVehicleSpawned(vehicleElement) 
exports.vehiclespawn:doesPlayerHaveVehicleSpawned(player) 
exports.vehiclespawn:destroyVehicle(player, vehicleElement) 

Edited by Guest
Link to comment

dawg never ever make less of your script than what it's worth by blaming your laziness

being lazy is not a virtue and admitting that you think of your behaviour like that does not entitle you to any reward

take some pride, dag

also judging by the screenshots its pretty nice kutgw

Link to comment
dawg never ever make less of your script than what it's worth by blaming your laziness

being lazy is not a virtue and admitting that you think of your behaviour like that does not entitle you to any reward

take some pride, dag

also judging by the screenshots its pretty nice kutgw

The script was actually done couple of days ago so my lazyness did not affect the actual script in any way except from the meta. And if you doesn't bother to add 3 lines into a file then who's the lazy one?

Link to comment

Well, this is your presentation of your resource. You spent your time working on this nice resource, but in your presentation to your potential users (in a way customers, really) you tank it by saying "Hey, another cool feature: this resource supports calls from external scripts, but you have to do these things to get them working. I could do it for you, and for every other one of my customers, but I'm not going to. Because I'm lazy." Please understand that I don't intend anything else than reflecting to you how this addition to your presentation seems to me. Just a little bit of feedback.

Link to comment
  • 4 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...