[FilterScript] [FS]CarExport-Game [V 1.2] <<<< Bugfix
#1

[FS]CarExport
What is it?

This is a filterscript that contains a CarExport-minigame.
It is highly customizable for rcon-admin.


Your Goal:

Regulary a random car from your gamemode will picked out, and a marker will appear above it.
The players will have to take this car to a specified location somewhere in San Andreas (Default behind WangCars (SF)).
The player who enters the checkpoint first, wins and will recieve the value of the car. (random and customizable).



How does it work:

- When a new game starts, the filterscript will make a loop and pick a random vehicle from your gamemode.
- The FS checks if the modelID of that vehicle is in the 'ExportableVehicles'-array.
- If no, a new random vehicle will be picked out.
- If yes, the FS checks if the picked vehicle is empty, if no, a new random vehicle will get picked out.
- If yes, a yellow marker will appear above that vehicle for all players.
- A random value will be calculated (Between the MinCarValue and MaxCarValue you have configured)
- If a player enters the vehicle, a checkpoint will appear that indicated the Export-location.
- If the player enters the checkpoint with the car within the timelimit, the player will earn the value of that vehicle.
- A new timer will start which will start a new game, with a new vehicle.

Instead of using all vehicles, you can also let the FS chose only custom vehicles.
Therefore you have to change the setting
Код:
new UseCustomVehicles = 0;
to '1'
You can add custom vehicles at OnFilterScriptInit using:
Код:
AddExportVehicle(modelID, x, y, z, angle, color1, color2);
Note:
This Filterscript won't work if you have that option set to '1' but you don't have used AddExportVehicle.


Configuration:

Ingame you can change some settings of this game using a menu.
You can change:
  • Minimum value of a export-car
  • Maximum value of an export-car
  • The time between two games
  • Maximum duration of one game (Roundtime)
  • Location of export-place
  • Size of the checkpoint
  • Do you want to save the settings in a file, yes or no
  • Do you want to use custom vehicles, or do you want to use all vehicles in the server
  • If you're going to use all vehicles in the server, you can add/remove certain model-id's from the array to prevent a non-accesable vehicle (like trailers), boats or planes will get chosen.


    Commands:
    • /settings (Rcon-admin)

    Screens:





    Settings-Menu:




    Download:
    [V 1.2]
    - CarExport.rar [V 1.2]
    (Includes: pwn & amx file + dini.inc & dutils.inc)

    [V 1.1]

    [V 1.0]


    Update-Log:

    [V 1.1]
    - Bug: If players fall of bike, OnPlayerExitVehicle won't get called: Fixed.

    [V 1.2]
    - Bug: If car gets destroyed during game, the game won't restart: Fixed
    - Bug: If car falls in water during game, the checkpoint won't disappear: Fixed


    Other:

    Credits:
    - Royal_Flush (Rksss): Idea (he asked me to make something like this )
    - DracoBlue: Dini&Dutils
    - =>Sandra<=: Rest of this FS

    I know my English sucks, but i hope you understand all this information.
    If you have any questions, suggestions or did you find a bug, please post them here.


    If you're going to use this, please give me credits

    I hope you will enjoy this CarExport-game

    =>Sandra<=
Reply


Messages In This Thread
[FS]CarExport-Game [V 1.2] <<<< Bugfix - by Sandra18[NL] - 06.03.2008, 06:11
Re: [FS]CarExport-Game [V 1.0] - by Blackhawk - 06.03.2008, 06:14
Re: [FS]CarExport-Game [V 1.0] - by hannovd - 06.03.2008, 07:39
Re: [FS]CarExport-Game [V 1.0] - by [LDT]LuxurY - 06.03.2008, 09:57
Re: [FS]CarExport-Game [V 1.0] - by Hannibal_Smith - 06.03.2008, 10:44
Re: [FS]CarExport-Game [V 1.0] - by blewert - 06.03.2008, 10:47
Re: [FS]CarExport-Game [V 1.0] - by Sandra18[NL] - 06.03.2008, 10:52
Re: [FS]CarExport-Game [V 1.0] - by blewert - 06.03.2008, 11:03
Re: [FS]CarExport-Game [V 1.0] - by Numhaken - 06.03.2008, 12:07
Re: [FS]CarExport-Game [V 1.0] - by FujiNNN - 06.03.2008, 12:10
Re: [FS]CarExport-Game [V 1.0] - by Dragon1234 - 06.03.2008, 13:13
Re: [FS]CarExport-Game [V 1.0] - by Pro - 06.03.2008, 13:21
Re: [FS]CarExport-Game [V 1.0] - by Sandra18[NL] - 06.03.2008, 13:22
Re: [FS]CarExport-Game [V 1.0] - by Pro - 06.03.2008, 13:24
Re: [FS]CarExport-Game [V 1.1] - by Sandra18[NL] - 06.03.2008, 13:35
Re: [FS]CarExport-Game [V 1.1] - by Dragon1234 - 06.03.2008, 13:45
Re: [FS]CarExport-Game [V 1.1] - by Sandra18[NL] - 06.03.2008, 13:48
Re: [FS]CarExport-Game [V 1.1] - by Rks25 - 06.03.2008, 15:35
Re: [FS]CarExport-Game [V 1.1] - by Rks25 - 06.03.2008, 16:15
Re: [FS]CarExport-Game [V 1.1] - by Sandra18[NL] - 06.03.2008, 16:28
Re: [FS]CarExport-Game [V 1.1] - by Rks25 - 06.03.2008, 16:35
Re: [FS]CarExport-Game [V 1.1] - by Sandra18[NL] - 06.03.2008, 16:50
Re: [FS]CarExport-Game [V 1.1] - by Rks25 - 06.03.2008, 16:58
Re: [FS]CarExport-Game [V 1.1] - by Sandra18[NL] - 06.03.2008, 17:05
Re: [FS]CarExport-Game [V 1.1] - by Homerman - 06.03.2008, 17:17
Re: [FS]CarExport-Game [V 1.1] - by Dolch - 06.03.2008, 17:39
Re: [FS]CarExport-Game [V 1.1] - by Sandra18[NL] - 06.03.2008, 18:27
Re: [FS]CarExport-Game [V 1.1] - by [IB]Scorcher - 06.03.2008, 21:11
Re: [FS]CarExport-Game [V 1.1] - by Sandra18[NL] - 06.03.2008, 21:31
Re: [FS]CarExport-Game [V 1.1] - by TheRenegade - 06.03.2008, 22:22
Re: [FS]CarExport-Game [V 1.2] <<<< Bugfix - by Gugi The Man - 18.05.2010, 10:39
Re: [FS]CarExport-Game [V 1.2] <<<< Bugfix - by ViruZZzZ_ChiLLL - 18.05.2010, 13:09
Re: [FS]CarExport-Game [V 1.2] <<<< Bugfix - by grovest26 - 30.12.2010, 15:28
Re: [FS]CarExport-Game [V 1.2] <<<< Bugfix - by wizzi - 13.02.2011, 22:24
Re: [FS]CarExport-Game [V 1.2] <<<< Bugfix - by TheRock9222 - 24.04.2011, 09:59
Re: [FS]CarExport-Game [V 1.2] <<<< Bugfix - by §с†¶e®РµРe - 10.11.2011, 04:04
Re: [FS]CarExport-Game [V 1.2] <<<< Bugfix - by RBTDM - 10.11.2011, 04:38
Re: [FS]CarExport-Game [V 1.2] <<<< Bugfix - by Marshall32 - 10.11.2011, 12:22
Re: [FS]CarExport-Game [V 1.2] <<<< Bugfix - by imosek - 28.08.2012, 22:12
Re: [FS]CarExport-Game [V 1.2] <<<< Bugfix - by Rohit12 - 30.07.2017, 13:28

Forum Jump:


Users browsing this thread: 2 Guest(s)