SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Thread Tools Display Modes
Old 05/06/2016, 06:23 PM   #1
Big Clucker
rootcause's Avatar
Join Date: Feb 2015
Location: /
Posts: 115
Reputation: 188
Default Lumberjack Job


You can cut trees and load the logs into your Bobcat, then sell them to Log Buyers.

To cut a tree, you must go near one and press N while holding a chainsaw. You can buy a chainsaw from Log Buyers using /chainsaw command.


#define CUTTING_TIME - Time required to cut a tree, in seconds. (Default: 8)
#define LOG_LIMIT - How many logs can players load to a Bobcat. (Default: 10)
#define ATTACH_INDEX - SetPlayerAttachedObject index for the log object, you can change it to avoid conflicts if you get any. (Default: 7)
#define TREE_RESPAWN - Time required to respawn a tree, in seconds. (Default: 300)
#define LOG_LIFETIME - Life time of a dropped log, in seconds. (Default: 120)
#define LOG_PRICE - Price of a log. (Default: 50)
#define CSAW_PRICE - Price of a chainsaw. (Default: 500)


/chainsaw - Allows you to buy a chainsaw from Log Buyers.

/log - Has 5 options which are load, take, takefromcar, takefromtree and sell.
-> /log load Loads the log you're carrying into a Bobcat.
-> /log take Takes a log from the ground.
-> /log takefromcar Takes a log from a Bobcat.
-> /log takefromtree Takes a log from a cut tree.
-> /log sell Sells the log you're carrying to a Log Buyer.

N Key - Drops the log you're carrying.

RCON Only:

Tree Related:
/createtree - Creates a tree on your location.
/edittree [tree id] - Allows you to edit the specified tree's position.
/removetree [tree id] - Removes the specified tree.

Log Buyer Related:
/createbuyer [skin id] - Creates a log buyer on your location.
/setbuyerskin [buyer id] [skin id] - Changes the specified buyer's skin.
/setbuyerpos [buyer id] - Changes the specified buyer's position to your position.
/removebuyer [buyer id] - Removes the specified log buyer.


* This script doesn't create any Bobcats, you have to add them.
* If you're getting compile errors, make sure you're using the latest versions of everything.


Emmet_ for Extended vehicle functions (although he removed the pastebin in the thread, you can get it from here)
[HLF]Southclaw for Progress Bars v2
Slice for SQLite Improved
Incognito for Streamer Plugin
Yashas for Improved ZCMD
Y_Less & maddinat0r & Misiur for sscanf and YSI.


All Releases | YouTube

Last edited by rootcause; 05/07/2016 at 05:52 PM. Reason: video re-added
rootcause is offline   Reply With Quote
Old 05/06/2016, 06:23 PM   #2
Big Clucker
TopShooter's Avatar
Join Date: Jan 2016
Location: Unknown
Posts: 85
Reputation: 88
Default Re: Lumberjack Job

Nice one
TopShooter is offline   Reply With Quote
Old 05/06/2016, 06:42 PM   #3
Mijata's Avatar
Join Date: Mar 2014
Location: Serbia
Posts: 638
Reputation: 8
Default Re: Lumberjack Job

Oh really nice.
Mijata is offline   Reply With Quote
Old 05/06/2016, 06:57 PM   #4
Big Clucker
Stev's Avatar
Join Date: Oct 2013
Location: United Kingdom
Posts: 114
Reputation: 15
Default Re: Lumberjack Job

"Yet another" Good system, Great work pal.
Stev is online now   Reply With Quote
Old 06/06/2016, 01:13 AM   #5
Huge Clucker
Dice_'s Avatar
Join Date: Sep 2015
Location: Indonesia
Posts: 406
Reputation: 48
Default Re: Lumberjack Job

It's really nice!
Dice_ is offline   Reply With Quote
Old 06/06/2016, 01:18 AM   #6
Posts: n/a
Default Re: Lumberjack Job

Where do u get your inspiration from? GoodWork..
  Reply With Quote
Old 06/06/2016, 01:42 AM   #7
Amunra's Avatar
Join Date: Nov 2015
Location: Indonesian
Posts: 527
Reputation: 12
Default Re: Lumberjack Job

Nice Again and Again .. Uhh So Sweet..
Legendary Criminals

Amunra is offline   Reply With Quote
Old 06/06/2016, 05:05 PM   #8
Little Clucker
Deniz1467's Avatar
Join Date: Aug 2012
Location: Republic of Turkey
Posts: 41
Reputation: 3
Default Re: Lumberjack Job

Best stuff ever, keep it up bud
Deniz1467 is offline   Reply With Quote
Old 06/06/2016, 05:28 PM   #9
PrO.GameR's Avatar
Join Date: Oct 2012
Posts: 739
Reputation: 121
Default Re: Lumberjack Job

Wow you are active lately! Scrapping your server project and releasing parts? or just bored and creating random things?
n1 either way.
Blueberry Prison Roleplay will be back soon!
Follow the forums for more information about opening day.

PrO.GameR is offline   Reply With Quote
Old 06/06/2016, 05:33 PM   #10
Little Clucker
yarakstyle91's Avatar
Join Date: May 2016
Posts: 8
Reputation: 0
Default Re: Lumberjack Job

imagination life is your creation
wp kid 5-Star
yarakstyle91 is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lumberjack Job help[rep] GeorgeMcReary Scripting Help 3 05/05/2016 01:56 PM
[JOB] Lumberjack mirza1221 Screenshots and Videos 2 04/09/2014 11:04 PM
Lumberjack B-Matt Screenshots and Videos 2 14/04/2014 05:05 PM
LumberJack ToX1c Romānă/Romanian 2 15/01/2014 02:04 PM
IM-RP: Lumberjack job. kvann Screenshots and Videos 8 21/11/2013 01:09 PM

All times are GMT. The time now is 09:35 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.