[FilterScript] cpJobCreator - Create & Delete Checkpoint Jobs ingame - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] cpJobCreator - Create & Delete Checkpoint Jobs ingame (
/showthread.php?tid=608167)
cpJobCreator - Create & Delete Checkpoint Jobs ingame -
Artus - 28.05.2016
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!
Re: cpJobCreator - Create & Delete Checkpoint Jobs ingame -
Amunra - 28.05.2016
Maybe you can Improve your Save System
EDIT : My mistakes xD
Re: cpJobCreator - Create & Delete Checkpoint Jobs ingame -
Artus - 28.05.2016
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?
Re: cpJobCreator - Create & Delete Checkpoint Jobs ingame -
Unrea1 - 28.05.2016
Use SQLite or Mysql (ultimate version). Is very fast.
Re: cpJobCreator - Create & Delete Checkpoint Jobs ingame -
Amunra - 29.05.2016
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 ..
Re: cpJobCreator - Create & Delete Checkpoint Jobs ingame -
aunzconcept - 02.06.2016
why money is not add
Re: cpJobCreator - Create & Delete Checkpoint Jobs ingame -
Artus - 03.06.2016
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.