09.06.2015, 11:28
Farmer Job
Script by Gasman
Features:pawn Code:
|------------INFOMATION---------------|
| SCRIPT NAME: Farmer Job Beta1 |
| Author : Gasman(NhatNguyen) |
| Credits :+Team SA-MP for SAMP |
| +Incognito for Streamer plugin |
| +Zeex for ZCMD |
| Version Language: English |
| sorry for my very bad English |
|-------------------------------------|
Please don\'t remove the credits and author
pawn Code:
*Sowing
*Harvest
*Transport
*Sprinklers (in next update)
*Etc(Pickup/drop/key)
pawn Code:
/*---------------------------------SCRIPT EDIT---------------------------------*/
/*
FJ Pos hire vehicle is positions to rent vehicle
FJ Pos Get paddy sack is positions to get paddy sack
FJ Transport is positions to transport paddy
Time_Updatepaddy is time paddy grow default is 5000ms(5s)
*/
#define MAX_PADDYS 100
#define FJPosHireVehicle -123.0217,-32.4668,3.1172
#define FJPosGetPaddySack -102.7191,-35.4960,3.9605
#define FJPosTransport 1350.87219, -1771.08533, 12.48870
#define FJAreaPos -273.4105,-60.5778,-122.2512,60.6611//minx,miny,maxx,maxy
#define DIALOG_FJHIREVEHICLE (2322)
#define DIALOG_FJGETPADDYSACK (2323)
#define DIALOG_FJUNHIREVEHICLE (2324)
#define TIME_UPDATEPADDY (5000)
/*-----------------------------------------------------------------------------*/
*Install
-Put "eng-farmerjob" to folder \'filterscripts\' and complie it
-Open server.cfg and add "eng-farmerjob" in line filterscripts
-Download Plugin Streamer and put streamer.dll(windown) or
streamer.so(linux) to folder \'Plugins\' add "streamer.dll" in line plugins (if no have write this line)
pawn Code:
filterscripts eng-farmerjob
plugins streamer
pawn Code:
Key and Command
CMD:transport to get checkpoint transport
CMD:info to show infomation
(\'Y\') to show action(dialog rent vehicle/get paddy sack
(\'LATL\') On foot to put paddy sack on hand to trailer
(\'LATL\') In vehicle to (Sowing/harvest)
(\'N\')to pickup or drop Sack
(\'H\') to add/remove paddy harvers sack in vehicle or Selling paddy harvest sack at point transport
Video #1 (Sowing and Harvest)
[ame]http://www.youtube.com/watch?v=P6ALwNh_4dc[/ame]
Video #2 (Transport)
[ame]http://www.youtube.com/watch?v=zJvm3yPPBFQ[/ame]
Download
BETA 1:https://github.com/gasmanvnn/SA-MP/b...-farmerjob.pwn
Road Map:
pawn Code:
Sprinklers
Dynamic Positions
Save/Load when player disconnect