Vehicle respawns when...

Started by Xero, March 24, 2012, 22:44

Xero

I've seen suggestions one ideas of cleaning up vehicles when they are left in the middle of the road. I looked around and didn't find this idea, or maybe I didn't look long or hard enough.

When a player leaves the server, times out, reclasses or kills themself inside a vehicle, it should respawn to where it was. I see so many vehicles left on the road based on these 4 events that happen. It would have to be different then when a player gets out of a vehicle they don't or do own because you would lose the vehicle. But when you drive into water sometimes the vehicle more often then not gets respawned automatically.

Regardless of whether you own or don't own the vehicle, timing out, reclassing, killing yourself or just randomly leaving the server (by kick or by purpose) the vehicle you're in should respawn even if there's someone in it or if you own it. Sorry if this has already been suggested in this manner.

$nake

+1 for idea! plus when suspect is jailed, his car owned/unowned should get restored..

Nate

+1 a very helpful suggestion to keep staff from being overwhelmed with restoring vehicles  :OK:
New (newer) laptop specs[spoiler]Laptop: Acer Aspire v3-571g-6602
Cpu: i5 2450M 2.5 GHz (3.1 GHz Boost)
Gpu: Nvidia GT 630m 2gb
Ram: 8gb dual channel DDR3 1600mhz
HDD: 500gb
[/spoiler]

Storm94

When leaving the server, your vehicle does respawn. Thats a SAMP thing...

I'm back, bitches :D

[glow=#282828,10,500]"I dislike Apple, so no." -mick88
"$nake honestly you are one arrogant prick." -Shane0
"The rest of you who I could consider trolls, just go fuck yourself." -Joshy
"TheGame, All I have to say is you complain a lot, and you're probally gonna be an even more arrogant, pompous jackass after this." -RaceRX
"I have a suggestion: Repost this in a respectful manner without caps, silly colors and big fonts, and perhaps someone will give a fuck about your complaint." -mick88
[/glow]

Can't read my quotes? Stop using the white style.

martata14


''Feel my pain, because it is pain, which I wake up every day."- Mike Tyson

Twido



[hide= Just a rule]
Quote from: Mick88
Your friends do not have the authority to allow you to break server rules. ๖ۣۜTωi∂✿
[/hide]


Bruno_2MLG4CT






Credits to our slave Sorin

Quote from: Konali
turtle, you as much an asslicker than everyone else, everytime you get reported, you message me on xfire or facebook

Quote from: Taylor Swift#DemotSurpm

Nitrochegs




<3

Deff

sometimes we need to bring more then 1 cars in the car show.

And then once we bring one, then we /kill and bring another. We need to use /kill so that we can technically teleport to house.

what about that then?

Laur


Xero

Quote from: Deff on March 25, 2012, 16:48
sometimes we need to bring more then 1 cars in the car show.

And then once we bring one, then we /kill and bring another. We need to use /kill so that we can technically teleport to house.

what about that then?

That wouldn't be a problem because the script would only respawn your car if you are sitting in it at the time you do kill or reclass.

Deff

Quote from: Xero on March 26, 2012, 09:35
That wouldn't be a problem because the script would only respawn your car if you are sitting in it at the time you do kill or reclass.

oh! then i dont see any disadvantage with this being implemented.
+1

Concept


Moonwalker

+1 for the idea... :D

and include trailers as well....I saw a lot of trucks with trailers abandoned on load / unload point or in the middle of the road....

Joshly98


TheSandman

When a players logs out/is kicked/banned/times out, all vehicles they own should be restored/unspawned.
Not including ones that have been used by someone else with a password, as they might be using it when the owner logs out.
25/8/11 - 4/10/15: 1502 days of continuous staff duty C:-)

Joshy

In my opinion it's better to stop un-needed vehicles spawning in the first place (ahem $nake with his 50+ cars all with passwords) than despawning them.
[comment]test[/comment]
LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION
Generated using Azure Functions & CloudFlare Workers using the Convoy Trucking API. Updates every around 5 minutes. See the original SVG image. View source code (not updated with function yet)