Login
    |

[Resource] Smoke Machine
 
Post new topic   { POST_REPLY_TOPIC }    SKC MTA Server Forum Index -> DD & DM Servers
Previous topic :: Next topic  
Harum
2nd place in Race championship March 20093rd place in Race championship October 2009Winner of Race championship November 20092nd place in Race championship December 20093rd place in Race championship January 20102nd place in Race championship May 2010

User avatar

Joined: 25 Sep 2007
Posts: 362
Location:


Posted: 29 Nov 2009, 13:19    Post subject: [Resource] Smoke Machine

This resource allows you to attach a smoke machine to the back of your vehicle. After a configurable delay (defaults to 20 seconds), the smoke machine will be removed.

Use the command /smoke to activate it; a default key bind to this command is defined in "sub_mission" (normally the '2' key on keyboard setups). To avoid conflicts with aircraft landing gear, the smoke machine is only enabled for cars.

An additional feature allows you to drop a variety of objects in your vehicle's wake. The syntax for this command is /drop <objectname>, where <objectname> can currently be one of the options: barrel, boulder, boxes, crate, dumpster, haypile and barrier.

A basic inventory system limits the number of objects that each player can drop, while two exported functions will help build a persistence mechanism around it.

, or .
Top
Profile Send private message
Display topics from previous: Sort by
Post new topic   { POST_REPLY_TOPIC }    SKC MTA Server Forum Index -> DD & DM Servers



Using mChat © phpBB3BBCodes.com
Powered by phpBB © 2001, 2005, 2007 phpBB Group
cron