[DooD]Heavyair Posted June 15, 2008 Share Posted June 15, 2008 didnt think this was really worthy of posting on resources but its pretty cool creates a fog machine inside car so it looks like you have a james bond smoke screen LOL server side script function carsmoke ( player, command ) local vehicle = getPlayerOccupiedVehicle ( player ) local x, y, z = getElementPosition ( vehicle ) local smoker = createObject ( 2780, x, y, z ) attachElementToElement ( smoker, vehicle, 0, 0, -1 ) outputChatBox ( "BURNIN RUBBER! cough cough" ) setTimer ( destroyElement, 10000, 1, smoker ) end addCommandHandler ( "smoker", carsmoke ) it could probably use a way of putting smoke machine in different places depending on what vehicle your in but works ok as is Link to comment
robhol Posted June 15, 2008 Share Posted June 15, 2008 Lol, looks cool. Haven't tried it, but as far as "worthiness" goes; people have tried uploading welcome messages, why not this? ;P Link to comment
[DooD]Heavyair Posted June 16, 2008 Author Share Posted June 16, 2008 i dont know how to post screenshots sorry Link to comment
norby89 Posted June 16, 2008 Share Posted June 16, 2008 you can take screens using F12 and upload them to http://imageshack.us or any other image hosting site and copy the link here Link to comment
[DooD]Heavyair Posted June 16, 2008 Author Share Posted June 16, 2008 cool ill give that a go Link to comment
Cannonball Posted June 16, 2008 Share Posted June 16, 2008 Hey, you mean something like I did at my DKR server? Youtube vid: https://www.youtube.com/watch?v=AU4TTem2iXs Attach FTW! Link to comment
[DooD]Heavyair Posted June 16, 2008 Author Share Posted June 16, 2008 thats wild cannonball LOL same sort of idea but i put it inside the car so it looks like its coming from the underside of car havent had a chance to do screenshot yet but will a soon as i can EDIT ::: SCREENSHOTS! http://www.fileshack.us/get_file.php?id=643769&file=mta-screen0040.png http://www.fileshack.us/get_file.php?id=666744&file=mta-screen0041.png http://www.fileshack.us/get_file.php?id=731873&file=mta-screen0043.png http://www.fileshack.us/get_file.php?id=133847&file=mta-screen0044.png http://www.fileshack.us/get_file.php?id=485693&file=mta-screen0046.png http://www.fileshack.us/get_file.php?id=248831&file=mta-screen0047.png http://www.fileshack.us/get_file.php?id=945346&file=mta-screen0050.png i am considering putting more than one smoke machine in the car for more smoke but when you stop the vehicle or even drive slow it gets really hard to see depending on how close the camera is EDIT 2:::: small update just added extra smoke machine but seems to make quite a difference here u go function carsmoke ( player, command ) local vehicle = getPlayerOccupiedVehicle ( player ) local x, y, z = getElementPosition ( vehicle ) local smoker1 = createObject ( 2780, x, y, z ) local smoker2 = createObject ( 2780, x, y, z ) attachElementToElement ( smoker1, vehicle, 0, 0, -1 ) attachElementToElement ( smoker2, vehicle, 0, -1, -1 ) outputChatBox ( "BURNIN RUBBER! cough cough" ) setTimer ( destroyElement, 30000, 1, smoker1 ) setTimer ( destroyElement, 30000, 1, smoker2 ) end Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now