Jump to content

Question about vehicles


myonlake

Recommended Posts

Posted

Hello,

I am wondering, that does MTA have a script that automaticly destroys all idle vehicles that are used but left idle.

I have downloaded the 'sv' script from community, and I found a timer of it to destroy vehicles. Well I removed it, no errors, everything worked normally.

But something is still destroying my vehicles while they're idle. I am using the default freeroam -resource. Does it have this timer that destroys all idle vehicles? I mean... I am not using vehicles from freeroam 'create', I am using /sv command, but it still keeps destroying my idle vehicles, SO does the freeroam resource delete also all /sv idle vehicles or is there a bug or MTA that does it?

PS.

If I don't search the timers, is it possible to defuse the timer with some other resource that has some kind of script that defuses it. Or does it effect?

If I helped you, please click the like button on the right ;) Thanks!

Posted (edited)
  
function kill() 
killTimer(timername) 
end 
addCommandHandler("kt",kill) 
  

this is what you ask ?

Edited by Guest

Ingame Name : |DGT|Puma

DGT Clan Server 24/7 Owner/Scripter

MultiGameMode in progress :

n-560x95_FFFFFF_FFFFFF_0283C4_000000.png

Posted

Hello,

Both were good examples but it's not respawning the cars, it's destroying them: disappearing just like that.

So, toggleVehicleRespawn wouldn't help me right now.

bandi94, it works, but the problem is that I don't know where the original timer is. I am not sure is it in the freeroam script or not.

I'm gonna post an update here if something works.

If I helped you, please click the like button on the right ;) Thanks!

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...