***** Car spawner 2.0 by fastman92

This CLEO mod is car spawner for GTA San Andreas.
It has implemented sorting algorithms, advanced configuration in .ini file, thus it`s deditaced for those who add cars to GTA SA.
 In this case adding cars means adding car with ID not 400 <= ID <= 611, that is not replacing.
Version 2.0 has been complety rewritten, panel with sorted list of vehicles is being created.
They are sorted according to their actual GXT entries that appear when you enter a vehicle.
Therefore list is not static and relies on vehicle names.
Rotation of camera when car spawner is running works too if you hold on the \ slash key and move the mouse around.

Fully compatible with GTA San Andreas v1.0 [US] HOODLUM No-CD Fixed EXE & GTA: San Andreas v1.01 [EURO] No-CD/Fixed EXE
Fully compatible with any screen (4:3, 16:9, 16:10...)
- - - - - - -  - - - - - - - - - -

See the video about tool: http://www.youtube.com/watch?v=SyOLRC73ZtM
See the project topic: http://www.gtaforums.com/index.php?showtopic=462929

***** Installation
Make sure you are using one of the following gta_sa.exe versions:
	1.	GTA San Andreas v1.0 [US] HOODLUM No-CD Fixed EXE:
	EXE size:  14 383 616 bytes
	
	2.	GTA: San Andreas v1.01 [EURO] No-CD/Fixed EXE:
	EXE size: 15 806 464 bytes

Car spawner is fully compatible with both of them, 1.0 US and 1.01 Euro No-CD shortly.
	
// Script requires CLEO Library and IniFiles.cleo & IntOperations.cleo plugins


 If you haven`t CLEO Library then download it from here: http://cleo.sannybuilder
Then:
- Copy all files from put_to_root_of_GTASA to GTA San Andreas directory.
- Eventually you can open CarSpawner.ini to change some options.
- For boolean settings values (1, true, yes) are equivalent and will set to 1. Reading is not case-sensitive.
  Any other value than the following will cause setting to be false.

***** Usage (after you installed mod)
 Run the game.
 Press 3 on left side of keyboard (can be altered within CarSpawner.ini
 When car spawner is enabled:
	 press 3 again to quit car spawner and remove a vehicle
	 press Space to quit the car and put a player in spawned vehicle
	 press Enter to quit the car and leave a vehicle unimpaired
	
** Why some names of vehicles with different IDs appear more than once on list of vehicles?
They have the same GXT entry set up in vehicles.ide.
For example there is 489 and 505 that have GXT key RANCHER.
You can edit vehicles.ide and change the GXT key of such a vehicle. Create e.g vehicles.fxt with new GXT key and entry for that.

***** Configuration (open CLEO\CarSpawner.ini)
 Key options - they have assigned one of virtual key codes, see the list here: http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx

 Boolean (true or false) options - they become true, if their string value is:
  - true
  - yes
  - 1
  Checking a value is not case sensitive. "TRue" is the same compared to "true"
  
 Each category can have specified type of vehicles, list of types and their numbers is included.
  Number of categories may vary.
  
 There may be more ranges than range_1 with start and end. You can add range_2, range_3, range_4 and much more...
  Number of ranges is automatically calculated.

 Vehicle can have trailers, configures as [trailer_%d] with 1=, 2=...  where %d is vehicle ID
  Number of trailers specified for a vehicle is automatically calculated.

Copyright (c) 2011, fastman92
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

***** Informations:
Date of release: 29-01-2012
Author: fastman92
Version: 2.0
For: GTA San Andreas
E-mail: fastman92@gmail.com
Visit fastman92.tk

**** ACTA, SOPA and PIPA:
Who dares to censor Internet for protection of his own interests should reckon with consequences being attacked and getting the site down all over the time.
Arguably governments occur to be the worst part of a civilization in present times. Hundreds of wealthy people called politicians rule the country and anything what people aren`t up to isn`t to be voted as a result is first off known. There are many votings, however it`s not the case for when people are opposed to subject of that voting.
Many sites were blocked and many of them are meant to get locked until new form of government gets established.
What`s even more alarming is governments and their supporters (police, FBI) go further concerning the Internet.
Every next year more and more countries censor the Internet under the guise of fighting against piracy.
Big corporations such as RIAA, MAFIAA lobby to take control over whole Internet for the best wishes.
Therefore we should not become passive for what happens to Internet over upcoming years of current decade and possibly of the next.
French government managed to introduce the HADOPI, three strikes and you`re out. It`s unacceptable and it happens though.
Freedom is never free, it`s applies to Internet too.
The problem is more complicated because it`s related to society.
Government intends and signs the bills. Police and other law enforcement authorities are supposed to evaluate what they are obligated to by law. Dumb people respect police and authorities after all.
To break the way it works people almost all people must join together and stop respecting of our government which do nothing for people at all other than getting too much of money.
I hope at least some people will get motivated to fight against those who take up the Internet that has been created intentionally to be free and now its future is unclear.