All pastes #349029 Raw Edit

Mine

public text v1 · immutable
·published 2007-02-10 14:45 UTC
rendered paste body
#define CP_BANK 			0
#define CP_PIRATE           1
#define CP_AMMU             2
#define CP_DRAGON           3
#define CP_SEXSHOP          4
#define CP_BAR              5
#define CP_CALIGULA         6
#define CP_ZIP              7
#define CP_BINCO            8
#define CP_TATOO            9
#define CP_BOTIQUE  		10
#define CP_CLOWNSPOCKET 	11
#define CP_GASNGO 			12
#define CP_PIZZA 			13
#define CP_EMERALDISLE 		14
#define CP_KACC 			15
#define CP_LVSTORAGE 		16
#define CP_LVPD 			17
#define CP_STRIPCLUB    	18
#define CP_WANGCARS         19
#define CP_AIRSTRIP     	20
#define CP_VISAGE 			21
#define CP_LVSTEAK 			22
#define CP_LVBUILD 			23
#define CP_BURGERSHOT 		24
#define CP_LVVICE 			25
#define CP_ETERNALFLAME 	26
#define CP_STARFISHCAS		27
#define CP_HIGHROLLER		28
#define CP_ROYALCAS         29
#define CP_LUXOR			30
#define CP_CLUB				31
#define CP_LVMOTEL			32
#define CP_LVGARAGE			33
#define CP_AUTOBAHN			34
#define CP_COMEALOT			35
#define CP_SOUTHLVWED		36
#define CP_LVCOMPLEX		37
#define CP_LVAFREIGHT		38
#define CP_CHURCHLV         39
#define CP_BILLBOARD		40
#define CP_QUARRY			41
#define CP_LVAIRPORT		42
#define CP_LVMOTEL2         43
#define CP_SOUVENIRS        44



#define P_DRAGON    		0
#define P_SEXSHOP   		1
#define P_BAR       		2
#define P_CALIGULA  		3
#define P_ZIP       		4
#define P_BINCO     		5
#define P_TATOO     		6
#define P_BOTIQUE  			7
#define P_CLOWNSPOCKET  	8
#define P_GASNGO 			9
#define P_PIZZA 			10
#define P_EMERALDISLE 		11
#define P_KACC 				12
#define P_LVSTORAGE 		13
#define P_LVPD 				14
#define P_STRIPCLUB   		15
#define P_WANGCARS    	 	16
#define P_AIRSTRIP    	 	17
#define P_VISAGE 			18
#define P_LVSTEAK 			19
#define P_LVBUILD 			20
#define P_BURGERSHOT 		21
#define P_LVVICE 			22
#define P_ETERNALFLAME 		23
#define P_STARFISHCAS 		24
#define P_HIGHROLLER 		25
#define P_ROYALCAS 			26
#define P_LUXOR 			27
#define P_CLUB 				28
#define P_LVMOTEL 			29
#define P_LVGARAGE 			30
#define P_AUTOBAHN 			31
#define P_COMEALOT 			32
#define P_SOUTHLVWED 		33
#define P_LVCOMPLEX 		34
#define P_LVAFREIGHT 		35
#define P_CHURCHLV 			36
#define P_BILLBOARD 		37
#define P_QUARRY 			38
#define P_LVAIRPORT   		39
#define P_LVMOTEL2          40
#define P_SOUVENIRS         41

#define P_OFFSET    3

//------------------------------------

#define MAX_POINTS 45

new Float:checkCoords[MAX_POINTS][4] = {
{-36.5483,-57.9948, -17.2655,-49.2967},     //BANK
{1894.6128,1445.3431, 2084.9739,1637.8186}, //PIRATE
{284.0546,-86.4384, 302.9315,-56.6674},     //AMMUNATION
{1925.1511,968.2358, 2019.0715,1067.4276},  //DRAGON
{-115.9544,-24.2706, -99.1631,-7.1391},     //SEXSHOP
{487.6558,-88.5900, 512.0635, -67.7503},    //BAR
{2216.7971,1638.0493, 2255.2097,1714.0806}, //CALIGULA
{144.9131,-96.0927, 177.4128,-70.7923},    	//ZIP
{201.4462,-112.4556, 218.5237,-95.1238},    //BINCO
{-204.7623,-44.0326, -200.2330,-39.8128},   //TATOO
{416.7485,-84.4242, 422.6890,-74.0611},     //BOTIQUE
{2202.2012,1843.7318,2221.6672,1860.8027},	//CLOWNSPOCKET
{2155.3103,2460.1228,2215.3645,2494.7783},	//GASNGO
{367.0486,-133.5560,380.3123,-112.5537},	//PIZZA
{2079.1670,2401.1516,2107.4653,2428.9558},	//EMERALDISLE
{2465.6450,2758.4929,2496.4063,2793.9136},	//KACC
{2235.7979,2720.7332,2459.6904,2824.5144},	//LVSTORAGE
{2298.3462,2422.8474,2356.8435,2503.1108},	//LVPD
{1201.1422,-16.6343,1223.4420,12.6656},     //STRIPCLUB
{-1996.0801,253.4684,-1942.0564,310.0717},  //WANG CARS
{413.4203,2534.9907,421.4078,2542.7031},	//VERDANT MEADOWS AIR STRIP
{2017.1276,1896.4229,2063.4612,1934.3079},
{2342.6492,1959.8636,2369.1528,1984.1201},
{2449.0813,1916.4282,2496.4324,1962.3473},
{371.5710,-57.1730,362.5828,-63.0409},
{2471.0403,2058.5068,2505.6233,2065.6814},
{2497.8665,2009.8436,2522.1917,2040.9812},
{2153.8450,1886.3013,2204.1245,1916.6469},
{1919.7958,1284.5303,2031.4962,1437.1024},
{2078.3154,1437.6868,2124.2219,1475.5095},
{2219.5833,1270.5420,2240.4519,1307.9465},
{499.9649,-24.5403,477.8238,-6.9452},
{2469.4399,1389.2914,2505.8960,1434.3949},
{2309.9915,1379.6929,2325.0425,1397.3510},
{2188.8008,1371.3636,2220.4512,1388.2638},
{2168.7512,1109.3844,2190.9666,1121.5092},
{2469.1409,908.9918,2497.8096,938.3978},
{1897.3517,664.7849,1956.8593,742.4492},
{1678.8850,733.9694,1702.7755,762.7167},
{1419.9236,660.0666,1467.9523,681.7923},
{1082.1620,772.5161,1090.1923,786.0123},
{810.1454,846.9866,823.9518,868.7415},
{1662.8542,1424.1750,1692.5734,1466.9233}, //LVA
{2064.7703,2154.1294,2117.0068,2189.7754},
{1887.9357,2423.4998,1917.6749,2448.4019} //Souvenirs
};

new Float:checkpoints[MAX_POINTS][3] = {
{-22.2549,-55.6575,1003.5469},
{2000.3132,1538.6012,13.5859},
{291.0004,-84.5168,1001.5156},
{1989.0619,1005.5241,994.4688},
{-103.5525,-22.4661,1000.7188},
{501.4927,-75.4323,998.7578},
{2235.5408,1679.0402,1008.3594},
{161.1875,-79.9915,1001.8047},
{207.5640,-97.8188,1005.2578},
{-203.4864,-41.2045,1002.2734},
{418.5547,-80.1667,1001.8047},
{2215.5820,1856.1090,10.8203},
{2188.3923,2469.3052,11.2422},
{377.3676,-131.9115,1001.4922},
{2083.9358,2405.0588,74.5786},
{2494.3657,2780.5298,10.8203},
{2363.2019,2724.6682,10.3903},
{2322.3286,2460.1719,10.8203},
{1212.3918,-10.9459,1000.9219},
{-1957.5327,300.2131,35.4688},
{418.1210,2536.8762,10.0000},
{2021.5995,1913.1661,12.3112},
{2368.8765,1983.7533,10.8203},
{2481.5432,1957.3739,10.5996},
{367.8591,-60.8130,1001.5078},
{2489.5415,2063.8259,10.8203},
{2517.9980,2033.5344,11.0292},
{2169.7295,1902.0475,10.8203},
{1957.1937,1342.8531,15.3746},
{2089.2566,1449.8826,10.8203},
{2237.2786,1289.4080,10.8203},
{490.9044,-24.2657,1000.6797},
{2488.1343,1409.5908,10.8203},
{2318.0564,1390.1753,10.8203},
{2204.6704,1380.8674,10.8203},
{2180.2734,1116.6112,12.6484},
{2489.4521,918.6710,11.0234},
{1917.6296,704.0682,11.1328},
{1694.2876,747.2943,10.8203},
{1440.1078,673.3182,10.8203},
{1084.4840,779.7100,10.8577},
{820.1104,858.3873,12.0469},
{1673.0264,1448.1460,10.7867},
{2100.5867,2170.1602,10.8203},
{1892.4847,2446.0376,11.1782}
};

new checkpointType[MAX_POINTS] = {
	CP_BANK,
	CP_PIRATE,
	CP_AMMU,
	CP_DRAGON,
	CP_SEXSHOP,
	CP_BAR,
	CP_CALIGULA,
	CP_ZIP,
	CP_BINCO,
	CP_TATOO,
	CP_BOTIQUE,
	CP_CLOWNSPOCKET,
	CP_GASNGO,
	CP_PIZZA,
	CP_EMERALDISLE,
	CP_KACC,
	CP_LVSTORAGE,
	CP_LVPD,
	CP_STRIPCLUB,
	CP_WANGCARS,
	CP_AIRSTRIP,
	CP_VISAGE,
	CP_LVSTEAK,
	CP_LVBUILD,
	CP_BURGERSHOT,
	CP_LVVICE,
	CP_ETERNALFLAME,
	CP_STARFISHCAS,
	CP_HIGHROLLER,
	CP_ROYALCAS,
	CP_LUXOR,
	CP_CLUB,
	CP_LVMOTEL,
	CP_LVGARAGE,
	CP_AUTOBAHN,
	CP_COMEALOT,
	CP_SOUTHLVWED,
	CP_LVCOMPLEX,
	CP_LVAFREIGHT,
	CP_CHURCHLV,
	CP_BILLBOARD,
	CP_QUARRY,
	CP_LVAIRPORT,
	CP_LVMOTEL2,
	CP_SOUVENIRS
};

#define MAX_PROPERTIES 42

new propertyNames[MAX_PROPERTIES][32] = {
	"Four Dragons",
	"Sex Shop",
	"Shithole Bar",
	"Caligula",
	"Zip Shop",
	"Binco Shop",
	"Tatoo Parlor",
	"Botique",
	"Clowns Pocket",
	"Las Venturas Gas N' Go",
	"Well Stacked Pizza Chain",
	"Emerald Isle Parking Structure",
	"K.A.C.C Military Fuels",
	"Las Venturas Storage",
	"LVPD HQ",
	"Strip Club",
	"Wang Cars",
	"Verdant Meadows Airstrip",
	"Visage Resort And Casino",
	"Las Venturas Steaks",
	"Las Venturas Building Site",
	"Burger Shot Food Chain",
	"Vice Department Store",
	"Eternal Flame Wedding Chapel",
	"Starfish Casino",
	"Highroller Casino",
	"Royal Casino",
	"Luxor Resort And Casino",
	"Dance Club",
	"Las Venturas Motel",
	"Las Venturas Parking Garage",
	"Autobahn Auto Importers",
	"Come-a-lot Resort And Casino",
	"South LV Wedding Chapel",
	"Las Venturas Apartment Complex",
	"LVA Freight Depot",
	"Las Venturas Church Of God",
	"Interstate Billboard",
	"Hunter Quarry",
	"Las Venturas Airport",
	"Las Venturas Strip Motel",
	"Las Venturas Souvenir Shop"
	};

new propertyValues[MAX_PROPERTIES] = {
	75000,
	25000,
	20000,
	100000,
	15000,
	15000,
	10000,
	20000,
	75000,
	15000,
	15000,
	100000,
	150000,
	75000,
	150000,
	75000,
	150000,
	200000,
	250000,
	9000,
	130000,
	8000,
	10000,
	5000,
	150000,
	120000,
	95000,
	250000,
	75000,
	30000,
	30000,
	30000,
	250000,
	100000,
	85000,
	20000,
	85000,
	20000,
	750000,
	1250000,
	100000,
	50000,
};

new propertyEarnings[MAX_PROPERTIES] = {
	5000,
	2000,
	1500,
	7000,
	1000,
	1000,
	700,
	1500,
	4500,
	3000,
	1500,
	5000,
	10000,
	5000,
	10000,
	5000,
	10000,
	15000,
	15000,
	1500,
	15000,
	1500,
	3000,
	1500,
	13000,
	20000,
	8000,
	15000,
	7000,
	2000,
	2000,
	2500,
	15000,
	15000,
	3000,
	5000,
	3000,
	1500,
	25000,
	125000,
	25000,
	4500
};


new propertyOwner[MAX_PROPERTIES] = {999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999};

//-----------------------------------Ovo zamijeni u /buy komandi
case CP_DRAGON:{
					property = P_DRAGON;
				}
				case CP_SEXSHOP:{
					property = P_SEXSHOP;
				}
				case CP_BAR:{
					property = P_BAR;
				}
				case CP_CALIGULA:{
					property = P_CALIGULA;
				}
				case CP_ZIP:{
					property = P_ZIP;
				}
				case CP_BINCO:{
					property = P_BINCO;
				}
				case CP_TATOO:{
					property = P_TATOO;
				}
				case CP_BOTIQUE:{
					property = P_BOTIQUE;
				}
				case CP_CLOWNSPOCKET:{
					property = P_CLOWNSPOCKET;
				}
				case CP_GASNGO:{
					property = P_GASNGO;
				}
				case CP_EMERALDISLE:{
					property = P_EMERALDISLE;
				}
                case CP_PIZZA:{
					property = P_PIZZA;
				}
				case CP_KACC:{
					property = P_KACC;
				}
				case CP_LVSTORAGE:{
					property = P_LVSTORAGE;
				}
				case CP_LVPD:{
				    property = P_LVPD;
				}
				case CP_STRIPCLUB:{
					property = P_STRIPCLUB;
				}
				case CP_WANGCARS:{
					property = P_WANGCARS;
				}
				case CP_AIRSTRIP:{
					property = P_AIRSTRIP;
				}
				case CP_VISAGE:{
				    property = P_VISAGE;
				}
				case CP_LVSTEAK:{
				    property = P_LVSTEAK;
				}
				case CP_LVBUILD:{
				    property = P_LVBUILD;
				}
				case CP_BURGERSHOT:{
				    property = P_BURGERSHOT;
				}
				case CP_LVVICE:{
				    property = P_LVVICE;
				}
				case CP_ETERNALFLAME:{
				    property = P_ETERNALFLAME;
				}
				case CP_STARFISHCAS:{
				    property = P_STARFISHCAS;
				}
				case CP_HIGHROLLER:{
				    property = P_HIGHROLLER;
				}
				case CP_ROYALCAS:{
				    property = P_ROYALCAS;
				}
				case CP_LUXOR:{
				    property = P_LUXOR;
				}
				case CP_CLUB:{
				    property = P_CLUB;
				}
				case CP_LVMOTEL:{
				    property = P_LVMOTEL;
				}
				case CP_LVGARAGE:{
				    property = P_LVGARAGE;
				}
				case CP_AUTOBAHN:{
				    property = P_AUTOBAHN;
				}
				case CP_COMEALOT:{
				    property = P_COMEALOT;
				}
				case CP_SOUTHLVWED:{
				    property = P_SOUTHLVWED;
				}
				case CP_LVCOMPLEX:{
				    property = P_LVCOMPLEX;
				}
				case CP_LVAFREIGHT:{
				    property = P_LVAFREIGHT;
				}
				case CP_CHURCHLV:{
				    property = P_CHURCHLV;
				}
				case CP_BILLBOARD:{
				    property = P_BILLBOARD;
				}
				case CP_QUARRY:{
				    property = P_QUARRY;
				}
				case CP_LVAIRPORT:{
				    property = P_LVAIRPORT;
				}
				case CP_LVMOTEL2:{
				    property = P_LVMOTEL2;
				}
				case CP_SOUVENIRS:{
				    property = P_SOUVENIRS;
				}