[FS]CarExport-Game [V 1.2] <<<< Bugfix -
Sandra18[NL] - 06.03.2008
[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:
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<=
Re: [FS]CarExport-Game [V 1.0] -
Blackhawk - 06.03.2008
lol nice release i will try it
Re: [FS]CarExport-Game [V 1.0] -
hannovd - 06.03.2008
Looks nice..
lmao @ Command doesn't exist (Lekker puh :P)
Re: [FS]CarExport-Game [V 1.0] -
[LDT]LuxurY - 06.03.2008
nice work. too many scripts a week :P
Re: [FS]CarExport-Game [V 1.0] -
Hannibal_Smith - 06.03.2008
It looks nice, i will use it in my server thx sandra
Re: [FS]CarExport-Game [V 1.0] -
blewert - 06.03.2008
looks nice, gonna test. Also gonna rip apart the code to find out HOW to put a arrow on top of a car
Re: [FS]CarExport-Game [V 1.0] -
Sandra18[NL] - 06.03.2008
Thank you all
Quote:
Originally Posted by blewert
looks nice, gonna test. Also gonna rip apart the code to find out HOW to put a arrow on top of a car
|
Код:
SetVehicleParamsForPlayer(playerid, vehicleID, arrow, lock);
Re: [FS]CarExport-Game [V 1.0] -
blewert - 06.03.2008
ahh thanks sandra
really helped me a lot now
Re: [FS]CarExport-Game [V 1.0] -
Numhaken - 06.03.2008
Awsome stuff!!! I really like this one.!
Re: [FS]CarExport-Game [V 1.0] -
FujiNNN - 06.03.2008
Cool!
Re: [FS]CarExport-Game [V 1.0] -
Dragon1234 - 06.03.2008
Want a mirror?
Re: [FS]CarExport-Game [V 1.0] -
Pro - 06.03.2008
Nice work.
May I suggest using OnPlayerStateChange instead of OnPlayerExitVehicle though... OnPlayerExitVehicle isnt fully accurate, theres no support if you fall of bikes.
Re: [FS]CarExport-Game [V 1.0] -
Sandra18[NL] - 06.03.2008
Quote:
Originally Posted by ЧРrаgуnЧ
Want a mirror?
|
Sure
Quote:
Originally Posted by Pro
Nice work.
May I suggest using OnPlayerStateChange instead of OnPlayerExitVehicle though... OnPlayerExitVehicle isnt fully accurate, theres no support if you fall of bikes.
|
I didn't think about that :P I will fix that.
Re: [FS]CarExport-Game [V 1.0] -
Pro - 06.03.2008
Ok Great
Re: [FS]CarExport-Game [V 1.1] -
Sandra18[NL] - 06.03.2008
Done :P
Please redownload!
Re: [FS]CarExport-Game [V 1.1] -
Dragon1234 - 06.03.2008
Re: [FS]CarExport-Game [V 1.1] -
Sandra18[NL] - 06.03.2008
Quote:
Originally Posted by ЧРrаgуnЧ
|
Thank you very much!
Re: [FS]CarExport-Game [V 1.1] -
Rks25 - 06.03.2008
very nice, but only 1 prob, i don't see the checkpoint, when i re- enter my vehicle, i suddenly see it (if i am near it, or else i won\'t )
but still 9.5/10
Re: [FS]CarExport-Game [V 1.1] -
Rks25 - 06.03.2008
Another bug: when you use a tp while the yellow icon is on your map it will disappear, and you won't be able to know which vehicle it is.
Re: [FS]CarExport-Game [V 1.1] -
Sandra18[NL] - 06.03.2008
Quote:
Originally Posted by Royal_Flush
very nice, but only 1 prob, i don't see the checkpoint, when i re- enter my vehicle, i suddenly see it (if i am near it, or else i won\'t )
|
I think it's caused by a checkpoint-streamer in your own gamemode
Quote:
Originally Posted by Royal_Flush
Another bug: when you use a tp while the yellow icon is on your map it will disappear, and you won't be able to know which vehicle it is.
|
I tested this FS with several gamemodes, but the marker never disapeared when i teleport.
Check the code in your own 40.000-lines Nitro's Freeroam script.
Maybe the problem is there