[FilterScript] cpJobCreator - Create & Delete Checkpoint Jobs ingame
#1

cpJobCreator - Create & Delete Checkpoint Jobs ingame

Hello,
this is my first filterscript I have ever written.
With this filterscript you can create and delete Checkpoint Jobs ingame easily.
There is no need of only doing one job. Everybody can do every Job created by this script.
The players always can switch between this jobs. They just have to run to the specific Job-Pickup.


Commands:
Код:
/cjob - Create a new Job
/abjob - Abort creating a new Job
/deljob - Delete an existing Job
/cphelp - Shows you some commands
/start - Starts a Job
Commands only needed while creating a new Job (will be displayed ingame)
Код:
/vsave - Saves the position of the Job Vehicle
/psave - Saves the position of the Job Pickup
/cpsave - Saves the position of a Job Checkpoint
/cpfinish - Finishes the Job Creation
Tutorial - Creating a new Job
1.) Login as RCON
2.) Use /cjob
3.) Follow the instructions
4.) Finish

Tutorial - Deleting a Job
1.) Login as RCON
2.) Use /deljob (If you are close to a Job that Job will be deleted!)
3.) else enter the Job-ID in the Dialog

Media (*******)
https://*********/cThd8meb4l8


Download

Pastebin

Solidfiles (script only)

Solidfiles (full)


Installation:
1.) Put the script into your filterscript folder
2.) Edit the Money-Code in the Script
3.) Compile the filterscript
4.) Edit your server.cfg
5.) Create a folder "Jobs" in your scriptfiles folder
Please report any Bugs in this Thread!
Reply
#2

Maybe you can Improve your Save System

EDIT : My mistakes xD
Reply
#3

Quote:
Originally Posted by Amunra
Посмотреть сообщение
Maybe you can Improve your Save System

EDIT : My mistakes xD
I wanted to create it without many includes. Which saving system do you recommend?
Reply
#4

Use SQLite or Mysql (ultimate version). Is very fast.
Reply
#5

Quote:
Originally Posted by LatinZ
Посмотреть сообщение
Use SQLite or Mysql (ultimate version). Is very fast.
Agree.. Maybe it's so Hard to u and too me xD .. Try to use Y_INI First ..
Reply
#6

why money is not add
Reply
#7

Quote:
Originally Posted by aunzconcept
Посмотреть сообщение
why money is not add
You have to edit the script first. I took out the part with the money because you should connect the filterscript with your gamemode. The filterscript has to call a Function of the Gamemode which increases the player money.

I scripted this way for AntiCheat. The Player would be banned by the AntiCheat-Scripts.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)