[LUA Scripting Question] Deactivating a vehicle in game?
2 replies, posted
Hello there facepunch users! I would like to know something... I can deactivate a vehicle in gmod using LUA? I mean... no sound, no moving when pressing FORWARD or BACKWARDS, etc. It's for when a vehicle is off/out of fuel/wrecked.
Thanks.
do
[lua]Vehicle:Fire('turnoff', '', .5)[/lua]
[QUOTE=Baig Flawless;40527654]do
[lua]Vehicle:Fire('turnoff', '', .5)[/lua][/QUOTE]
WOW! Seriously I just have to do that!? It's more easier than what I thought!
Thank you man, I appreciate your help.
Sorry, you need to Log In to post a reply to this thread.