Harum
     


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