30.01.2011, 00:01
Quote:
Hello,
I would like a delivery mini-mission to put on my server. Players get into a car and press the "ACTION" key to start the mini-mission, they drive to ten(10) checkpoints for $5 each, then they drive to the headquarters, pick up more packages and receive $50, the mission keeps restarting every time they return to headquarters until they leave vehicle or press the "ACTION" button again. Addition Features (if you can): -Dynamic Coords (put coords in a seperate file so I can modify the locations at anytime.) -Dynamic Vehicles (put vehicle model ids in seperate file so I can modify which vehicles gets this feature.) You get credits on my server, and I thank you in advance =] |
Its a Filterscript - if you want it as inc I need to change some things
Just edit one of these lines if you want to change the reward or something
pawn Code:
#define D_DELIVER_REWARD 5 //Reward for reaching one CP
#define D_PACKAGES 10 //CPs to absorb for completing one job
#define D_COMPLETE_REWARD 50 //Reward for reaching the HQ after completing the jop
#define D_CHECKPOINT_SIZE 5.0 //The checkpoint size
#define D_FILE_FORMAT "Delivery_%d.txt" //The file format
Note:
First line of file: X, Y, Z of the HQ
Second-Infinity line: X, Y, Z of the checkpoints
pawn Code:
0.0, 0.0, 0.0
5.0, 5.0, 5.0
3.0, 3.0, 3.0
//...