[FilterScript] Simple tuning system
#1

Features of the system:

Command processor: ZCMD
Includes: sscanf2, GetVehicleColor


Info:

I have started to script a tuning system I because a haven't share something a long time I want to release what I made so far
For now you can add nitro, rims, spoilers and hydraulics on your car!

The system doesn't save the tuning!

There is just 1 command (/tune), other is in dialogs (you can see that on the pictures)

Setting the FS-a:

You just need to set 2 things for now:
- Dialog id (#define D_TUNING 1) - the only one dialog id
- The price of the tuning parts
Код:
new TuningaStvari[43][2] = {
	//|ComponentID|price//
	{1009,80},//nitro 2x ---- the price of the 2x nitro is 80$
	{1008,150},//nitro 5x --- the price of the 5x nitro is 150$
	{1010,250},//nitro 10x -- the price of the 10x nitro is 250$
	{1087,180},//hidraulika - the price of the hydraulics is 180$
	/*=====[rims - start]======*/
	{1096,30},//"Ahab"
	{1097,30},//"Virtual",
	{1098,30},//"Access",
	{1073,30},//"Shadow",
	{1074,30},//"Mega",
	{1075,30},//"Rimshine"
	{1076,30},//"Wires",
	{1077,30},//"Classic",
	{1078,30},//"Twist",
	{1079,30},//"Cutter",
	{1080,30},//"Switch",
	{1081,30},//"Grove",
	{1082,30},//"Import",
	{1083,30},//"Dollar",
	{1084,30},//"Trance",
	{1085,30}, //"Atomic" - ID 19
	/*=====[rims - end]======*/
	/*=====[paintjob - start]======*/
	{0,30},
	{1,30},
	{2,30}, //ID 22
	/*=====[paintjob - end]======*/
	/*=====[spoilers - start]======*/
	/*spoljeri obicna auta*/
	{1000, 50},
	{1001, 60},
	{1002, 70},
	{1003, 80},
	{1014, 90},
	{1015, 100},
	{1016, 110},
	{1023, 120}, //id 30
	/*flash*/
	{1049, 130},//id 31
	{1050, 140},//id 32
	/*stratum*/
	{1058, 150},//id 33
	{1060, 160},//id 34
	/*sultan*/
	{1138, 170},//id 35
	{1139, 180},//id 36
	/*elegy*/
	{1146, 190},//id 37
	{1147, 200},//id 38
	/*jester*/
	{1158, 210},//id 39
	{1162, 220},//id 40
	/*uranus*/
	{1163, 230},//id 41
	{1164, 240}//id 42
	/*=====[spoilers - end]======*/
};

Pictures:

Slika 1
Slika 2
Slika 3
Slika 4
Slika 5
Slika 6

Credits:

Made by: Pasa (me)
Tested: Pasa (me)
All that have made the includes and plugins that I use in this FS


Download:

Click me


Please comment


If you use this FS please leave the credits!!


Reply


Messages In This Thread
Simple tuning system - by Pasa - 08.06.2014, 10:02

Forum Jump:


Users browsing this thread: 1 Guest(s)