#include #include #include #define COLOR_GREY 0xAFAFAFAA #define COLOR_RED 0xAA3333AA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_WHITE 0xFFFFFFAA #define COLOR_ADMIN 0x99CCFFAA #define COLOR_GREEN 0x33AA33AA #define COLOR_LIGHTBLUE 0x33CCFFAA #define COLOR_ORANGE 0xFF9900AA #define COLOR_IMPORTANT 0xFF0000AA #define COLOR_PINK 0xFF66FFAA #define COLOR_PERSONAL 0x8080FFAA #define NICE_BLUE 0xa0d3ffAA #define COLOR_BROADCAST 0x0066CCAA #define PocketMoney 1000 // Amount player recieves on spawn. #define INACTIVE_PLAYER_ID 255 #define GIVECASH_DELAY 5000 // Time in ms between /givecash commands. #define CP_BANK 0 #define CP_PIRATE 1 #define CP_AMMU 2 #define CP_PARKING 3 #define CP_WUESTE 4 #define CP_SANFIER 5 #define CP_CHILIAD 6 #define CP_FICK 7 #define CP_RANCH 8 #define CP_CONTAIN 9 #define CP_HARRY 10 #define CP_SPEDI 11 #define CP_JIZPARK 12 #define CP_GOLDEN 13 #define CP_RASTPL 14 #define CP_TANKSF 15 #define CP_DINER 16 #define CP_SUPERM 17 #define CP_MOTEL 18 #define CP_ASSWORLD 19 #define CP_MIDDLESF 20 #define CP_SWISF 21 #define CP_PARKWAT 22 //Parking Water Las Venturas #define CP_PLAYASEV 23 //Playa del Seville #define CP_OCEANDOC 24 //Ocean Docks #define CP_LILMEX 25 //Little Calexico #define CP_TOMVILHI 26 //Tomasu's Villa - Hinweis fr die Immobilie #define CP_GOGAMAU1 27 //Golden Gate Maut 1 #define CP_GOGAMAU2 28 //Golden Gate Maut 2 #define CP_GOGAMAU3 29 //Golden Gate Maut 3 #define CP_GOGAMAU4 30 //Golden Gate Maut 4 #define CP_DRAGON 31 #define CP_SEXSHOP 32 #define CP_BAR 33 #define CP_CALIGULA 34 #define CP_ZIP 35 #define CP_BINCO 36 #define CP_TATOO 37 #define CP_BOUTIQUE 38 #define CP_POLDEPLS 39 //Police Department Los Santos #define CP_PIZZA 40 #define CP_VICTIM 41 #define CP_APPLV1 42 //Casino Appartment Las Venturas #define CP_BALMOT 43 //Ballas Motel Los Santos #define CP_WETTLS 44 //Wettbro Los Santos #define CP_RUSSEN 45 //Russen-Hauptquartier #define CP_CJHOME 46 //CJ's Home #define CP_GYMLS 47 //Gym Los Santos #define CP_APPLS1 48 //Appartment Los Santos 1 #define CP_APPLS2 49 //Appartment Los Santos 2 #define CP_SCHOOLSF 50 //Fahrschule San Fierro #define CP_APPSF1 51 //Appartment San Fierro 1 #define CP_SUBURBAN 52 //SubUrban #define CP_POLDEPLV 53 //Police Department Las Venturas #define CP_LAPDANCE 54 //Lapdance Las Venturas #define CP_DIDIER 55 //Didier Sachs LS #define CP_PROLAPS 56 //ProLaps LS #define CP_69CENT 57 //69 Cent Store LS #define CP_ALHAMBRA 58 //Alhambra LS #define CP_BARBER 59 //BarberShop LS #define CP_APPSF2 60 //Appartment San Fierro 2 #define CP_COBRA 61 //Cobra San Fierro #define CP_HEMLOCK 62 //Hemlock Tattoo #define CP_APPLS3 63 //Appartment Los Santos 3 #define CP_MARKSTAT 64 //Market Station #define CP_ZERORC 65 //Zero RC #define CP_APPD1 66 //Appartment Desert 1 #define CP_CLUCKBEL 67 //Clucking Bell #define CP_STAUDAMM 68 //Staudamm #define CP_APPSF3 69 //Appartment San Fierro 3 #define CP_TATTOOLS 70 //Tattoo Los Santos #define CP_REECES 71 //Reeces LS #define CP_SPRANCH 72 //Spread Ranch #define CP_MILITARY 73 //Military-Base #define CP_OLDAIRP 74 //Old-Airport Desert #define CP_BURGSHOT 75 //BurgerShot #define CP_TOMVILLA 76 //Tomasu's Villa #define CP_STADIULV 77 //Blackfield stadium LV #define CP_STADIULS 78 //LS Forum #define CP_TOBTOWER 79 //Toby Tower #define CP_PYRAMID 80 //Transamerica Pyramid #define CP_HOUSELV 81 //House LV #define CP_LILCASNO 82 //Little Casino LV #define CP_GYMLV 83 //Gym LV #define CP_ROKHOTEL 84 //Rock Hotel LV #define CP_OTTO 85 //Otto's Autos #define CP_WANGCARS 86 //Wang Cars #define CP_JIZZY 87 //Jizzy's Club #define CP_ZOMBO 88 //Zombotech #define CP_TORENO 89 //Toreno's #define CP_ALIENINN 90 //Alien Inn #define CP_QUARRY 91 //Quarry #define CP_GASLS 92 //24/7 Gas LS #define CP_FLEIBERG 93 //Fleischberg #define CP_GLOCKIS 94 //Glocki's Funworld #define CP_GAYINST 95 //Gay Institute #define CP_TTRICKLV 96 //Turning Trick LV #define CP_BOATRAIN 97 //Boat Training #define CP_WOLLOS 98 //Wollo's Booze-Up #define CP_DESCORP 99 //Desert Corp. #define CP_TEEPEEVO 100 //Teepee Motel VO #define CP_CORVINST 101 //Corvin Stadium #define CP_BIKEPARK 102 //Bike Park #define CP_AIRPORLS 103 //Airport LS #define CP_AIRPORLV 104 //Airport LV #define CP_AIRPORSF 105 //Airport SF #define CP_POLDEPSF 106 //Police Department SF #define CP_CONTAINA 107 //Container Ship #define CP_SUPASAVE 108 //SupaSave #define CP_INTERTV 109 //Interglobal Television #define CP_PORNSTDS 110 //Porn Studios #define CP_GRAVE 111 //Pet Sematary #define CP_TEXASTED 112 //Texas Ted's #define CP_BANDITS 113 //Bandits #define CP_SHODY 114 //Shody #define CP_STEAKHS 115 //Steakhouse #define CP_LILCHURC 116 //Lil' Church LV #define CP_LVSTEAKS 117 //Venturas Steaks #define CP_EMERALD 118 //Emerald Isle #define CP_GENSTORE 119 //General Store #define CP_KACC 120 //K.A.C.C. #define CP_GOLFLV 121 //Golfclub LV #define CP_UNITYLS 122 //Unity Station LS #define CP_GENERALS 123 //County General LS #define CP_HOSPITLS 124 //Hospital Los Santos #define CP_CLOWNS 125 //Appartment Las Venturas 2 #define CP_VISAGE 126 //The Visage #define CP_WEDDING 127 //Wedding Chapel #define CP_CUMALOT 128 //Cum-a-lot #define CP_ROYALCAS 129 //Royal Casino #define CP_HIROLLER 130 //High Roller #define CP_DICKS 131 //Dick's Sounds #define CP_RUBBERS 132 //Dom's Rubbers #define CP_VINYL1 133 //Vinyl Countdown I #define CP_BEARCLAM 134 //Bearded Clam #define CP_BANKSA 135 //Bank of San Andreas #define CP_DAILYGLO 136 //Daily Globes #define CP_HIPPY1 137 //Hippy Shopper I #define CP_VINYL2 138 //Vinyl Countdown II #define CP_VERONA 139 //Verona Mall #define CP_HIPPY2 140 //Hippy Shopper II #define CP_TGSTAGES 141 //TG Stages #define CP_CARRIER 142 //Aircraft Carrier #define CP_FIRESF 143 //Fire Dept SF #define CP_BIFFIN 144 //Biffin Bridge #define CP_UPHILL 145 //Uphill Gardener #define CP_MICHELLE 146 //Michelle's #define CP_CONTAIN2 147 //Container II #define CP_PIER69 148 //Pier 69 #define CP_COUTTSCH 149 //Coutt & Schutz #define CP_CONFEREN 150 //Conference Center #define CP_PAPERCUT 151 //Papercuts #define CP_LSFASHN 152 //LS Fashions #define CP_GRAUMANS 153 //Grauman's #define CP_ALEXTOYS 154 //Alexanders' Toys #define CP_COGS 155 //COGS #define CP_RANCHSHP 156 //Ranch #define CP_XOOMER 157 //Xoomer Corp #define CP_SIDEWALK 158 //Side Walk Market #define CP_SUMO 159 //Sumo #define CP_SNAKE 160 //Snake Farm #define CP_SHERIFF 161 //Sheriff El Quebrados #define CP_HOTELEQ 162 //Hotel El Quebrados #define CP_MEDICAL 163 //Medical Center El Quebrados #define CP_WHEEL 164 //Wheel Arch Angels #define CP_LAVANDER 165 //Lavanderia #define CP_JAZZMAGS 166 //Jazz Mags #define CP_EASTER 167 //Easter Board Farm #define CP_MOTFC1 168 //Motel 1 FC (Fort Carson) #define CP_MOTFC2 169 //Motel 2 FC (Fort Carson) #define CP_MOTFC3 170 //Motel 3 FC (Fort Carson) #define CP_MOTFC4 171 //Motel 4 FC (Fort Carson) #define CP_HOTELFC 172 //Hotel FC (Fort Carson) #define CP_DINERFC 173 //Diner FC (Fort Carson) #define CP_BOWLED 174 //Bowled Spot #define CP_UGETINN 175 //U Get Inn #define CP_KINGRING 176 //King Ring #define CP_NO1DESER 177 //No1 Desert #define CP_CAFEFC 178 //Cafe FC (Fort Carson) #define CP_BANKFC 179 //Bank FC (Fort Carson) #define CP_BARFC 180 //Bar FC (Fort Carson) #define CP_ASTRO 181 //Astro Drive-In #define CP_HIK69 182 //HI K69 #define CP_CHEMICAL 183 //Easter Bay Chemicals #define CP_SHERIFFC 184 //Sheriff FC (Fort Carson) #define CP_MEDCENFC 185 //Medical Center FC (Fort Carson) #define CP_JIMSRING 186 //Jim's Ring #define CP_NUDESHP1 187 //Nude Shop 1 #define CP_NUDESHP2 188 //Nude Shop 2 #define CP_CITYPLAN 189 //City Planning #define CP_TEEPEELB 190 //Teepee Motel Las Barrancas #define CP_BANKLB 191 //Bank Las Barrancas #define CP_SMOKBEEF 192 //Smokin' Beef Grill Las Barrancas #define CP_CEMLB 193 //Cemetery Las Barrancas #define CP_SOLARSF 194 //Solarin Industries SF #define CP_SOLARD 195 //Solarin Industries Dillimore #define CP_FEDMINT 196 //Federal Mint #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_BOUTIQUE 7 #define P_POLDEPLS 8 //police Department Los Santos #define P_PIZZA 9 #define P_VICTIM 10 #define P_APPLV1 11 //Casino Appartment Las Venturas #define P_BALMOT 12 //Ballas Motel Los Santos #define P_WETTLS 13 //Wettbro Los Santos #define P_RUSSEN 14 //Russen-Hauptquartier #define P_CJHOME 15 //CJ's Home #define P_GYMLS 16 //Gym Los Santos #define P_APPLS1 17 //Appartment Los Santos 1 #define P_APPLS2 18 //Appartment Los Santos 2 #define P_SCHOOLSF 19 //Fahrschule San Fierro #define P_APPSF1 20 //Appartment San Fierro 1 #define P_SUBURBAN 21 //SubUrban #define P_POLDEPLV 22 //Police Department Las Venturas #define P_LAPDANCE 23 //Lapdance Las Venturas #define P_DIDIER 24 //Didier Sachs LS #define P_PROLAPS 25 //ProLaps LS #define P_69CENT 26 //69 Cent Store LS #define P_ALHAMBRA 27 //Alhambra LS #define P_BARBER 28 //BarberShop LS #define P_APPSF2 29 //Appartment San Fierro 2 #define P_COBRA 30 //Cobra San Fierro #define P_HEMLOCK 31 //Hemlock Tattoo #define P_APPLS3 32 //Appartment Los Santos 3 #define P_MARKSTAT 33 //Market Station #define P_ZERORC 34 //Zero RC #define P_APPD1 35 //Appartment Desert 1 #define P_CLUCKBEL 36 //Clucking Bell #define P_STAUDAMM 37 //Staudamm #define P_APPSF3 38 //Appartment San Fierro 3 #define P_TATTOOLS 39 //Tattoo Los Santos #define P_REECES 40 //Reeces LS #define P_SPRANCH 41 //Spread Ranch #define P_MILITARY 42 //Military-Base #define P_OLDAIRP 43 //Old-Airport Desert #define P_BURGSHOT 44 //BurgerShot #define P_TOMVILLA 45 //Tomasu's Villa #define P_STADIULV 46 //Blackfield stadium LV #define P_STADIULS 47 //LS Forum #define P_TOBTOWER 48 //Toby Tower #define P_PYRAMID 49 //Transamerica Pyramid #define P_HOUSELV 50 //House LV #define P_LILCASNO 51 //Little Casino LV #define P_GYMLV 52 //Gym LV #define P_ROKHOTEL 53 //Rock Hotel LV #define P_OTTO 54 //Otto's Autos #define P_WANGCARS 55 //Wang Cars #define P_JIZZY 56 //Jizzy's Club #define P_ZOMBO 57 //Zombotech #define P_TORENO 58 //Toreno's #define P_ALIENINN 59 //Alien Inn #define P_QUARRY 60 //Quarry #define P_GASLS 61 //24/7 Gas LS #define P_FLEIBERG 62 //Fleischberg #define P_GLOCKIS 63 //Glocki's Funworld #define P_GAYINST 64 //Gay Institute #define P_TTRICKLV 65 //Turning Trick LV #define P_BOATRAIN 66 //Boat Training #define P_WOLLOS 67 //Wollo's Booze-Up #define P_DESCORP 68 //Desert Corp. #define P_TEEPEEVO 69 //Teepee Motel VO #define P_CORVINST 70 //Corvin Stadium #define P_BIKEPARK 71 //Bike Park #define P_AIRPORLS 72 //Airport LS #define P_AIRPORLV 73 //Airport LV #define P_AIRPORSF 74 //Airport SF #define P_POLDEPSF 75 //Police Department SF #define P_CONTAINA 76 //Container Ship #define P_SUPASAVE 77 //SupaSave #define P_INTERTV 78 //Interglobal Television #define P_PORNSTDS 79 //Porn Studios #define P_GRAVE 80 //Pet Sematary #define P_TEXASTED 81 //Texas Ted's #define P_BANDITS 82 //Bandits #define P_SHODY 83 //Shody #define P_STEAKHS 84 //Steakhouse #define P_LILCHURC 85 //Lil' Church LV #define P_LVSTEAKS 86 //Venturas Steaks #define P_EMERALD 87 //Emerald Isle #define P_GENSTORE 88 //General Store #define P_KACC 89 //K.A.C.C. #define P_GOLFLV 90 //Golfclub LV #define P_UNITYLS 91 //Unity Station LS #define P_GENERALS 92 //County General LS #define P_HOSPITLS 93 //Hospital Los Santos #define P_CLOWNS 94 //Appartment Las Venturas 2 #define P_VISAGE 95 //The Visage #define P_WEDDING 96 //Wedding Chapel #define P_CUMALOT 97 //Cum-a-lot #define P_ROYALCAS 98 //Royal Casino #define P_HIROLLER 99 //High Roller #define P_DICKS 100 //Dick's Sounds #define P_RUBBERS 101 //Dom's Rubbers #define P_VINYL1 102 //Vinyl Countdown I #define P_BEARCLAM 103 //Bearded Clam #define P_BANKSA 104 //Bank of San Andreas #define P_DAILYGLO 105 //Daily Globes #define P_HIPPY1 106 //Hippy Shopper I #define P_VINYL2 107 //Vinyl Countdown II #define P_VERONA 108 //Verona Mall #define P_HIPPY2 109 //Hippy Shopper II #define P_TGSTAGES 110 //TG Stages #define P_CARRIER 111 //Aircraft Carrier #define P_FIRESF 112 //Fire Dept SF #define P_BIFFIN 113 //Biffin Bridge #define P_UPHILL 114 //Uphill Gardener #define P_MICHELLE 115 //Michelle's #define P_CONTAIN2 116 //Container II #define P_PIER69 117 //Pier 69 #define P_COUTTSCH 118 //Coutt & Schutz #define P_CONFEREN 119 //Conference Center #define P_PAPERCUT 120 //Papercuts #define P_LSFASHN 121 //LS Fashions #define P_GRAUMANS 122 //Grauman's #define P_ALEXTOYS 123 //Alexanders' Toys #define P_COGS 124 //COGS #define P_RANCHSHP 125 //Ranch #define P_XOOMER 126 //Xoomer Corp #define P_SIDEWALK 127 //Side Walk Market #define P_SUMO 128 //Sumo #define P_SNAKE 129 //Snake Farm #define P_SHERIFF 130 //Sheriff El Quebrados #define P_HOTELEQ 131 //Hotel El Quebrados #define P_MEDICAL 132 //Medical Center El Quebrados #define P_WHEEL 133 //Wheel Arch Angels #define P_LAVANDER 134 //Lavanderia #define P_JAZZMAGS 135 //Jazz Mags #define P_EASTER 136 //Easter Board Farm #define P_MOTFC1 137 //Motel 1 FC (Fort Carson) #define P_MOTFC2 138 //Motel 2 FC (Fort Carson) #define P_MOTFC3 139 //Motel 3 FC (Fort Carson) #define P_MOTFC4 140 //Motel 4 FC (Fort Carson) #define P_HOTELFC 141 //Hotel FC (Fort Carson) #define P_DINERFC 142 //Diner FC (Fort Carson) #define P_BOWLED 143 //Bowled Spot #define P_UGETINN 144 //U Get Inn #define P_KINGRING 145 //King Ring #define P_NO1DESER 146 //No1 Desert #define P_CAFEFC 147 //Cafe FC (Fort Carson) #define P_BANKFC 148 //Bank FC (Fort Carson) #define P_BARFC 149 //Bar FC (Fort Carson) #define P_ASTRO 150 //Astro Drive-In #define P_HIK69 151 //HI K69 #define P_CHEMICAL 152 //Easter Bay Chemicals #define P_SHERIFFC 153 //Sheriff FC (Fort Carson) #define P_MEDCENFC 154 //Medical Center FC (Fort Carson) #define P_JIMSRING 155 //Jim's Ring #define P_NUDESHP1 156 //Nude Shop 1 #define P_NUDESHP2 157 //Nude Shop 2 #define P_CITYPLAN 158 //City Planning #define P_TEEPEELB 159 //Teepee Motel Las Barrancas #define P_BANKLB 160 //Bank Las Barrancas #define P_SMOKBEEF 161 //Smokin' Beef Grill Las Barrancas #define P_CEMLB 162 //Cemetery Las Barrancas #define P_SOLARSF 163 //Solarin Industries SF #define P_SOLARD 164 //Solarin Industries Dillimore #define P_FEDMINT 165 //Federal Mint #define P_OFFSET 31 #define MAXCP 37 forward MoneyGrubScoreUpdate(); forward Givecashdelaytimer(playerid); //forward GrubModeReset(); forward SetPlayerRandomSpawn(playerid); forward SetupPlayerForClassSelection(playerid); forward GameModeExitFunc(); //------------------------------------------------------------------------------------------------------ new CashScoreOld; new iSpawnSet[MAX_PLAYERS]; new bank[MAX_PLAYERS]; new bounty[MAX_PLAYERS]; new playerCheckpoint[MAX_PLAYERS]; new dmWarning[MAX_PLAYERS]; new savePos; new worldTime; new vehicleModel[207]; new playerColors[100] = { 0xFF8C13FF,0xC715FFFF,0x20B2AAFF,0xDC143CFF,0x6495EDFF,0xf0e68cFF,0x778899FF,0xFF1493FF,0xF4A460FF,0xEE82EEFF,0xFFD720FF, 0x8b4513FF,0x4949A0FF,0x148b8bFF,0x14ff7fFF,0x556b2fFF,0x0FD9FAFF,0x10DC29FF,0x534081FF,0x0495CDFF,0xEF6CE8FF,0xBD34DAFF, 0x247C1BFF,0x0C8E5DFF,0x635B03FF,0xCB7ED3FF,0x65ADEBFF,0x5C1ACCFF,0xF2F853FF,0x11F891FF,0x7B39AAFF,0x53EB10FF,0x54137DFF, 0x275222FF,0xF09F5BFF,0x3D0A4FFF,0x22F767FF,0xD63034FF,0x9A6980FF,0xDFB935FF,0x3793FAFF,0x90239DFF,0xE9AB2FFF,0xAF2FF3FF, 0x057F94FF,0xB98519FF,0x388EEAFF,0x028151FF,0xA55043FF,0x0DE018FF,0x93AB1CFF,0x95BAF0FF,0x369976FF,0x18F71FFF,0x4B8987FF, 0x491B9EFF,0x829DC7FF,0xBCE635FF,0xCEA6DFFF,0x20D4ADFF,0x2D74FDFF,0x3C1C0DFF,0x12D6D4FF,0x48C000FF,0x2A51E2FF,0xE3AC12FF, 0xFC42A8FF,0x2FC827FF,0x1A30BFFF,0xB740C2FF,0x42ACF5FF,0x2FD9DEFF,0xFAFB71FF,0x05D1CDFF,0xC471BDFF,0x94436EFF,0xC1F7ECFF, 0xCE79EEFF,0xBD1EF2FF,0x93B7E4FF,0x3214AAFF,0x184D3BFF,0xAE4B99FF,0x7E49D7FF,0x4C436EFF,0xFA24CCFF,0xCE76BEFF,0xA04E0AFF, 0x9F945CFF,0xDCDE3DFF,0x10C9C5FF,0x70524DFF,0x0BE472FF,0x8A2CD7FF,0x6152C2FF,0xCF72A9FF,0xE59338FF,0xEEDC2DFF,0xD8C762FF, 0x3FE65CFF }; new Float:gRandomPlayerSpawns[23][3] = { {1958.3783,1343.1572,15.3746}, {2199.6531,1393.3678,10.8203}, {2483.5977,1222.0825,10.8203}, {2637.2712,1129.2743,11.1797}, {2000.0106,1521.1111,17.0625}, {2024.8190,1917.9425,12.3386}, {2261.9048,2035.9547,10.8203}, {2262.0986,2398.6572,10.8203}, {2244.2566,2523.7280,10.8203}, {2335.3228,2786.4478,10.8203}, {2150.0186,2734.2297,11.1763}, {2158.0811,2797.5488,10.8203}, {1969.8301,2722.8564,10.8203}, {1652.0555,2709.4072,10.8265}, {1564.0052,2756.9463,10.8203}, {1271.5452,2554.0227,10.8203}, {1441.5894,2567.9099,10.8203}, {1480.6473,2213.5718,11.0234}, {1400.5906,2225.6960,11.0234}, {1598.8419,2221.5676,11.0625}, {1318.7759,1251.3580,10.8203}, {1558.0731,1007.8292,10.8125}, //{-857.0551,1536.6832,22.5870}, Out of Town Spawns //{817.3494,856.5039,12.7891}, //{116.9315,1110.1823,13.6094}, //{-18.8529,1176.0159,19.5634}, //{-315.0575,1774.0636,43.6406}, {1705.2347,1025.6808,10.8203} }; new Float:gCopPlayerSpawns[2][3] = { {2297.1064,2452.0115,10.8203}, {2297.0452,2468.6743,10.8203} }; #define MAX_POINTS 197 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 {258.924,-1866.19,409.411,-1736.45}, //PARKING {-355.732,1676.14,-235.303,1831.62}, //WUESTE {-2591.66,-674.835,-2435.1,-544.991}, //SANFIER {-2313.81,-1789.05,-2186.71,-1634.03}, //CHILIAD {1192.72, -2099.61,1333.27,-1954.05 }, //FICK {623.732,1880.72,781.218,2002.33}, //RANCH {-637.724,-556.203,-416.277,-418.579}, //CONTAIN {2228.08,-113.3356,2332.73,5.5897}, //HARRY {-32.7685,-340.914,121.8121, -217.915}, //SPEDI {-2660.17,1283.46,-2585.56,1389.90}, //JIZPARK {-2536.97,2171.37,-2389.39,2295.38}, //GOLDEN {-1601.9,-2818.3,-1474.28,-2681.64}, //RASTPL {-2469.61,898.959,-2350.05,1046.733}, //TANKSF {-2007.05,2324.14,-1875.90,2450.07}, //wollo's DINER {1254.81,-926.512,1391.77,-805.467}, //SUPERM {2014.26,2103.68,2148.15,2239.54}, //MOTEL {-294.51,2541.63,-146.94,2661.73}, //ASSWORLD {-2646.33,571.84,-2503.93,730.25}, //MIDDLESF {-2834.07,-358.66,-2691.91,-231.41}, //SWISF {2188.3254,496.3812,2451.3007,646.8649}, //Parking Water Las Venturas {2717.0056,-2079.7440,2846.3630,-1959.9238},//Playa del Seville {2724.9433,-2479.6242,2851.4296,-2355.9318},//Ocean Docks {1854.5441,-1846.9332,1996.9078,-1712.3132},//Little Calexico {1260.6529,-787.5587,1272.4567,-771.7495}, //Tomasu's Villa - Hinweis fr die Immobilie {-2670.8579,1227.4173,-2663.7814,1351.8935},//Golden Gate Maut 1 {-2680.3039,1227.4173,-2673.9816,1351.8935},//Golden Gate Maut 2 {-2689.0236,1227.4173,-2683.4172,1351.8935},//Golden Gate Maut 3 {-2699.1147,1227.4173,-2691.9980,1351.8935},//Golden Gate Maut 4 {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}, //BOUTIQUE {242.7608,62.7017,250.0426,71.9632}, //Police Department Los Santos {367.0562,-133.5562,380.3130,-119.5416}, //PIZZA {218.3557,-11.3365,1001.211,-6.224424}, //VICTIM {2235.91,-1079.29,2245.47,-1066.60}, //APPLV1 {2214.40,-1155.15,2225.42,-1142.09}, //BALMOT {822.00,-1.09,833.99,11.19}, //WETTLS {1700.68,-1673.2,1735.05,-1638.70}, //RUSSEN {2492.19,-1712.29,2498.05,-1694.10}, //CJ's Home {755.42,-5.25,774.70,15.84}, //Gym Los Santos {2277.61,-1139.87,2286.25,-1133.73}, //Appartment Los Santos 1 {2357.70,-1135.55,2375.80,-1120.80}, //Appartment Los Santos 2 {-2035.79,-119.41,-2022.08,-104.46}, //Fahrschule San Fierro {2182.28,-1220.27, 2196.44,-1200.08}, //Appartment San Fierro 1 {196.54,-50.55,210.48,-33.15}, //SubUrban {228.79,140.13,260.26,182.12}, //Police Department Las Venturas {1201.1575,-12.6253,1222.4007,9.6199}, //Lapdance Las Venturas {197.9216,-168.0050,216.3511,-154.7828}, //DidierSachs {197.1341,-139.3429,216.2035,-126.5827}, //ProLabs {-37.8499,-91.8123,-14.8786,-74.6291}, //69 Cent Store {473.7386,-26.5042,506.9998,-1.2671}, //Alhambra LS {408.4083,-55.8051,415.6272,-48.3694}, //BarberShop LS {2306.1931,-1212.8842,2310.8710,-1206.1726},//Appartment San Fierro 2 {754.8495,-50.4420,778.0036,-18.5332}, //Cobra San Fierro {-205.0318,-8.4587,-200.2341,-4.5034}, //Hemlock Tattoo {2341.0520,-1188.2550,2349.8181,-1171.6448},//Appartment Los Santos 3 {811.1765,-1372.6667,835.1099,-1338.8862}, //Market Station {-2239.9721,127.7519,-2227.3688,136.3720}, //Zero RC {2331.4284,-1077.2299,2341.7492,-1061.6480},//Appartment Desert 1 {363.7367,-11.5059,379.9911,-6.1232}, //Clucking Bell {-962.2426,1944.2995,-940.2575,1954.4549}, //Staudamm {2231.7421,-1115.2490,2234.7053,-1104.7906},//Appartment San Fierro 3 {-205.0268,-26.4797,-200.2341,-22.7695}, //Tattoo Los Santos {410.9831,-21.6173,414.7348,-14.7173}, //Reeces LS {1205.7120,-41.1265,1216.8601,-24.2080}, //Spread Ranch {262.6996,1878.0305,275.0821,1889.5994}, //Military-Base {413.4275,2534.9594,421.4076,2542.7045}, //Old-Airport Desert {361.3212,-72.7827,382.2592,-68.8184}, //BurgerShot {1260.6529,-787.5587,1272.4567,-771.7495}, //Tomasu's Villa {1035.9501,1564.4807,1132.8200,1605.5565}, //Blackfield Stadium LV {2654.8093,-1802.0908,2839.3754,-1671.4610},//LS Forum {1531.9934,-1369.1324,1561.4145,-1347.4079},//Toby Tower {-1754.5347,883.9549,-1752.5726,885.3217}, //Transamerica Pyramid {2316.1716,-1026.5931,2321.6728,-1013.5085},//House LV {1125.5778,-13.3475,1139.6977,3.8857}, //Little Casino LV {761.9649,-78.2171,776.2813,-61.8186}, //Gym LV {2613.4045,2325.0876,2660.7600,2347.7988}, //Rock Hotel LV {-1677.6207,1203.4959,-1658.6556,1223.2854},//Otto's Autos {-1964.6342,253.7194,-1942.7564,307.1911}, //Wang Cars {-2665.7851,1396.0063,-2641.6831,1422.7708}, //Jizzy's Club {-1986.1950,687.9212,-1914.9759,715.4503}, //Zombotech {-694.0612,926.8274,-683.9390,942.9043}, //Toreno's {-229.0135,1394.0394,-222.4105,1412.1783}, //Alien Inn {539.4683,835.4837,699.4956,895.6359}, //Quarry {-35.9774,-31.3366,-26.5855,-2.7016}, //24/7 Gas LS {-66.5254,-299.5769,-32.4165,-269.3796}, //Fleischberg {349.8479,-2088.7749,395.8926,-1930.3996}, //Glocki's Funworld {1036.9049,1015.8285,1144.6020,1120.8768}, //Gay Institute {1164.7578,1346.0881,1175.2005,1362.3181}, //Turning Trick LV {-2224.5903,2354.2416,-2148.2084,2463.2897},//Boat Training {661.0756,-486.6091,721.3608,-416.6770}, //Wollo's Booze-Up {-588.6283,2513.7746,-477.5177,2686.5566}, //Desert Corp. {-888.8226,2707.2731,-802.8314,2783.8540}, //Teepee Motel VO {-2151.6293,-456.4513,-2109.6628,-438.2213},//Corvin Stadium {1858.8656,-1454.6169,1980.6657,-1349.3554},//Bike Park {1328.5490,-2482.3093,1749.6290,-2188.8710},//Airport LS {1640.2304,1234.9012,1769.3601,1563.7331}, //Airport LV {-1581.2279,-418.3643,-1276.0189,-202.5574},//Airport SF {-1705.8288,636.7008,-1551.3790,741.4852}, //Police Department SF {-1642.8829,32.7634,-1480.6900,128.0671}, //Container Ship {-2513.4262,707.4797,-2385.8049,774.6861}, //SupaSave {613.8818,-1415.5654,797.0208,-1300.6867}, //Interglobal Television {801.7234,-1318.5021,948.5994,-1142.7452}, //Porn Studios {799.8882,-1135.7823,872.5524,-1053.8200}, //Pet Sematary {2805.5834,-1172.9250,2812.7700,-1165.7784},//Texas Ted's {1397.3444,2070.4719,1551.0925,2295.1911}, //Bandits {1649.2139,1791.0998,1709.9019,1883.0208}, //Shody {1679.2819,2184.5844,1715.9584,2237.6945}, //Steakhouse {2216.5627,2499.1738,2238.2045,2561.9814}, //Lil' Church LV {2351.3391,1962.9383,2390.3808,2004.1169}, //Venturas Steaks {2091.8852,2333.5986,2182.3513,2390.7155}, //Emerald Isle {2781.2077,1945.5626,2853.1994,2017.8164}, //General Store {2458.0429,2699.9406,2692.9829,2878.9375}, //K.A.C.C. {1405.9362,2725.4855,1531.9578,2877.4274}, //Golfclub LV {1703.9266,-1903.5870,1815.1256,-1845.0406},//Unity Station LS {1992.2625,-1454.0090,2074.9855,-1378.1663},//County General LS {1147.2315,-1408.3312,1229.7557,-1275.7963},//Hospital Los Santos {2202.6752,-1078.0505,2217.4682,-1070.6611},//Appartment Las Venturas 2 {1985.2703,1799.9512,2114.2617,1988.0804}, //The Visage {2457.8007,904.1666,2536.4653,942.1221}, //Wedding Chapel {2096.2275,1049.0729,2251.3684,1181.7420}, //Cum-a-lot {2127.3710,1493.8663,2231.1496,1541.0083}, //Royal Casino {1921.2100,1281.9072,2040.0623,1429.8927}, //High Roller {2517.7973,2260.3920,2536.7316,2412.5576}, //Dick's Sounds {-2193.8632,108.9402,-2139.3491,188.3605}, //Dom's Rubbers {428.4414,-1349.9433,513.2839,-1242.4337}, //Vinyl Countdown I {-2446.4125,-165.5823,-2413.1005,-139.2915},//Bearded Clam {577.2723,-1314.0416,612.5162,-1232.2728}, //Bank of San Andreas {-2448.4904,-131.1214,-2412.1320,-90.1297}, //Daily Globes {-2522.9370,-65.0102,-2501.1960,-29.2493}, //Hippy Shopper I {777.1556,-1416.5305,866.8012,-1379.3941}, //Vinyl Countdown II {1093.2657,-1516.7906,1162.5129,-1459.5697},//Verona Mall {-2601.3696,40.9575,-2567.5129,83.5689}, //Hippy Shopper II {2259.8867,-2090.4997,2344.5661,-2039.5916},//TG Stages {-1404.1369,486.7593,-1265.4949,515.7395}, //Aircraft Carrier {-2043.4144,51.6821,-2004.5898,93.8011}, //Fire Dept SF {-2511.5297,88.0882,-2402.4941,189.3668}, //Biffin Bridge {-2607.6293,295.6882,-2546.8488,335.8642}, //Uphill Gardener {-1821.6149,1175.1408,-1782.7958,1213.5177},//Michelle's {-2487.5253,1532.2187,-2299.7338,1583.3543},//Container II {-1729.4934,1313.0777,-1638.3276,1363.3826},//Pier 69 {2100.7900,-1175.7728,2157.8466,-1122.7932},//Coutt & Schutz {1102.0139,-1785.5762,1257.2244,-1703.2209},//Conference Center {1033.4373,-1739.0426,1148.0582,-1624.2894},//Papercuts {1057.0021,-1246.6549,1090.7121,-1201.6715},//LS Fashions {994.2868,-1145.7069,1070.9351,-1099.7658}, //Grauman's {504.5920,-1422.8939,523.6226,-1376.6328}, //Alexanders' Toys {486.4243,-1427.1333,495.7834,-1407.9805}, //COGS {449.7851,-1584.6937,499.1217,-1561.0581}, //Ranch shop {106.1098,1331.6149,397.9026,1477.7634}, //Xoomer Corp {1854.9368,1001.3515,1875.8177,1049.2120}, //Side Walk Market {1363.2052,1014.3034,1400.6773,1080.3369}, //Sumo {-58.9557,2317.4465,-7.7289,2367.5612}, //Snake Farm {-1418.8604,2607.5097,-1377.6214,2661.3867},//Sheriff El Quebrados {-1485.2009,2597.2006,-1454.6240,2621.2844},//Hotel El Quebrados {-1537.9196,2503.6420,-1489.6451,2543.8254},//Medical Center El Quebrados {-2730.2385,163.7993,-2696.4091,224.0452}, //Wheel Arch Angels {2459.3823,-1936.3999,2480.6557,-1913.3066},//Lavanderia {2322.1376,23.3455,2348.6594,44.4255}, //Jazz Mags {-201.2659,-151.6674,-59.4574,-72.8586}, //Easter Board Farm {60.0916,1161.9908,113.0610,1200.5957}, //Motel 1 FC (Fort Carson) {-0.8766,1160.6999,32.3335,1206.9458}, //Motel 2 FC (Fort Carson) {-54.9217,1202.5230,-7.6352,1228.7969}, //Motel 3 FC (Fort Carson) {-189.7794,1100.9196,-154.2359,1122.1260}, //Motel 4 FC (Fort Carson) {-240.1802,1066.4095,-194.7469,1097.7634}, //Hotel FC (Fort Carson) {-65.3885,1174.0803,-34.7776,1196.7552}, //Diner FC (Fort Carson) {-114.1239,1171.7453,-75.9350,1197.8271}, //Bowled Spot {-110.5572,1204.8243,-63.0479,1235.6146}, //U Get Inn {-160.2216,1202.2016,-121.4777,1241.6203}, //King Ring {-162.1820,1167.2113,-125.1512,1194.6479}, //No1 Desert {-196.0393,1198.0963,-167.9753,1235.7156}, //Cafe FC (Fort Carson) {-194.0418,1121.9974,-167.9658,1146.1326}, //Bank FC (Fort Carson) {-191.4609,1069.0961,-164.1147,1096.8758}, //Bar FC (Fort Carson) {82.7770,1029.0172,166.2384,1107.7979}, //Astro Drive-In {-109.3881,1066.0410,-72.0414,1092.0235}, //HI K69 {-1125.4196,-691.2325,-1000.8978,-592.4896},//Easter Bay Chemicals {-235.0558,964.8715,-197.8786,1002.7749}, //Sheriff FC (Fort Carson) {-357.9642,1024.5792,-288.6043,1082.5493}, //Medical Center FC (Fort Carson) {1014.1551,-1369.0173,1057.4797,-1326.6143},//Jim's Ring {947.1275,-1375.8172,980.5972,-1319.0284}, //Nude Shop 1 {1920.5684,-2160.0246,1966.3608,-2086.9016},//Nude Shop 2 {354.1763,159.5114,390.2758,188.7730}, //City Planning {-850.2185,1405.0168,-770.3840,1460.9217}, //Teepee Motel Las Barrancas {-841.3161,1488.4722,-807.6666,1512.0671}, //Bank Las Barrancas {-874.6656,1508.0708,-836.4210,1554.9456}, //Smokin' Beef Grill Las Barrancas {-815.7191,1538.1563,-757.5438,1573.4810}, //Cemetery Las Barrancas {-1865.4296,-23.3222,-1806.8930,157.2945}, //Solarin Industries SF {838.1036,-609.0953,885.6354,-559.1224}, //Solarin Industries Dillimore {-2522.489,480.0053,-2383.847,513.2156} //Federal Mint }; new Float:checkpoints[MAX_POINTS][3] = { {-22.2549,-55.6575,1003.5469}, //BANK {2000.3132,1538.6012,13.5859}, //PIRATE {291.0004,-84.5168,1001.5156}, //AMMUNATION {334.1316,-1801.4121,4.6441}, //PARKING {-295.4588,1753.7358,42.6913}, //WUESTE {-2513.4470,-609.8928,132.5625}, //SANFIER {-2250.6791,-1711.3979,480.1159}, //CHILIAD {1261.2923,-2029.0380,59.0897}, //FICK {702.5229,1937.5926,5.5390}, //RANCH {-522.7899,-480.7488,25.5178}, //CONTAIN {2280.7558,-60.5329,26.6998}, //HARRY {44.5494,-273.4158,1.8820}, //SPEDI {-2631.8413,1355.6398,7.1092}, //JIZPARK {-2463.0036,2233.4160,4.8437}, //GOLDEN {-1538.1010,-2750.0522,48.5338}, //RASTPL {-2404.4235,979.5437,45.2968}, //TANKSF {-1927.6372,2395.2031,49.6951}, //Wollo's Diner {1323.7875,-864.3778,39.5781}, //SUPERM {2081.5600,2173.3344,10.8203}, //MOTEL {-221.8855,2603.2478,62.7031}, //ASSWORLD {-2570.5954,656.5456,27.8125}, //MIDDLESF {-2767.4926,-300.5049,7.0390}, //SWISF {2325.0427,573.0281,7.7812}, //Parking Water Las Venturas {2782.4353,-2019.5404,13.5546}, //Playa del Seville {2789.8309,-2417.3437,13.6331}, //Ocean Docks {1922.5523,-1792.3041,13.3828}, //Little Calexico {1299.6951,-790.7866,1084.0078}, //Tomasu's Villa - Hinweis fr die Immobilie {-2668.1010,1275.7757,55.4296}, //Golden Gate Maut 1 {-2677.0625,1275.9514,55.4296}, //Golden Gate Maut 2 {-2686.3654,1275.8332,55.4296}, //Golden Gate Maut 3 {-2695.0629,1276.8385,55.4296}, //Golden Gate Maut 4 {1989.0619,1005.5241,994.4688}, //DRAGON {-103.5525,-22.4661,1000.7188}, //SEXSHOP {501.4927,-75.4323,998.7578}, //BAR {2235.5408,1679.0402,1008.3594}, //CALIGULA {161.1875,-79.9915,1001.8047}, //ZIP SHOP {207.5640,-97.8188,1005.2578}, //BINCO {-203.4864,-41.2045,1002.2734}, //TATTOO {418.5547,-80.1667,1001.8047}, //BOUTIQUE {246.5736,68.5010,1003.6406}, //Police Department Los Santos {376.0949,-125.8507,1001.5}, //PIZZA {218.443,-8.778273,1001.211}, //VICTIM {2238.0646,-1073.1875,1049.0234}, //APPLV1 {2221.5036,-1146.9135,1025.7968}, //BALMOT {828.84,6.28,1004.18}, //WETTLS {1722.99,-1662.53,20.23}, //RUSSEN {2495.8967,-1707.3192,1014.7421}, //CJ's Home {768.54,5.39,1000.71}, //Gym Los Santos {2282.53,-1135.93,1050.89}, //Appartment Los Santos 1 {2366.7756,-1127.4427,1050.8750}, //Appartment Los Santos 2 beach {-2029.74,-116.49,1035.17}, //Fahrschule San Fierro {2189.80,-1203.87,1049.02}, //Appartment San Fierro 1 {203.89,-40.13,1001.80}, //SubUrban {237.1221,154.6568,1003.0234}, //Police Department Las Venturas {1210.8288,0.3854,1000.9218}, //Lapdance Las Venturas {204.1570,-160.5292,1000.5234}, //DidierSachs {210.3244,-129.7080,1003.5151}, //ProLabs {-24.1169,-89.6520,1003.5468}, //69 Cent Store {488.6807,-16.3684,1000.6796}, //Alhambra LS {411.9724,-51.1428,1001.8984}, //BarberShop LS {2308.0419,-1209.9792,1049.0234}, //Appartment San Fierro 2 {768.4235,-36.6379,1000.6864}, //Cobra San Fierro {-203.3507,-5.9926,1002.2734}, //Hemlock Tattoo {2345.3737,-1184.6512,1027.9765}, //Appartment Los Santos 3 {823.9704,-1360.1958,-0.5078}, //Market Station {-2236.8469,131.2646,1035.4140}, //Zero RC {2333.4577,-1065.5781,1049.0234}, //Appartment Desert 1 {371.7903,-8.1479,1001.8588}, //Clucking Bell {-957.5618,1946.5062,9.0000}, //Staudamm {2232.7463,-1108.8959,1050.8828}, //Appartment San Fierro 3 {-203.7342,-24.5870,1002.2734}, //Tattoo Los Santos {412.2518,-18.9979,1001.8046}, //Reeces LS {1212.1810,-33.8915,1000.9531}, //Spread Ranch {268.8435,1883.9300,-30.0937}, //Military-Base {418.0054,2537.2509,10.0000}, //Old-Airport Desert {366.6295,-69.3357,1001.5078}, //BurgerShot {1264.5533,-781.0164,1091.9062}, //Tomasu's Villa {1099.5705,1601.4497,12.5468}, //Blackfield Stadium LV {2695.5703,-1704.6776,11.8437}, //LS Forum {1545.6925,-1355.0643,329.4713}, //Toby Tower {-1753.7583,884.9628,295.8750}, //Transamerica Pyramid {2318.7863,-1020.9025,1050.2109}, //House LV {1132.8443,-3.9757,1000.6796}, //Little Casino LV {771.9613,-70.4988,1000.6562}, //Gym LV {2632.3784,2345.4025,10.6718}, //Rock Hotel LV {-1664.3026,1211.4238,13.6718}, //Otto's Autos {-1954.0574,269.7690,41.0470}, //Wang Cars {-2649.6079,1409.3099,906.2734}, //Jizzy's Club {-1951.5045,703.5881,46.5625}, //Zombotech {-687.6343,937.5048,13.6328}, //Toreno's {-225.8835,1403.9053,27.7734}, //Alien Inn {625.1002,860.6751,-42.9534}, //Quarry {-29.5887,-22.7683,1003.5572}, //24/7 Gas LS {-49.8060,-271.7051,6.6331}, //Fleischberg {372.9767,-2042.3132,7.6718}, //Glocki's Funworld {1090.5750,1074.8109,10.8359}, //Gay Institute {1171.2351,1356.1182,10.9218}, //Turning Trick LV {-2186.0988,2415.6789,5.1651}, //Boat Training {681.9075,-443.3061,16.3359}, //Wollo's Booze-Up {-551.7255,2594.1037,53.9347}, //Desert Corp. {-844.5110,2745.1318,45.8515}, //Teepee Motel VO {-2119.9206,-444.1616,35.5312}, //Corvin Stadium {1893.5883,-1393.1596,13.9930}, //Bike Park {1445.8082,-2287.2690,13.5468}, //Airport LS {1677.8203,1447.9508,10.7755}, //Airport LV {-1423.3229,-289.0012,14.1484}, //Airport SF {-1605.7789,712.3699,13.8671}, //Police Department SF {-1557.6959,67.3817,17.3357}, //Container Ship {-2442.6381,753.7198,35.1718}, //SupaSave {646.8776,-1357.6041,13.5718}, //Interglobal Television {912.2399,-1235.2675,17.2109}, //Porn Studios {816.7348,-1103.0096,25.7914}, //Pet Sematary {2809.0698,-1170.4322,1025.5703}, //Texas Ted's {1479.5524,2251.3447,11.0234}, //Bandits {1671.6689,1837.3240,10.8203}, //Shody {1693.9270,2207.1738,11.0691}, //Steakhouse {2224.9511,2521.1044,10.8203}, //Lil' Church LV {2368.1025,1983.1153,10.8203}, //Venturas Steaks {2127.5937,2377.4326,10.8203}, //Emerald Isle {2811.0114,1985.4835,10.8203}, //General Store {2592.5327,2790.4194,10.8203}, //K.A.C.C. {1457.2172,2773.3142,10.8203}, //Golfclub LV {1743.0200,-1863.2572,13.5752}, //Unity Station LS {2033.7652,-1406.6008,17.2043}, //County General LS {1173.3361,-1323.6779,15.3931}, //Hospital Los Santos {2210.5585,-1076.1582,1050.4843}, //Appartment Las Venturas 2 {2018.7239,1916.4951,12.3415}, //The Visage {2489.7041,918.4732,11.0234}, //Wedding Chapel {2184.0280,1114.6263,12.6484}, //Cum-a-lot {2179.3759,1515.8020,10.8203}, //Royal Casino {1954.2573,1342.9367,15.3746}, //High Roller {2519.3989,2334.7719,10.8203}, //Dick's Sounds {-2155.7700,159.7976,35.3203}, //Dom's Rubbers {464.6152,-1286.8253,15.4043}, //Vinyl Countdown I {-2429.1469,-154.5251,35.3125}, //Bearded Clam {595.3121,-1249.6571,18.2575}, //Bank of San Andreas {-2430.8422,-109.5892,35.3125}, //Daily Globes {-2509.3305,-49.7783,25.6845}, //Hippy Shopper I {816.1358,-1388.1833,13.6151}, //Vinyl Countdown II {1129.1917,-1488.7598,22.7690}, //Verona Mall {-2589.3703,59.8107,4.3359}, //Hippy Shopper II {2296.5639,-2046.4754,13.5468}, //TG Stages {-1316.0478,507.8802,11.1953}, //Aircraft Carrier {-2024.7011,67.1639,28.4399}, //Fire Dept SF {-2461.4409,133.8137,35.1718}, //Biffin Bridge {-2571.4975,326.7640,10.5625}, //Uphill Gardener {-1799.7872,1198.8306,25.1193}, //Michelle's {-2409.4313,1548.2075,26.0468}, //Container II {-1692.0782,1353.2818,9.8046}, //Pier 69 {2131.6035,-1149.1105,24.3006}, //Coutt & Schutz {1207.2230,-1747.8962,13.5930}, //Conference Center {1081.3745,-1699.4384,13.5468}, //Papercuts {1070.0390,-1221.2318,16.8906}, //LS Fashions {1022.4758,-1123.6657,23.8702}, //Grauman's {511.6498,-1394.0573,16.1328}, //Alexanders' Toys {490.6021,-1412.1953,16.4627}, //COGS {462.2709,-1571.1584,25.5601}, //Ranch shop {270.6146,1358.3292,10.5859}, //Xoomer Corp {1859.3469,1031.7381,10.8203}, //Side Walk Market {1377.4139,1057.9172,10.8203}, //Sumo {-36.0946,2348.8627,24.3025}, //Snake Farm {-1394.6748,2640.8334,55.9037}, //Sheriff El Quebrados {-1465.4932,2609.4494,55.8359}, //Hotel El Quebrados {-1514.7950,2520.5058,55.8834}, //Medical Center El Quebrados {-2715.2189,197.9026,4.3281}, //Wheel Arch Angels {2473.2580,-1923.7556,13.5468}, //Lavanderia {2334.5576,31.0629,26.4839}, //Jazz Mags {-128.7057,-94.4323,6.4843}, //Easter Board Farm {88.7441,1181.8720,18.6640}, //Motel 1 FC (Fort Carson) {13.8945,1188.8284,19.3152}, //Motel 2 FC (Fort Carson) {-17.6784,1213.2038,22.4648}, //Motel 3 FC (Fort Carson) {-177.1096,1111.1511,19.7421}, //Motel 4 FC (Fort Carson) {-206.1822,1087.4699,19.7421}, //Hotel FC (Fort Carson) {-53.8957,1190.1075,19.3593}, //Diner FC (Fort Carson) {-91.0010,1190.5411,19.7421}, //Bowled Spot {-80.2155,1227.8806,22.4402}, //U Get Inn {-144.0545,1224.4249,19.8992}, //King Ring {-145.7822,1174.1182,19.7421}, //No1 Desert {-187.6864,1209.9916,19.7000}, //Cafe FC (Fort Carson) {-180.5114,1133.1048,19.7421}, //Bank FC (Fort Carson) {-180.5543,1088.3731,19.7421}, //Bar FC (Fort Carson) {110.4140,1105.5085,13.6093}, //Astro Drive-In {-99.1084,1084.3902,19.7421}, //HI K69 {-1066.8503,-636.3095,44.2145}, //Easter Bay Chemicals {-216.7966,979.0921,19.4982}, //Sheriff FC (Fort Carson) {-319.0040,1049.8969,20.3402}, //Medical Center FC (Fort Carson) {1038.2487,-1338.8876,13.7265}, //Jim's Ring {954.0816,-1335.7559,13.5387}, //Nude Shop 1 {1941.3050,-2115.9594,13.6953}, //Nude Shop 2 {364.5164,173.6797,1008.3828}, //City Planning {-828.3547,1439.5151,13.9586}, //Teepee Motel Las Barrancas {-828.1237,1503.1181,19.6347}, //Bank Las Barrancas {-857.3404,1536.3547,22.5870}, //Smokin' Beef Grill Las Barrancas {-796.4035,1556.9880,27.1244}, //Cemetery Las Barrancas {-1823.9381,42.1780,15.1227}, //Solarin Industries SF {854.5914,-603.3709,18.4218}, //Solarin Industries Dillimore {-2450.907,503.7573,30.08466} //Federal Mint }; new checkpointType[MAX_POINTS] = { CP_BANK, CP_PIRATE, CP_AMMU, CP_PARKING, CP_WUESTE, CP_SANFIER, CP_CHILIAD, CP_FICK, CP_RANCH, CP_CONTAIN, CP_HARRY, CP_SPEDI, CP_JIZPARK, CP_GOLDEN, CP_RASTPL, CP_TANKSF, CP_DINER, CP_SUPERM, CP_MOTEL, CP_ASSWORLD, CP_MIDDLESF, CP_SWISF, CP_PARKWAT, //Parking Water Las Venturas CP_PLAYASEV, CP_OCEANDOC, CP_LILMEX, CP_TOMVILHI, CP_GOGAMAU1, CP_GOGAMAU2, CP_GOGAMAU3, CP_GOGAMAU4, CP_DRAGON, CP_SEXSHOP, CP_BAR, CP_CALIGULA, CP_ZIP, CP_BINCO, CP_TATOO, CP_BOUTIQUE, CP_POLDEPLS, //Police Department Los Santos CP_PIZZA, CP_VICTIM, CP_APPLV1, //Casino Appartment Las Venturas CP_BALMOT, //Ballas Motel Los Santos CP_WETTLS, //Wettbro Los Santos CP_RUSSEN, //Russen-Hauptquartier CP_CJHOME, //CJ's Home CP_GYMLS, //Gym Los Santos CP_APPLS1, //Appartment Los Santos 1 CP_APPLS2, //Appartment Los Santos 2 CP_SCHOOLSF, //Fahrschule San Fierro CP_APPSF1, //Appartment San Fierro 1 CP_SUBURBAN, //SubUrban CP_POLDEPLV, //Police Department Las Venturas CP_LAPDANCE, //Lapdance Las Venturas CP_DIDIER, //Didier Sachs LS CP_PROLAPS, //ProLaps LS CP_69CENT, //69 Cent Store LS CP_ALHAMBRA, //Alhambra LS CP_BARBER, //BarberShop LS CP_APPSF2, //Appartment San Fierro 2 CP_COBRA, //Cobra San Fierro CP_HEMLOCK, //Hemlock Tattoo CP_APPLS3, //Appartment Los Santos 3 CP_MARKSTAT, //Market Station CP_ZERORC, //Zero RC CP_APPD1, //Appartment Desert 1 CP_CLUCKBEL, //Clucking Bell CP_STAUDAMM, //Staudamm CP_APPSF3, //Appartment San Fierro 3 CP_TATTOOLS, //Tattoo Los Santos CP_REECES, //Reeces LS CP_SPRANCH, //Spread Ranch CP_MILITARY, //Military-Base CP_OLDAIRP, //Old-Airport Desert CP_BURGSHOT, //BurgerShot CP_TOMVILLA, //Tomasu's Villa CP_STADIULV, //Blackfield stadium LV CP_STADIULS, //LS Forum CP_TOBTOWER, //Toby Tower CP_PYRAMID, //Transamerica Pyramid CP_HOUSELV, //House LV CP_LILCASNO, //Little Casino LV CP_GYMLV, //Gym LV CP_ROKHOTEL, //Rock Hotel LV CP_OTTO, //Otto's Autos CP_WANGCARS, //Wang Cars CP_JIZZY, //Jizzy's Club CP_ZOMBO, //Zombotech CP_TORENO, //Toreno's CP_ALIENINN, //Alien Inn CP_QUARRY, //Quarry CP_GASLS, //24/7 Gas LS CP_FLEIBERG, //Fleischberg CP_GLOCKIS, //Glocki's Funworld CP_GAYINST, //Gay Institute CP_TTRICKLV, //Turning Trick LV CP_BOATRAIN, //Boat Training CP_WOLLOS, //Wollo's Booze-Up CP_DESCORP, //Desert Corp. CP_TEEPEEVO, //Teepee Motel VO CP_CORVINST, //Corvin Stadium CP_BIKEPARK, //Bike Park CP_AIRPORLS, //Airpot LS CP_AIRPORLV, //Airpot LV CP_AIRPORSF, //Airpot SF CP_POLDEPSF, //Police Department SF CP_CONTAINA, //Container Ship CP_SUPASAVE, //SupaSave CP_INTERTV, //Interglobal Television CP_PORNSTDS, //Porn Studios CP_GRAVE, //Pet Sematary CP_TEXASTED, //Texas Ted's CP_BANDITS, //Bandits CP_SHODY, //Shody CP_STEAKHS, //Steakhouse CP_LILCHURC, //Lil' Church LV CP_LVSTEAKS, //Venturas Steaks CP_EMERALD, //Emerald Isle CP_GENSTORE, //General Store CP_KACC, //K.A.C.C. CP_GOLFLV, //Golfclub LV CP_UNITYLS, //Unity Station LS CP_GENERALS, //County General LS CP_HOSPITLS, //Hospital Los Santos CP_CLOWNS, //Appartment Las Venturas 2 CP_VISAGE, //The Visage CP_WEDDING , //Wedding Chapel CP_CUMALOT , //Cum-a-lot CP_ROYALCAS , //Royal Casino CP_HIROLLER , //High Roller CP_DICKS , //Dick's Sounds CP_RUBBERS , //Dom's Rubbers CP_VINYL1 , //Vinyl Countdown I CP_BEARCLAM , //Bearded Clam CP_BANKSA , //Bank of San Andreas CP_DAILYGLO , //Daily Globes CP_HIPPY1 , //Hippy Shopper I CP_VINYL2 , //Vinyl Countdown II CP_VERONA , //Verona Mall CP_HIPPY2 , //Hippy Shopper II CP_TGSTAGES , //TG Stages CP_CARRIER , //Aircraft Carrier CP_FIRESF , //Fire Dept SF CP_BIFFIN , //Biffin Bridge CP_UPHILL , //Uphill Gardener CP_MICHELLE , //Michelle's CP_CONTAIN2 , //Container II CP_PIER69 , //Pier 69 CP_COUTTSCH , //Coutt & Schutz CP_CONFEREN , //Conference Center CP_PAPERCUT , //Papercuts CP_LSFASHN , //LS Fashions CP_GRAUMANS , //Grauman's CP_ALEXTOYS , //Alexanders' Toys CP_COGS , //COGS CP_RANCHSHP , //Ranch CP_XOOMER , //Xoomer Corp CP_SIDEWALK , //Side Walk Market CP_SUMO , //Sumo CP_SNAKE , //Snake Farm CP_SHERIFF , //Sheriff El Quebrados CP_HOTELEQ , //Hotel El Quebrados CP_MEDICAL , //Medical Center El Quebrados CP_WHEEL , //Wheel Arch Angels CP_LAVANDER , //Lavanderia CP_JAZZMAGS , //Jazz Mags CP_EASTER , //Easter Board Farm CP_MOTFC1 , //Motel 1 FC (Fort Carson) CP_MOTFC2 , //Motel 2 FC (Fort Carson) CP_MOTFC3 , //Motel 3 FC (Fort Carson) CP_MOTFC4 , //Motel 4 FC (Fort Carson) CP_HOTELFC , //Hotel FC (Fort Carson) CP_DINERFC , //Diner FC (Fort Carson) CP_BOWLED , //Bowled Spot CP_UGETINN , //U Get Inn CP_KINGRING , //King Ring CP_NO1DESER , //No1 Desert CP_CAFEFC , //Cafe FC (Fort Carson) CP_BANKFC , //Bank FC (Fort Carson) CP_BARFC , //Bar FC (Fort Carson) CP_ASTRO , //Astro Drive-In CP_HIK69 , //HI K69 CP_CHEMICAL , //Easter Bay Chemicals CP_SHERIFFC , //Sheriff FC (Fort Carson) CP_MEDCENFC , //Medical Center FC (Fort Carson) CP_JIMSRING , //Jim's Ring CP_NUDESHP1 , //Nude Shop 1 CP_NUDESHP2 , //Nude Shop 2 CP_CITYPLAN , //City Planning CP_TEEPEELB , //Teepee Motel Las Barrancas CP_BANKLB , //Bank Las Barrancas CP_SMOKBEEF , //Smokin' Beef Grill Las Barrancas CP_CEMLB , //Cemetery Las Barrancas CP_SOLARSF , //Solarin Industries SF CP_SOLARD , //Solarin Industries Dillimore CP_FEDMINT //Federal Mint }; #define MAX_PROPERTIES 166 new propertyNames[MAX_PROPERTIES][32] = { "Four Dragons LV", "Sex Shop LV", "Bar - $20000", "Caligula LV", "Zip Shop", "Binco Shop", "Tattoo Parlor", "Boutique", "Police Department LS", "Pizza", "Victim", "Appartment LV", "Ballas Motel LS", "Wettbro LS", "Vodka Inn LS", //Russen-Hauptquartier "CJ's Home LS", "Gym LS", "Appartment LS (1)", "Appartment LS (2)", "Turning Trick SF", "Appartment SF (1)", "SubUrban SF", "Police Department LV", "Lapdance LV", "DidierSachs LS", "ProLaps LS", "69CentStore LS", "Alhambra LS", "BarberShop", "Appartment SF (2)", "Cobra SF", "Hemlock Tattoo SF", "Appartment LS (3)", "Market Station LS", "Zero RC", "Appartment Desert", "Clucking Bell", "Dam", "Appartment SF (3)", "Tattoo LS", "Reeces LS", "Spread Ranch", "MilitaryBase", "Old Airport", "BurgerShot", "Tomasu's Villa LS", "Blackfield Stadium", "LS Forum", "Toby Tower LS", "MagnusCorp Pyramid", "House LV", "Lil' Casino LV", "Gym LV", "Rock Hotel LV", "Otto's Autos", "Wang Cars", "Jizzy's Club", "Zombotech", "Toreno's", "Alien Inn", "Quarry", "24/7 Gas LS", "Fleischberg", "Glocki's Funworld", "Greenglass College", "Turning Trick LV", "Boat Training", "Wollo's BoozeUp", "Tierra Robada Corp", "Teepee Motel VO", "Corvin Stadium", "Bike Park", "Airpot LS", "Airpot LV", "Airpot SF", "Police Department SF", "Container I", "SupaSave", "Interglobal TV", "Porn Studios", "Pet Sematary", "Texas Ted's", "Bandits", "Shody", "Steakhouse", "Lil' Church LV", "Venturas Steaks", "Emerald Isle", "General Store", "K.A.C.C.", "Golfclub LV", "Unity Station LS", "County General LS", "Hospital LS", "Appartment LV (2)", "Visage", "Wedding Chapel", "Cum-a-lot", "Royal Casino", "High Roller", "Dick's Sounds", "Dom's Rubbers", "Vinyl Countdown I", "Bearded Clam", "Bank of SA", "Daily Globes", "Hippy Shopper I", "Vinyl Countdown II", "Verona Mall", "Hippy Shopper II", "TG Stages", "AircraftCarrier", "Fire Dept SF", "Biffin Bridge", "Uphill Gardener", "Michelle's", "Container II", "Pier 69", "Coutt & Schutz", "ConferenceCenter", "Papercuts", "LS Fashions", "Grauman's", "Alexanders' Toys", "COGS", "Ranch", "Xoomer Corp", "Side Walk Market", "Sumo", "Snake Farm", "Sheriff El Q", "Hotel El Q", "Med. Center El Q", "Wheel Arch Angels", "Lavanderia", "Jazz Mags", "Easter Board Farm0", "Motel 1 FC", "Motel 2 FC", "Motel 3 FC", "Motel 4 FC", "Hotel FC", "Diner FC", "Bowled Spot", "U Get Inn", "King Ring", "No1 Desert", "Cafe FC", "Bank FC", "Bar FC", "Astro Drive-In", "HI K69", "EasterBayChemicals", "Sheriff FC", "Med. Center FC", "Jim's Ring", "Nude Shop 1", "Nude Shop 2", "City Planning", "Teepee Motel LB", "Bank LB", "Smokin'Beef Grill LB", "Cemetery LB", "SolarinInd. SF", "SolarinInd.Dillimore", "Federal Mint" }; new propertyValues[MAX_PROPERTIES] = { 15000000 , // Four Dragons LV 5000000 , // Sex Shop LV 20000 , // Shithole Bar 25000000 , // Caligula LV 15000 , // Zip Shop 10000 , // Binco Shop 10000 , // Tattoo Parlor 15000 , // Boutique 20000 , // Police Department LS 20000 , // Pizza 15000 , // Victim 15000 , // Appartment LV 10000 , // Ballas Motel LS 20000 , // Wettbro LS 40000 , // Vodka Inn LS 15000 , // CJ's Home LS 20000 , // Gym LS 15000 , // Appartment LS (1) 15000 , // Appartment LS (2) 25000 , // Fahrschule SF 15000 , // Appartment SF (1) 15000 , // SubUrban SF 25000 , // Police Department LV 20000 , // Lapdance LV 20000 , // DidierSachs LS 20000 , // ProLaps LS 20000 , // 69CentStore LS 30000 , // Alhambra LS 15000 , // BarberShop 15000 , // Appartment SF (2) 20000 , // Cobra SF 10000 , // Hemlock Tattoo SF 15000 , // Appartment LS (3) 25000 , // Market Station LS 20000 , // Zero RC 15000 , // Appartment Desert 20000 , // Clucking Bell 90000 , // Dam 15000 , // Appartment SF (3) 10000 , // Tattoo LS 20000 , // Reeces LS 25000 , // Spread Ranch 110000 , // MilitaryBase 50000 , // Old Airport 25000 , // BurgerShot 30000 , // Tomasu's Villa LS 60000 , // Blackfield Stadium 40000 , // LS Forum 70000 , // Toby Tower LS 40000 , // MagnusCorp Pyramid 15000 , // House LV 65000 , // Lil' Casino LV 20000 , // Gym LV 30000 , // Rock Hotel LV 30000 , // Otto's Autos 40000 , // Wang Cars 30000 , // Jizzy's Club 30000 , // Zombotech 25000 , // Toreno's 10000 , // Alien Inn 100000 , // Quarry 10000 , // 24/7 Gas LS 40000 , // Fleischberg 70000 , // Glocki's Funworld 30000 , // Gay Institute 50000 , // Turning Trick LV 20000 , // Boat Training 15000 , // Wollo's Booze-Up 30000 , // Desert Corp. 15000 , // Teepee Motel VO 40000 , // Corvin Stadium 5000 , // Bike Park 130000 , // Airpot LS 130000 , // Airpot LV 130000 , // Airpot SF 20000 , // Police Department SF 50000 , // Container Ship 15000 , // SupaSave 30000 , // Interglobal Television 50000 , // Porn Studios 20000 , // Pet Sematary 25000 , // Texas Ted's 50000 , // Bandits 30000 , // Shody 25000 , // Steakhouse 5000 , // Lil' Church LV 20000 , // Venturas Steaks 60000 , // Emerald Isle 15000 , // General Store 60000 , // K.A.C.C. 100000 , // Golfclub LV 60000 , // Unity Station LS 40000 , // County General LS 40000 , // Hospital Los Santos 5000 , // Appartment Las Venturas 2 60000 , // The Visage 10000 , // Wedding Chapel 100000 , // Cum-a-lot 90000 , // Royal Casino 30000 , // High Roller 10000 , // Dick's Sounds 10000 , // Dom's Rubbers 15000 , // Vinyl Countdown I 10000 , // Bearded Clam 100000 , // Bank of San Andreas 5000 , // Daily Globes 20000 , // Hippy Shopper I 30000 , // Vinyl Countdown II 80000 , // Verona Mall 40000 , // Hippy Shopper II 25000 , // TG Stages 100000 , // Aircraft Carrier 20000 , // Fire Dept SF 50000 , // Biffin Bridge 10000 , // Uphill Gardener 15000 , // Michelle's 60000 , // Container II 35000 , // Pier 69 10000 , // Coutt & Schutz 70000 , // Conference Center 25000 , // Papercuts 7000 , // LS Fashions 50000 , // Grauman's 10000 , // Alexanders' Toys 5000 , // COGS 17000 , // Ranch shop 30000 , // Xoomer Corp 7000 , // Side Walk Market 25000 , // Sumo 10000 , // Snake Farm 7000 , // Sheriff El Quebrados 100000 , // Hotel El Quebrados 17000 , // Medical Center El Quebrados 15000 , // Wheel Arch Angels 5000 , // Lavanderia 17000 , // Jazz Mags 60000 , // Easter Board Farm 17000 , // Motel 1 FC 17000 , // Motel 2 FC 17000 , // Motel 3 FC 15000 , // Motel 4 FC 25000 , // Hotel FC 25000 , // Diner FC 25000 , // Bowled Spot 10000 , // U Get Inn 7000 , // King Ring 10000 , // No1 Desert 10000 , // Cafe FC 25000 , // Bank FC 75000 , // Bar FC 15000 , // Astro Drive-In 10000 , // HI K69 80000 , // Easter Bay Chemicals 7000 , // Sheriff FC 17000 , // Medical Center FC 20000 , // Jim's Ring 25000 , // Nude Shop 1 25000 , // Nude Shop 2 40000 , // City Planning 25000 , // Teepee Motel LB 45000 , // Bank LB 15000 , // Smokin' Beef Grill LB 20000 , // Cemetery LB 40000 , // Solarin Industries SF 30000 , // Solarin Industries Dillimore 50000 // Federal Mint }; new propertyEarnings[MAX_PROPERTIES] = { 150000 , // Four Dragons LV 50000 , // Sex Shop LV 600 , // Shithole Bar 250000 , // Caligula LV 500 , // Zip Shop 750 , // Binco Shop 720 , // Tattoo Parlor 399 , // Boutique 2500 , // Police Department LS 2400 , // Pizza 2600 , // Victim 2650 , // Appartment LV 850 , // Ballas Motel LS 950 , // Wettbro LS 3210 , // Vodka Inn LS 600 , // CJ's Home LS 2540 , // Gym LS 5698 , // Appartment LS (1) 5874 , // Appartment LS (2) 5687 , // Fahrschule SF 2541 , // Appartment SF (1) 2687 , // SubUrban SF 3698 , // Police Department LV 2500 , // Lapdance LV 2541 , // DidierSachs LS 2568 , // ProLaps LS 699 , // 69CentStore LS 2569 , // Alhambra LS 5987 , // BarberShop 2510 , // Appartment SF (2) 1458 , // Cobra SF 1458 , // Hemlock Tattoo SF 1457 , // Appartment LS (3) 1478 , // Market Station LS 1567 , // Zero RC 2650 , // Appartment Desert 2500 , // Clucking Bell 999 , // Dam 2596 , // Appartment SF (3) 2541 , // Tattoo LS 2563 , // Reeces LS 2134 , // Spread Ranch 350000 , // MilitaryBase 2574 , // Old Airport 2145 , // BurgerShot 3214 , // Tomasu's Villa LS 5000 , // Blackfield Stadium 5421 , // LS Forum 3145 , // Toby Tower LS 1254 , // MagnusCorp Pyramid 987 , // House LV 4500 , // Lil' Casino LV 2500 , // Gym LV 2500 , // Rock Hotel LV 2500 , // Otto's Autos 2500 , // Wang Cars 3000 , // Jizzy's Club 2000 , // Zombotech 1500 , // Toreno's 5000 , // Alien Inn 5000 , // Quarry 500 , // 24/7 Gas LS 3000 , // Fleischberg 1500 , // Glocki's Funworld 3500 , // Gay Institute 2000 , // Turning Trick LV 3000 , // Boat Training 2000 , // Wollo's Booze-Up 2000 , // Desert Corp. 2000 , // Teepee Motel VO 2500 , // Corvin Stadium 2000 , // Bike Park 6500 , // Airpot LS 6500 , // Airpot LV 6500 , // Airpot SF 2500 , // Police Department SF 2500 , // Container Ship 2000 , // SupaSave 2200 , // Interglobal Television 2500 , // Porn Studios 1500 , // Pet Sematary 2000 , // Texas Ted's 4500 , // Bandits 2000 , // Shody 2000 , // Steakhouse 750 , // Lil' Church LV 555 , // Venturas Steaks 3500 , // Emerald Isle 587 , // General Store 4000 , // K.A.C.C. 4988 , // Golfclub LV 3000 , // Unity Station LS 3000 , // County General LS 3000 , // Hospital Los Santos 1000 , // Appartment Las Venturas 2 4000 , // The Visage 3000 , // Wedding Chapel 5000 , // Cum-a-lot 5000 , // Royal Casino 2000 , // High Roller 1000 , // Dick's Sounds 1000 , // Dom's Rubbers 2000 , // Vinyl Countdown I 2000 , // Bearded Clam 3500 , // Bank of San Andreas 2000 , // Daily Globes 5000 , // Hippy Shopper I 2000 , // Vinyl Countdown II 4000 , // Verona Mall 2500 , // Hippy Shopper II 1500 , // TG Stages 5500 , // Aircraft Carrier 5000 , // Fire Dept SF 2500 , // Biffin Bridge 3000 , // Uphill Gardener 2000 , // Michelle's 4000 , // Container II 2500 , // Pier 69 1000 , // Coutt & Schutz 3000 , // Conference Center 1000 , // Papercuts 2500 , // LS Fashions 4000 , // Grauman's 1000 , // Alexanders' Toys 4000 , // COGS 1200 , // Ranch shop 2800 , // Xoomer Corp 3000 , // Side Walk Market 2500 , // Sumo 3500 , // Snake Farm 3000 , // Sheriff El Quebrados 2000 , // Hotel El Quebrados 3000 , // Medical Center El Quebrados 1000 , // Wheel Arch Angels 2500 , // Lavanderia 1200 , // Jazz Mags 4000 , // Easter Board Farm 1600 , // Motel 1 FC 1600 , // Motel 2 FC 1600 , // Motel 3 FC 1500 , // Motel 4 FC 2500 , // Hotel FC 1000 , // Diner FC 1000 , // Bowled Spot 3000 , // U Get Inn 4000 , // King Ring 6000 , // No1 Desert 2000 , // Cafe FC 1000 , // Bank FC 1500 , // Bar FC 3000 , // Astro Drive-In 2500 , // HI K69 6000 , // Easter Bay Chemicals 2500 , // Sheriff FC 1500 , // Medical Center FC 1300 , // Jim's Ring 1500 , // Nude Shop 1 1500 , // Nude Shop 2 3000 , // City Planning 1500 , // Teepee Motel LB 3500 , // Bank LB 2500 , // Smokin' Beef Grill LB 1500 , // Cemetery LB 3500 , // Solarin Industries SF 2500 , // Solarin Industries Dillimore 4000 // Federal Mint }; 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,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,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,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 }; //je property eine 999 #define MAX_WEAPONS 47 #define MAX_SPAWNWEAPONS 10 new weaponNames[MAX_WEAPONS][32] = { "Unarmed", "Brass Knuckles", //crash game "Golf Club", "Night Stick", "Knife", "Baseball Bat", "Shovel", "Pool Cue", "Katana", "Chainsaw", "Purple Dildo", "White Dildo", "Long White Dildo", "White Dildo 2", "Flowers", "Cane", "Grenades", //crash game "Tear Gas", //crash game "Molotovs", //crash game "UNKNOWN", "UNKNOWN", "UNKNOWN", "Pistol", "Silenced Pistol", "Desert Eagle", "Shotgun", "Sawn Off Shotgun", "Combat Shotgun", "Micro Uzi (Mac 10)", "MP5", "AK47", "M4", "Tec9", "Rifle", "Sniper Rifle", "RPG", "Missile Launcher", "Flame Thrower", "Minigun", "Sachel Charges", //crash game "Detonator", //crash game "Spray Paint", "Fire Extinguisher", "Camera", "Nightvision Goggles", //crash game "Thermal Goggles", //crash game "Parachute" }; new spawnWeapons[MAX_SPAWNWEAPONS][3] = { {23,34,4000}, {25,15,7000}, {27,20,15000}, {28,120,7000}, {32,120,5000}, {29,120,15000}, {30,120,25000}, {31,120,30000}, {9,0,70000}, {26,15,25000} }; new playerWeapons[MAX_PLAYERS][MAX_SPAWNWEAPONS]; //---> Pit Boss #define MAX_GAMBLINGFEE 100000 #define MIN_GAMBLINGFEE 1 #define MAX_CASINO 2 new casinoVehicles[MAX_CASINO][2] = { {1,2}, {3,4} }; new gamblingFee[MAX_CASINO] = { 300, 300 }; new Float:gambleAreas[MAX_CASINO][4] = { {1928.1771,987.5739, 1970.5675,1042.8369}, //Four Dragons {2171.3618,1584.2649, 2279.4915,1628.6199} //Caligula's }; new pbGameText = 1; //---> WANG EXPORT VEHICLES #define MAX_WANGEXPORTVEHICLES 15 // Maximum Wang Export vehicles new wantedWangExportVehicle; // Wanted Wang Export vehicle model id new wantedWangExportVehicles[MAX_WANGEXPORTVEHICLES] = { // Wanted Wang Exports modelid's 400, 411, 434, 451, 461, 463, 468, 470, 480, 482, 495, 535, 541, 567, 603 }; new wantedWangExportVehicleNames[MAX_WANGEXPORTVEHICLES][32] = { // Wanted Wang Exports vehicle names (match modelid's) "Landstalker", "Infernus", "Hotknife", "Turismo", "PCJ-600", "Freeway", "Sanchez", "Patriot", "Comet", "Burrito", "Sandking", "Slamvan", "Bullet", "Savanna", "Phoenix" }; //---> Gang DM #define MAX_DMZONES 9 // Maximum gang deathmatch zones new Float:dmCoords[MAX_DMZONES][4] = { // dm coordinates {-1940.5177,-1794.1295,-1658.0635,-1535.5846}, {2336.2014,-1724.6854,2542.1138,-1625.6139}, {1153.1282,197.6021,1531.6736,435.2268}, {2496.7122,2616.0457,2749.8606,2858.5027}, {-939.4901,1384.7155,-707.3583,1636.4291}, {2374.1794,-2696.3215,2810.3977,-2330.2258}, {-1679.7235,2459.0403,-1274.9779,2756.8276}, {-1470.3805,486.9461,-1243.6833,520.1677}, {-2851.9526,-1818.3044,-2642.0146,-1270.1024} }; new Float:dmSpawnCoords[MAX_DMZONES][6] = { // dm spawn coordinates [spawn1x,spawn1y,spawn1z,spawn2x,spawn2y,spawn2z] {-1860.3270,-1555.7944,27.7882,-1852.2899,-1709.3114,23.2031}, {2350.9478,-1633.9509,16.3725,2517.8013,-1721.8979,18.5821}, {1447.7856,362.7201,18.9239,1247.3853,204.2742,23.0547}, {2511.5542,2850.3467,14.8222,2599.9905,2679.6770,14.2559}, {-938.8171,1427.7638,30.4340,-734.1335,1546.4265,39.0080}, {2790.4875,-2378.6331,16.2244,2414.8733,-2651.1584,17.9107}, {-1308.0055,2544.7805,87.7422,-1665.8292,2551.0815,88.3455}, {-1462.5336,489.2468,3.0414,-1358.9319,497.6422,24.2969}, {-2798.1133,-1360.4624,132.4197,-2816.5259,-1652.0499,141.5092} }; new dmGangs[MAX_DMZONES][2] = { // dm gangs (2 per zone) {0,0}, {0,0}, {0,0}, {0,0}, {0,0}, {0,0}, {0,0}, {0,0}, {0,0} }; new dmNames[MAX_DMZONES][32] = { // dm zone names "Whetstone", "Grove Street", "Montgomery", "K.A.C.C. Military Fuels", "Las Barrancas", "Ocean Docks", "El Quebrados", "Easter Basin", "Mount Chiliad" }; new dmWeapons[MAX_DMZONES][2] = { // dm weapons [weaponid,ammo] {6,0}, {32,1500}, {30,1500}, {38,5000}, {24,120}, {27,120}, {22,240}, {23,170}, {24,120} }; new dmPlayers[MAX_PLAYERS]; #define MAX_SAVE 64 new savedInfo[MAX_SAVE][4]; new savedNames[MAX_SAVE][MAX_PLAYER_NAME]; new savedWeapons[MAX_SAVE][MAX_SPAWNWEAPONS]; #define MAX_GANGS 32 #define MAX_GANG_MEMBERS 6 #define MAX_GANG_NAME 16 new gangMembers[MAX_GANGS][MAX_GANG_MEMBERS]; new gangNames[MAX_GANGS][MAX_GANG_NAME]; new gangInfo[MAX_GANGS][3]; //0-created,1-members,2-color new gangBank[MAX_GANGS]; new playerGang[MAX_PLAYERS]; new gangInvite[MAX_PLAYERS]; //Round code stolen from mike's Manhunt :P //new gRoundTime = 3600000; // Round time - 1 hour //new gRoundTime = 1200000; // Round time - 20 mins //new gRoundTime = 900000; // Round time - 15 mins //new gRoundTime = 600000; // Round time - 10 mins //new gRoundTime = 300000; // Round time - 5 mins //new gRoundTime = 120000; // Round time - 2 mins //new gRoundTime = 60000; // Round time - 1 min new gActivePlayers[MAX_PLAYERS]; new gLastGaveCash[MAX_PLAYERS]; //------------------------------------------------------------------------------------------------------ main() { print("\n--------------------------------------------------------------"); print(" Running LVDM ~MoneyGrub(+LandGrab) +PitBoss+GangDM +166Props"); print("--------------------------------------------------------------"); print(" Coded By Jax (+Sintax) [LVDM ~MoneyGrub(+LandGrab)]"); print(" Coded By Betamaster [+PitBoss+GangDM]"); print(" Coded By Sacky and Snake [166Props]"); print(" Coded By Davo [Admin-script"); print("--------------------------------------------------------------\n"); worldTime = 13; } //------------------------------------------------------------------------------------------------------ public PlayerLeaveGang(playerid) { new string[256]; new playername[MAX_PLAYER_NAME]; new gangnum = playerGang[playerid]; if(gangnum > 0) { for(new i = 0; i < gangInfo[gangnum][1]; i++) { if(gangMembers[gangnum][i]==playerid) { //One less gang member gangInfo[gangnum][1]--; for(new j = i; j < gangInfo[gangnum][1]; j++) { //Shift gang members gangMembers[gangnum][j]=gangMembers[gangnum][j+1]; } //Disband gang if no more members if(gangInfo[gangnum][1]<1) { gangInfo[gangnum][0]=0; gangInfo[gangnum][1]=0; gangBank[gangnum]=0; } //Notify other members for(new j = 0; j < gangInfo[gangnum][1]; j++) { GetPlayerName(playerid, playername, MAX_PLAYER_NAME); format(string, sizeof(string),"%s has quit your gang.", playername); SendClientMessage(gangMembers[gangnum][j], COLOR_ORANGE, string); if(j==0) { AutoLockCasinoVehicles(gangMembers[gangnum][j]); } } format(string, sizeof(string),"You have quit the gang '%s' (id: %d)", gangNames[gangnum], gangnum); SendClientMessage(playerid, COLOR_ORANGE, string); playerGang[playerid]=0; SetPlayerColor(playerid,playerColors[playerid]); return; } } } else { SendClientMessage(playerid, COLOR_RED, "You are not in a gang."); } } public getCheckpointType(playerID) { return checkpointType[playerCheckpoint[playerID]]; } public isPlayerInArea(playerID, Float:data[4]) { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerID, X, Y, Z); if(X >= data[0] && X <= data[2] && Y >= data[1] && Y <= data[3]) { return 1; } return 0; } public PayPlayerInArea(playerID, Float:x1, Float:y1, Float:x2, Float:y2, cash) { if(IsPlayerConnected(playerID)) { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerID, X, Y, Z); if(X >= x1 && X <= x2 && Y >= y1 && Y <= y2) { GivePlayerMoney(playerID, cash); return 1; } } return 0; } //------------------------------------------------------------------------------------------------------ public TimeUpdate() { worldTime++; worldTime%=24; SetWorldTime(worldTime); if(worldTime==6 || worldTime==12 || worldTime==18) { new string[256]; new n = random(MAX_WANGEXPORTVEHICLES); format(string, sizeof(string),"*** Wang Exports are currently buying %s's ***", wantedWangExportVehicleNames[n]); SendClientMessageToAll(COLOR_YELLOW, string); wantedWangExportVehicle = wantedWangExportVehicles[n]; } } //------------------------------------------------------------------------------------------------------ public UnlockVehicleUpdate() { new i,j; new vehicleDriver = 0; for(i=MAX_CASINO*2+1;i<=sizeof(vehicleModel);i++) { for(j=0;j= gamblingFee[j]) { if(owner!=999) { GetPlayerName(owner, ownername, MAX_PLAYER_NAME); format(string, sizeof(string), "You don't own this casino! Pay a $%d gambling fee to %s at once!",gamblingFee[j],ownername); } else { format(string, sizeof(string), "You don't own this casino! Pay a $%d gambling fee at once!",gamblingFee[j]); } SendClientMessage(i, COLOR_RED, string); GivePlayerMoney(i, 0-gamblingFee[j]); if(IsPlayerConnected(owner)) { GivePlayerMoney(owner,gamblingFee[j]); } } else { SendClientMessage(i, COLOR_RED, "You can't afford to gamble here! Leave at once!"); } } else { //SendClientMessage(i, COLOR_YELLOW, "Welcome back."); } } } } } } //------------------------------------------------------------------------------------------------------ public checkpointUpdate() { for(new i=0; i CashScoreOld) { CashScoreOld = CashScore; //format(string, sizeof(string), "$$$ %s is now in the lead $$$", name); //SendClientMessageToAll(COLOR_YELLOW, string); } } } } //------------------------------------------------------------------------------------------------------ /*public GrubModeReset() { for(new i=0; i= MAX_SAVE) savePos = 0; PlayerLeaveGang(playerid); bounty[playerid] = 0; for(new i = 0; i < MAX_SPAWNWEAPONS;i++) { playerWeapons[playerid][i]=0; } } //------------------------------------------------------------------------------------------------------ public OnPlayerCommandText(playerid, cmdtext[]) { new string[256]; new playermoney; new sendername[MAX_PLAYER_NAME]; new giveplayer[MAX_PLAYER_NAME]; new cmd[256]; new giveplayerid, moneys, idx, weaponid; cmd = strtok(cmdtext, idx); //------------------- /help if(strcmp(cmd, "/help", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,"Hello,%s "); SendClientMessage(playerid, COLOR_GREEN,"LV MoneyGrub(+LandGrab)+PitBoss+GangDM Help"); SendClientMessage(playerid, COLOR_YELLOW,"This is a freeroam gamemode where you can kill players to receive their money, hold"); SendClientMessage(playerid, COLOR_YELLOW,"the pirate ship or sell cars to earn money, buy properties to constantly gain money,"); SendClientMessage(playerid, COLOR_YELLOW,"or gamble to try your luck at winning money. You can visit ATMs in 24x7 stores to bank"); SendClientMessage(playerid, COLOR_YELLOW,"your money. You can use the /hitman command to put a bounty on someone's head and"); SendClientMessage(playerid, COLOR_YELLOW,"/givecash to send money to other players. You can purchase weapons in Ammunation stores"); SendClientMessage(playerid, COLOR_YELLOW,"to keep every time you spawn."); SendClientMessage(playerid, COLOR_ORANGE,"Type /commands for a full list of commands, and /gangcommands for a list of gang commands."); SendClientMessage(playerid, COLOR_LIGHTBLUE,"Limousine's are only available to Casino owners and their gang members."); return 1; } if(strcmp(cmd, "/commands", true) == 0) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"Available commands:"); SendClientMessage(playerid, COLOR_YELLOW,"/bank [amount], /withdraw [amount], /balance"); SendClientMessage(playerid, COLOR_YELLOW,"/givecash [playerid] [amount]"); SendClientMessage(playerid, COLOR_YELLOW,"/hitman [playerid] [amount], /bounty [playerid]"); SendClientMessage(playerid, COLOR_YELLOW,"/buy, /properties1, /properties2, /properties3"); SendClientMessage(playerid, COLOR_YELLOW,"/buyweapon, /weaponist"); SendClientMessage(playerid, COLOR_YELLOW,"/bounties, /gangs"); SendClientMessage(playerid, COLOR_YELLOW,"/exports /gamblingfee [amount]"); SendClientMessage(playerid, COLOR_IMPORTANT,"/web /taxi /omg /2min /MYCHAT /news /imtaxi /intaxi /drop /eject "); SendClientMessage(playerid, COLOR_GREEN,"enjoy the commands :D"); return 1; } if(strcmp(cmd, "/gangcommands", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,"Gang commands:"); SendClientMessage(playerid, COLOR_YELLOW,"/gang create [name]"); SendClientMessage(playerid, COLOR_YELLOW,"/gang join"); SendClientMessage(playerid, COLOR_YELLOW,"/gang invite [playerID]"); SendClientMessage(playerid, COLOR_YELLOW,"/gang quit"); SendClientMessage(playerid, COLOR_YELLOW,"/ganginfo [number] (no number given shows your gang's info)"); SendClientMessage(playerid, COLOR_YELLOW,"/gbank [money], /gwithdraw [money], /gbalance"); SendClientMessage(playerid, COLOR_YELLOW,"/gdeathmatch [zone]"); SendClientMessage(playerid, COLOR_YELLOW,"! (prefix text for gang-chat)"); return 1; } //------------------- /version if (strcmp(cmdtext, "/version", true) == 0) { SendClientMessage(playerid, COLOR_YELLOW, "0.2"); return 1; } //web site forum 2 if(strcmp(cmd, "/web", true) == 0) { SendClientMessage(playerid, COLOR_IMPORTANT, " WEB SITE: www.cbkforum.co.nr"); return 1; } //news if(strcmp(cmd, "/news", true) == 0) { SendClientMessage(playerid, COLOR_YELLOW,"Welcome to the news this is [CBK] team reporting live :)"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "/me command is now only for admins, sorry"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "More fun commands have been added type /commands to see :)"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "There are some new cars and there is 4 trucks and 4 trailers"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "you can now type /web to find out our web site"); SendClientMessage(playerid, COLOR_YELLOW,"Thats all the news for now stay tuned for more :)"); return 1; } //drop command if(strcmp(cmdtext, "/drop", true) == 0) { if(IsPlayerInAnyVehicle(playerid)) { new Float:X; new Float:Y; new Float:Z; new Ang; new VehicleID; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID, X, Y, Z + 900.00); SetPlayerFacingAngle(playerid,Ang); GivePlayerWeapon(playerid,46,1); SendClientMessage(playerid, COLOR_RED, "Ahhhhhhhh !!!!!!***!!!!!"); } else { new Float:X; new Float:Y; new Float:Z; new Ang; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid, X, Y, Z + 1000.00); SetPlayerFacingAngle(playerid,Ang); GivePlayerWeapon(playerid,46,1); SendClientMessage(playerid, COLOR_RED, "Dont forget to open your parachute."); } return 1; } //taxi commands if(strcmp(cmdtext, "/taxi", true) == 0) { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof (pname)); format(string, sizeof(string), " %s Needs A Taxi", pname); SendClientMessage(playerid, COLOR_GREEN, string); // GameTextForAll(string ,3000,5); return 1;} else if(strcmp(cmdtext, "/intaxi", true) == 0) { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof (pname)); format(string, sizeof(string), " %s Doesent need A taxi any more", pname); SendClientMessage(playerid, COLOR_GREEN, string); // GameTextForAll(string ,3000,5); return 1;} else if(strcmp(cmd, "/iamtaxi", true) == 0) { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof (pname)); format(string, sizeof(string), " %s Is now A taxi driver if you need taxi type /taxi", pname); SendClientMessage(playerid, COLOR_GREEN, string); // GameTextForAll(string ,3000,5); return 1;} //clear chat window :D if(strcmp(cmdtext,"/MYCHAT",true)==0) // Chat window is gone, fomg! { for (new a=1;a<=10;a++) { SendClientMessage(playerid,COLOR_GREY,"\n"); } return 1; } //----------------------------------------------skydive if(strcmp(cmd, "/omg", true) == 0) { if (GetPlayerMoney(playerid) > 999){ GivePlayerMoney(playerid,-1000); new Float:x; new Float:y; new Float:z; GivePlayerWeapon(playerid,46,1); GetPlayerPos(playerid,x,y,z); SetPlayerPos(playerid,x,y,z+1500); GameTextForPlayer(playerid,"it's worth the money :P.",2000,5); } else{ SendClientMessage(playerid,COLOR_RED,"Not enough cash."); } return 1; } //MOUNTAIN teleport if(strcmp(cmd, "/2min", true) == 0) { if (IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),-2719.0679,-1685.8645,9999.9999); else SetPlayerPos(playerid,-2719.0679,-1685.8645,9999.9999); GameTextForPlayer(playerid,"jee happy",4000,5); return 1; } //kick passangers if(strcmp(cmd,"/eject",true)==0){ new vehicleid; new vcount; new playerstate = GetPlayerState(playerid); new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid,playername,sizeof(playername)); if(!IsPlayerInAnyVehicle(playerid)){ SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle"); return 1; } if(playerstate == PLAYER_STATE_PASSENGER){ SendClientMessage(playerid,COLOR_RED,"Passengers can't use This!"); return 1; } vehicleid = GetPlayerVehicleID(playerid); for(new i=0;i=MIN_GAMBLINGFEE && fee<=MAX_GAMBLINGFEE) { for(new i=0;i0) { new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deathmatch [zone]"); SendClientMessage(playerid, COLOR_GREEN, "Available deathmatch zones:"); for(new i=0;i=0 && dmZone0) { for(new i=0;i0) { for(new i=0;i gangBank[playerGang[playerid]]) moneys = gangBank[playerGang[playerid]]; } else { if(moneys > bank[playerid]) moneys = bank[playerid]; } GivePlayerMoney(playerid, moneys); if(gang) gangBank[playerGang[playerid]] -= moneys; else bank[playerid] -= moneys; if(gang) format(string, sizeof(string), "You have withdrawn $%d, your gang's balance is $%d.", moneys, gangBank[playerGang[playerid]]); else format(string, sizeof(string), "You have withdrawn $%d, your current balance is $%d.", moneys, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); return 1; } //------------------- /balance if(strcmp(cmd, "/balance", true) == 0 || strcmp(cmd, "/gbalance", true) == 0) { new gang; if(strcmp(cmd, "/gbalance", true) == 0) gang = 1; if(IsPlayerInCheckpoint(playerid) == 0 || getCheckpointType(playerid) != CP_BANK) { SendClientMessage(playerid, COLOR_YELLOW, "You must be at a bank area to use this. ATMs are located in convenience stores."); return 1; } if(gang && playerGang[playerid]==0) { SendClientMessage(playerid, COLOR_RED, "You are not in a gang!"); return 1; } if(gang) format(string, sizeof(string), "Your gang has $%d in the bank.", gangBank[playerGang[playerid]]); else format(string, sizeof(string), "You have $%d in the bank.", bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); return 1; } //------------------- /givecash if(strcmp(cmd, "/givecash", true) == 0) { new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givecash [playerid] [amount]"); return 1; } giveplayerid = strval(tmp); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givecash [playerid] [amount]"); return 1; } moneys = strval(tmp); //printf("givecash_command: %d %d",giveplayerid,moneys); if (IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); if(dmPlayers[giveplayerid]==999) { playermoney = GetPlayerMoney(playerid); if (moneys > 0 && playermoney >= moneys) { GivePlayerMoney(playerid, (0 - moneys)); GivePlayerMoney(giveplayerid, moneys); format(string, sizeof(string), "You have sent %s (id: %d), $%d.", giveplayer,giveplayerid, moneys); SendClientMessage(playerid, COLOR_YELLOW, string); format(string, sizeof(string), "You have recieved $%d from %s (id: %d).", moneys, sendername, playerid); SendClientMessage(giveplayerid, COLOR_YELLOW, string); printf("%s(playerid:%d) has transfered %d to %s(playerid:%d)",sendername, playerid, moneys, giveplayer, giveplayerid); } else { SendClientMessage(playerid, COLOR_YELLOW, "Invalid transaction amount."); } } else { format(string, sizeof(string), "%s is currently in a deathmatch. You cannot give them money at this time.", giveplayer); SendClientMessage(playerid, COLOR_YELLOW, string); } } else { format(string, sizeof(string), "%d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } //------------------- /hitman if(strcmp(cmd, "/hitman", true) == 0) { new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hitman [playerid] [amount]"); return 1; } giveplayerid = strval(tmp); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hitman [playerid] [amount]"); return 1; } moneys = strval(tmp); if(moneys > GetPlayerMoney(playerid)) { SendClientMessage(playerid, COLOR_RED, "You don't have enough money!"); return 1; } if(moneys < 1) { SendClientMessage(playerid, COLOR_YELLOW, "Hey what are you trying to pull here."); return 1; } if(IsPlayerConnected(giveplayerid)==0) { SendClientMessage(playerid, COLOR_RED, "No such player exists."); return 1; } bounty[giveplayerid]+=moneys; GivePlayerMoney(playerid, 0-moneys); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); // format(string, sizeof(string), "You have put a $%d bounty on the head of %s (id: %d).", moneys, giveplayer,giveplayerid); // SendClientMessage(playerid, COLOR_YELLOW, string); format(string, sizeof(string), "%s has had a $%d bounty put on his head from %s (total: $%d).", giveplayer, moneys, sendername, bounty[giveplayerid]); SendClientMessageToAll(COLOR_ORANGE, string); format(string, sizeof(string), "You have had a $%d bounty put on you from %s (id: %d).", moneys, sendername, playerid); SendClientMessage(giveplayerid, COLOR_RED, string); return 1; } //------------------- /bounty if(strcmp(cmd, "/bounty", true) == 0) { new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bounty [playerid]"); return 1; } giveplayerid = strval(tmp); if(IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "Player %s (id: %d) has a $%d bounty on his head.", giveplayer,giveplayerid,bounty[giveplayerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } else { SendClientMessage(playerid, COLOR_RED, "No such player exists!"); } return 1; } //------------------- /bounties if(strcmp(cmd, "/bounties", true) == 0) { // new tmp[256]; new x; SendClientMessage(playerid, COLOR_GREEN, "Current Bounties:"); for(new i=0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) && bounty[i] > 0) { GetPlayerName(i, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%s%s(%d): $%d", string,giveplayer,i,bounty[i]); x++; if(x > 3) { SendClientMessage(playerid, COLOR_YELLOW, string); x = 0; format(string, sizeof(string), ""); } else { format(string, sizeof(string), "%s, ", string); } } } if(x <= 3 && x > 0) { string[strlen(string)-2] = '.'; SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } //------------------- /buy if(strcmp(cmd, "/buy", true) == 0) { new property=999; new previousowner; if(IsPlayerInCheckpoint(playerid)) { switch (playerCheckpoint[playerid]) { 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_BOUTIQUE:{ property = P_BOUTIQUE; } case CP_POLDEPLS:{ property = P_POLDEPLS; } case CP_PIZZA:{ property = P_PIZZA; } case CP_VICTIM:{ property = P_VICTIM; } case CP_APPLV1:{ property = P_APPLV1; } case CP_BALMOT:{ property = P_BALMOT; } case CP_WETTLS:{ property = P_WETTLS; } case CP_RUSSEN:{ property = P_RUSSEN; } case CP_CJHOME:{ property = P_CJHOME; } case CP_GYMLS:{ property = P_GYMLS; } case CP_APPLS1:{ property = P_APPLS1; } case CP_APPLS2:{ property = P_APPLS2; } case CP_SCHOOLSF:{ property = P_SCHOOLSF; } case CP_APPSF1:{ property = P_APPSF1; } case CP_SUBURBAN:{ property = P_SUBURBAN; } case CP_POLDEPLV:{ property = P_POLDEPLV; } case CP_LAPDANCE:{ property = P_LAPDANCE; } case CP_DIDIER:{ property = P_DIDIER; } case CP_PROLAPS:{ property = P_PROLAPS; } case CP_69CENT:{ property = P_69CENT; } case CP_ALHAMBRA:{ property = P_ALHAMBRA; } case CP_BARBER :{ property = P_BARBER ; } case CP_APPSF2:{ property = P_APPSF2; } case CP_COBRA:{ property = P_COBRA; } case CP_HEMLOCK:{ property = P_HEMLOCK; } case CP_APPLS3:{ property = P_APPLS3; } case CP_MARKSTAT:{ property = P_MARKSTAT; } case CP_ZERORC:{ property = P_ZERORC; } case CP_APPD1:{ property = P_APPD1; } case CP_CLUCKBEL:{ property = P_CLUCKBEL; } case CP_STAUDAMM:{ property = P_STAUDAMM; } case CP_APPSF3:{ property = P_APPSF3; } case CP_TATTOOLS:{ property = P_TATTOOLS; } case CP_REECES:{ property = P_REECES; } case CP_SPRANCH:{ property = P_SPRANCH; } case CP_MILITARY:{ property = P_MILITARY; } case CP_OLDAIRP:{ property = P_OLDAIRP; } case CP_BURGSHOT:{ property = P_BURGSHOT; } case CP_TOMVILLA:{ property = P_TOMVILLA; } case CP_STADIULV:{ property = P_STADIULV; } case CP_STADIULS:{ property = P_STADIULS; } case CP_TOBTOWER:{ property = P_TOBTOWER; } case CP_PYRAMID:{ property = P_PYRAMID; } case CP_HOUSELV:{ property = P_HOUSELV; } case CP_LILCASNO:{ property = P_LILCASNO; } case CP_GYMLV:{ property = P_GYMLV; } case CP_ROKHOTEL:{ property = P_ROKHOTEL; } case CP_OTTO:{ property = P_OTTO; } case CP_WANGCARS:{ property = P_WANGCARS; } case CP_JIZZY:{ property = P_JIZZY; } case CP_ZOMBO:{ property = P_ZOMBO; } case CP_TORENO:{ property = P_TORENO; } case CP_ALIENINN:{ property = P_ALIENINN; } case CP_QUARRY:{ property = P_QUARRY; } case CP_GASLS:{ property = P_GASLS; } case CP_FLEIBERG:{ property = P_FLEIBERG; } case CP_GLOCKIS:{ property = P_GLOCKIS; } case CP_GAYINST:{ property = P_GAYINST; } case CP_TTRICKLV:{ property = P_TTRICKLV; } case CP_BOATRAIN:{ property = P_BOATRAIN; } case CP_WOLLOS:{ property = P_WOLLOS; } case CP_DESCORP:{ property = P_DESCORP; } case CP_TEEPEEVO:{ property = P_TEEPEEVO; } case CP_CORVINST:{ property = P_CORVINST; } case CP_BIKEPARK:{ property = P_BIKEPARK; } case CP_AIRPORLS:{ property = P_AIRPORLS; } case CP_AIRPORLV:{ property = P_AIRPORLV; } case CP_AIRPORSF:{ property = P_AIRPORSF; } case CP_POLDEPSF:{ property = P_POLDEPSF; } case CP_CONTAINA:{ property = P_CONTAINA; } case CP_SUPASAVE:{ property = P_SUPASAVE; } case CP_INTERTV:{ property = P_INTERTV; } case CP_PORNSTDS:{ property = P_PORNSTDS; } case CP_GRAVE:{ property = P_GRAVE; } case CP_TEXASTED:{ property = P_TEXASTED; } case CP_BANDITS:{ property = P_BANDITS; } case CP_SHODY:{ property = P_SHODY; } case CP_STEAKHS:{ property = P_STEAKHS; } case CP_LILCHURC:{ property = P_LILCHURC; } case CP_LVSTEAKS:{ property = P_LVSTEAKS; } case CP_EMERALD:{ property = P_EMERALD; } case CP_GENSTORE:{ property = P_GENSTORE; } case CP_KACC:{ property = P_KACC; } case CP_GOLFLV:{ property = P_GOLFLV; } case CP_UNITYLS:{ property = P_UNITYLS; } case CP_GENERALS:{ property = P_GENERALS; } case CP_HOSPITLS:{ property = P_HOSPITLS; } case CP_CLOWNS:{ property = P_CLOWNS; } case CP_VISAGE:{ property = P_VISAGE; } case CP_WEDDING:{ property = P_WEDDING; } case CP_CUMALOT:{ property = P_CUMALOT; } case CP_ROYALCAS:{ property = P_ROYALCAS; } case CP_HIROLLER:{ property = P_HIROLLER; } case CP_DICKS:{ property = P_DICKS; } case CP_RUBBERS:{ property = P_RUBBERS; } case CP_VINYL1:{ property = P_VINYL1; } case CP_BEARCLAM:{ property = P_BEARCLAM; } case CP_BANKSA:{ property = P_BANKSA; } case CP_DAILYGLO:{ property = P_DAILYGLO; } case CP_HIPPY1:{ property = P_HIPPY1; } case CP_VINYL2:{ property = P_VINYL2; } case CP_VERONA:{ property = P_VERONA; } case CP_HIPPY2:{ property = P_HIPPY2; } case CP_TGSTAGES:{ property = P_TGSTAGES; } case CP_CARRIER:{ property = P_CARRIER; } case CP_FIRESF:{ property = P_FIRESF; } case CP_BIFFIN:{ property = P_BIFFIN; } case CP_UPHILL:{ property = P_UPHILL; } case CP_MICHELLE:{ property = P_MICHELLE; } case CP_CONTAIN2:{ property = P_CONTAIN2; } case CP_PIER69:{ property = P_PIER69; } case CP_COUTTSCH:{ property = P_COUTTSCH; } case CP_CONFEREN:{ property = P_CONFEREN; } case CP_PAPERCUT:{ property = P_PAPERCUT; } case CP_LSFASHN :{ property = P_LSFASHN ; } case CP_GRAUMANS:{ property = P_GRAUMANS; } case CP_ALEXTOYS:{ property = P_ALEXTOYS; } case CP_COGS:{ property = P_COGS; } case CP_RANCHSHP:{ property = P_RANCHSHP; } case CP_XOOMER:{ property = P_XOOMER; } case CP_SIDEWALK:{ property = P_SIDEWALK; } case CP_SUMO:{ property = P_SUMO; } case CP_SNAKE:{ property = P_SNAKE; } case CP_SHERIFF:{ property = P_SHERIFF; } case CP_HOTELEQ:{ property = P_HOTELEQ; } case CP_MEDICAL :{ property = P_MEDICAL ; } case CP_WHEEL:{ property = P_WHEEL; } case CP_LAVANDER:{ property = P_LAVANDER; } case CP_JAZZMAGS:{ property = P_JAZZMAGS; } case CP_EASTER:{ property = P_EASTER; } case CP_MOTFC1:{ property = P_MOTFC1; } case CP_MOTFC2:{ property = P_MOTFC2; } case CP_MOTFC3:{ property = P_MOTFC3; } case CP_MOTFC4:{ property = P_MOTFC4; } case CP_HOTELFC:{ property = P_HOTELFC; } case CP_DINERFC:{ property = P_DINERFC; } case CP_BOWLED:{ property = P_BOWLED; } case CP_UGETINN:{ property = P_UGETINN; } case CP_KINGRING:{ property = P_KINGRING; } case CP_NO1DESER:{ property = P_NO1DESER; } case CP_CAFEFC:{ property = P_CAFEFC; } case CP_BANKFC:{ property = P_BANKFC; } case CP_BARFC:{ property = P_BARFC; } case CP_ASTRO:{ property = P_ASTRO; } case CP_HIK69:{ property = P_HIK69; } case CP_CHEMICAL:{ property = P_CHEMICAL; } case CP_SHERIFFC:{ property = P_SHERIFFC; } case CP_MEDCENFC:{ property = P_MEDCENFC; } case CP_JIMSRING :{ property = P_JIMSRING ; } case CP_NUDESHP1:{ property = P_NUDESHP1; } case CP_NUDESHP2:{ property = P_NUDESHP2; } case CP_CITYPLAN:{ property = P_CITYPLAN; } case CP_TEEPEELB:{ property = P_TEEPEELB; } case CP_BANKLB:{ property = P_BANKLB; } case CP_SMOKBEEF:{ property = P_SMOKBEEF; } case CP_CEMLB:{ property = P_CEMLB; } case CP_SOLARSF:{ property = P_SOLARSF; } case CP_SOLARD:{ property = P_SOLARD; } case CP_FEDMINT:{ property = P_FEDMINT; } } if(property==999) { SendClientMessage(playerid, COLOR_YELLOW, "You need to be in a property checkpoint to /buy it."); return 1; } // property--; if(GetPlayerMoney(playerid) < propertyValues[property]) { SendClientMessage(playerid, COLOR_RED, "You don't have enough money to buy this property."); return 1; } if(propertyOwner[property]==playerid) { SendClientMessage(playerid, COLOR_RED, "You already own this property."); return 1; } GetPlayerName(playerid, giveplayer, sizeof(giveplayer)); if(propertyOwner[property] < 999) { GivePlayerMoney(propertyOwner[property], propertyValues[property]); format (string, sizeof(string), "Your property, the %s, has been bought out by %s (id: %d).",propertyNames[property],giveplayer,playerid); SendClientMessage(propertyOwner[property], COLOR_RED, string); previousowner = propertyOwner[property]; } GivePlayerMoney(playerid, 0-propertyValues[property]); //------------see if this works GetPlayerName(playerid, giveplayer, sizeof(giveplayer)); propertyOwner[property]=playerid; format(string, sizeof(string), "The %s was purchased by %s", propertyNames[property],giveplayer); SendClientMessageToAll(COLOR_IMPORTANT, string); printf("------IMMOBILIE: %s - %s ID:%d", propertyNames[property],giveplayer,playerid); propertyOwner[property]=playerid; AutoLockCasinoVehicles(playerid); AutoLockCasinoVehicles(previousowner); format(string, sizeof(string), "You have purchased the %s!", propertyNames[property]); SendClientMessage(playerid, COLOR_GREEN, string); if(property==P_DRAGON || property==P_CALIGULA) { if(pbGameText) { format(string, sizeof(string),"~y~%s is the ~g~Pit Boss ~y~of %s",giveplayer,propertyNames[property]); GameTextForAll(string,5000,3); } else { format(string, sizeof(string),"%s is the Pit Boss of %s",giveplayer,propertyNames[property]); SendClientMessageToAll(COLOR_LIGHTBLUE, string); } format(string, sizeof(string),"Sir, your %s limousine's are now available to you and any gang members.",propertyNames[property]); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } } else { SendClientMessage(playerid, COLOR_YELLOW, "You need to be in a property checkpoint to /buy it."); return 1; } return 1; } //------------------- /properties if(strcmp(cmd, "/properties", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,"Type /props1-19 for detailed lists (e.g. /props1 for the first 9 properties)."); SendClientMessage(playerid, COLOR_YELLOW,"/props1 - FourDragons, SexShop, Bar, Caligula, ZipShop, BincoShop, TattooParlor, Boutique, PoliceLS"); SendClientMessage(playerid, COLOR_ORANGE,"/props2 - Pizza, Victim, App.LV, BallasMotel, Wettbro, VodkaInn, CJ's Home, GymLS, App.LS(1)"); SendClientMessage(playerid, COLOR_YELLOW,"/props3 - App.LS(2), TurningTrickSF, App.SF(1), SubUrban, PoliceLV, Lapdance, DidierSachs, ProLaps, 69CentStore"); SendClientMessage(playerid, COLOR_ORANGE,"/props4 - Alhambra, BarberShop, App.SF(2), Cobra, HemlockTattoo, App.LS(3), MarketStation, ZeroRC, App.Desert"); SendClientMessage(playerid, COLOR_YELLOW,"/props5 - CluckingBell, Staudamm, App.SF(3), TattooLS, Reeces, SpreadRanch, Military, OldAirport, BurgerShot"); SendClientMessage(playerid, COLOR_ORANGE,"/props6 - Tomasu'sVilla,BlackfieldStadium,LS Forum,TobyTower,MagnusCorpPyramid,HouseLV,Lil'CasinoLV,GymLV,RockHotelLV"); SendClientMessage(playerid, COLOR_YELLOW,"/props7 - Otto'sAutos, WangCars, Jizzy's, Zombotech, Toreno's, AlienInn, Quarry, 24/7GasLS, Fleischberg"); SendClientMessage(playerid, COLOR_ORANGE,"/props8 - Glocki's,GayInstitute,TurningTrickLV,BoatTraining,Wollo's,DesertCorp,TeepeeMotelVO,CorvinStadium,BikePark"); SendClientMessage(playerid, COLOR_GREEN,"Type /properties2 for the second list"); return 1; } if(strcmp(cmd, "/properties2", true) == 0) { SendClientMessage(playerid, COLOR_YELLOW," "); SendClientMessage(playerid, COLOR_GREEN,"Type /props1-19 for detailed lists (e.g. /props1 for the first 9 properties)."); SendClientMessage(playerid, COLOR_YELLOW,"/props9 - AirportLS,AirportLV,AirportSF,PoliceSF,ContainerI,SupaSave,InterglobalTV,PornStudios,PetSematary"); SendClientMessage(playerid, COLOR_ORANGE,"/props10 - TexasTeds,Bandits,Shody,Steakhouse,LilChurch,VenturasSteak,EmeraldIsle,GeneralStore,K.A.C.C."); SendClientMessage(playerid, COLOR_YELLOW,"/props11 - GolfclubLV,UnityStationLS,CountyGeneral,HospitalLS,App.LV(2),Visage,WeddingChapel,Cum-a-lot,RoyalCasino"); SendClientMessage(playerid, COLOR_ORANGE,"/props12 - HighRoller,DicksSounds,DomsRubbers,VinylCountdownI,BeardedClam,BankOfSA,DailyGlobes,HippyShopperI,VinylCountdownII"); SendClientMessage(playerid, COLOR_YELLOW,"/props13 - VeronaMall,HippyShopperII,TGStages,Carrier,FireDeptSF,BiffinBridge,UphillGardener,Michelles,ContainerII"); SendClientMessage(playerid, COLOR_ORANGE,"/props14 - Pier69,Coutt&Schutz,ConferenceCenter,Papercuts,LSFashions,Graumans,Alex'Toys,COGS,Ranch"); SendClientMessage(playerid, COLOR_YELLOW,"/props15 - Xoomer,SideWalk,Sumo,SnakeFarm,SheriffElQ,HotelElQ,MedCenterElQ,WheelArchAngels,Lavanderia"); SendClientMessage(playerid, COLOR_GREEN,"Type /properties3 for the third list"); return 1; } if(strcmp(cmd, "/properties3", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,"Type /props1-19 for detailed lists (e.g. /props1 for the first 9 properties)."); SendClientMessage(playerid, COLOR_YELLOW,"/props16 - JazzMags,EasterBoardFarm,Motel1FC,Motel2FC,Motel3FC,Motel4FC,HotelFC,DinerFC,BowledSpot"); SendClientMessage(playerid, COLOR_ORANGE,"/props17 - UGetInn,KingRing,No1Desert,CafeFC,BankFC,BarFC,Astro,HIK69,EasterBayChemicals"); SendClientMessage(playerid, COLOR_YELLOW,"/props18 - SheriffFC,MedCenterFC,JimsRing,NudeShop1,NudeShop2,CityPlanning,TeepeeLB,BankLB,SmokinBeef"); SendClientMessage(playerid, COLOR_YELLOW,"/props19 - CemeteryLB,SolarinSF,SolarinDillimore,FederalMint"); return 1; } if(strcmp(cmd, "/props1", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 1/19:"); for(new i = 0; i < 9; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props2", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 2/19:"); for(new i = 9; i < 18; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props3", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 3/19:"); for(new i = 18; i < 27; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props4", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 4/19:"); for(new i = 27; i < 36; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props5", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 5/19:"); for(new i = 36; i < 45; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props6", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 6/19:"); for(new i = 45; i < 54; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props7", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 7/19:"); for(new i = 54; i < 63; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props8", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 8/19:"); for(new i = 63; i < 72; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props9", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 9/19:"); for(new i = 72; i < 81; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props10", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 10/19:"); for(new i = 81; i < 90; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props11", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 11/19:"); for(new i = 90; i < 99; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props12", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 12/19:"); for(new i = 99; i < 108; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props13", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 13/19:"); for(new i = 108; i < 117; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props14", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 14/19:"); for(new i = 117; i < 126; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props15", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 15/19:"); for(new i = 126; i < 135; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props16", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 16/19:"); for(new i = 135; i < 144; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props17", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 17/19:"); for(new i = 144; i < 153; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props18", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 18/19:"); for(new i = 153; i < 162; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } if(strcmp(cmd, "/props19", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Properties 19/19:"); for(new i = 162; i < 165; i++) { if(propertyOwner[i] < 999) { GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%d. %s: %s", i, propertyNames[i], giveplayer); } else format(string, sizeof(string), "%d. %s: None", i, propertyNames[i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } //------------------- /buyweapon if(strcmp(cmd, "/buyweapon", true) == 0) { new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /buyweapon [weapon number]"); return 1; } weaponid = strval(tmp); if(IsPlayerInCheckpoint(playerid)==0 || playerCheckpoint[playerid]!=CP_AMMU) { SendClientMessage(playerid, COLOR_YELLOW, "You need to be in an Ammunation to purchase weapons."); return 1; } if(GetPlayerMoney(playerid) < spawnWeapons[weaponid][2]) { SendClientMessage(playerid, COLOR_RED, "You don't have enough money!"); return 1; } if(weaponid < 0 || weaponid > MAX_SPAWNWEAPONS-1){ SendClientMessage(playerid, COLOR_RED, "Invalid weapon number."); return 1; } format (string, sizeof(string), "You purchased 1 %s for when you spawn.",weaponNames[spawnWeapons[weaponid][0]]); SendClientMessage(playerid, COLOR_GREEN, string); GivePlayerWeapon(playerid, spawnWeapons[weaponid][0], spawnWeapons[weaponid][1]); playerWeapons[playerid][weaponid]++; GivePlayerMoney(playerid, 0-spawnWeapons[weaponid][2]); return 1; } //------------------- /weaponlist if(strcmp(cmd, "/weaponlist", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Weapons List:"); for(new i = 0; i < MAX_SPAWNWEAPONS; i++) { format (string, sizeof(string), "%d. %s - $%d",i,weaponNames[spawnWeapons[i][0]],spawnWeapons[i][2]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } //------------------- /gang if(strcmp(cmd, "/gang", true) == 0) { new tmp[256]; new gangcmd, gangnum; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gang [create/join/invite/quit] [name/number]"); return 1; } giveplayerid = strval(tmp); if(strcmp(tmp, "create", true)==0) gangcmd = 1; else if(strcmp(tmp, "invite", true)==0) gangcmd = 2; else if(strcmp(tmp, "join", true)==0) gangcmd = 3; else if(strcmp(tmp, "quit", true)==0) gangcmd = 4; tmp = strtok(cmdtext, idx); if(gangcmd < 3 && !strlen(tmp)) { if(gangcmd==0) SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gang [create/join/invite/quit] [name/number]"); else if(gangcmd==1) SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gang [create] [name]"); else if(gangcmd==2) SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gang [invite] [playerID]"); return 1; } //Create Gang// if(gangcmd==1) { if(playerGang[playerid]>0) { SendClientMessage(playerid, COLOR_RED, "You are already in a gang!"); return 1; } for(new i = 1; i < MAX_GANGS; i++) { if(gangInfo[i][0]==0) { //name gang format(gangNames[i], MAX_GANG_NAME, "%s", tmp); //Gang exists gangInfo[i][0]=1; //There is one member gangInfo[i][1]=1; //Gang color is player's color gangInfo[i][2]=playerColors[playerid]; //Player is the first gang member gangMembers[i][0] = playerid; format(string, sizeof(string),"You have created the gang '%s' (id: %d)", gangNames[i], i); SendClientMessage(playerid, COLOR_GREEN, string); playerGang[playerid]=i; return 1; } } return 1; //Join Gang// } else if (gangcmd==3) { gangnum = gangInvite[playerid]; if(playerGang[playerid]>0) { SendClientMessage(playerid, COLOR_RED, "You are already in a gang!"); return 1; } if(gangInvite[playerid]==0) { SendClientMessage(playerid, COLOR_RED, "You have not been invited to a gang."); return 1; } if(gangInfo[gangnum][0]==0) { SendClientMessage(playerid, COLOR_RED, "That gang does not exist!"); return 1; } if(gangInfo[gangnum][1] < MAX_GANG_MEMBERS) { new i = gangInfo[gangnum][1]; gangInvite[playerid]=0; gangMembers[gangnum][i] = playerid; GetPlayerName(playerid, sendername, MAX_PLAYER_NAME); for(new j = 0; j < gangInfo[gangnum][1]; j++) { format(string, sizeof(string),"%s has joined your gang.", sendername); SendClientMessage(gangMembers[gangnum][j], COLOR_ORANGE, string); } gangInfo[gangnum][1]++; playerGang[playerid] = gangnum; AutoLockCasinoVehicles(playerid); SetPlayerColor(playerid,gangInfo[gangnum][2]); format(string, sizeof(string),"You have joined the gang '%s' (id: %d)", gangNames[gangnum], gangnum); SendClientMessage(playerid, COLOR_GREEN, string); return 1; } SendClientMessage(playerid, COLOR_RED, "That gang is full."); return 1; //Invite to Gang// } else if (gangcmd==2) { giveplayerid = strval(tmp); if(playerGang[playerid]==0) { SendClientMessage(playerid, COLOR_RED, "You are not in a gang!"); return 1; } // if(gangMembers[playerGang[playerid]][0]!=playerid) { // SendClientMessage(playerid, COLOR_RED, "You need to be the gang leader to send an invite."); // return 1; // } if(IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string),"You have sent a gang invite to %s.", giveplayer); SendClientMessage(playerid, COLOR_GREEN, string); format(string, sizeof(string),"You have recieved a gang invite from %s to '%s' (id: %d)", sendername, gangNames[playerGang[playerid]],playerGang[playerid]); SendClientMessage(giveplayerid, COLOR_GREEN, string); gangInvite[giveplayerid]=playerGang[playerid]; } else SendClientMessage(playerid, COLOR_RED, "No such player exists!"); //Leave Gang// } else if (gangcmd==4) { PlayerLeaveGang(playerid); } return 1; } //------------------- /ganginfo if(strcmp(cmd, "/ganginfo", true) == 0) { new tmp[256]; new gangnum; tmp = strtok(cmdtext, idx); if(!strlen(tmp) && playerGang[playerid]==0) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ganginfo [number]"); return 1; } else if (!strlen(tmp)) gangnum = playerGang[playerid]; else gangnum = strval(tmp); if(gangInfo[gangnum][0]==0) { SendClientMessage(playerid, COLOR_RED, "No such gang exists!"); return 1; } format(string, sizeof(string),"'%s' Gang Members (id: %d)", gangNames[gangnum], gangnum); SendClientMessage(playerid, COLOR_GREEN, string); for(new i = 0; i < gangInfo[gangnum][1]; i++) { GetPlayerName(gangMembers[gangnum][i], giveplayer, sizeof(giveplayer)); format(string, sizeof(string),"%s (%d)", giveplayer, gangMembers[gangnum][i]); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } //------------------- /gangs if(strcmp(cmd, "/gangs", true) == 0) { new x; SendClientMessage(playerid, COLOR_GREEN, "Current Gangs:"); for(new i=0; i < MAX_GANGS; i++) { if(gangInfo[i][0]==1) { format(string, sizeof(string), "%s%s(%d) - %d members", string,gangNames[i],i,gangInfo[i][1]); x++; if(x > 2) { SendClientMessage(playerid, COLOR_YELLOW, string); x = 0; format(string, sizeof(string), ""); } else { format(string, sizeof(string), "%s, ", string); } } } if(x <= 2 && x > 0) { string[strlen(string)-2] = '.'; SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } return 0; } //------------------------------------------------------------------------------------------------------ public AutoLockCasinoVehicles(playerid) { new owner, player, gang; new playername[MAX_PLAYER_NAME]; new ownername[MAX_PLAYER_NAME]; new string[256]; if(IsPlayerConnected(playerid)) { for(new i=0; i0) { for(new j=0; j0) { for(new j=0; j=0) { if(IsPlayerInAnyVehicle(playerid)) { if(vehicleModel[GetPlayerVehicleID(playerid)-1]==wantedWangExportVehicle) { if(GetPlayerState(playerid)==PLAYER_STATE_DRIVER) { new payment = (random(20)+10)*1000; format(string, sizeof(string), "Excellent, we will export your %s at once! Here is $%d for your services.",wantedWangExportVehicleNames[i],payment); SendClientMessage(playerid, COLOR_GREEN, string); GivePlayerMoney(playerid, payment); SetVehicleToRespawn(GetPlayerVehicleID(playerid)); } SetPlayerPos(playerid, checkpoints[CP_WANGCARS][0],checkpoints[CP_WANGCARS][1],checkpoints[CP_WANGCARS][2]); } else { SendClientMessage(playerid, COLOR_YELLOW, "Sorry, we're not buying that particular vehicle at this time."); } } else { format(string, sizeof(string), "We are currently buying %s's for export.",wantedWangExportVehicleNames[i]); SendClientMessage(playerid, COLOR_GREEN, string); } } else { SendClientMessage(playerid, COLOR_YELLOW, "Sorry, we're not buying any vehicles at this time."); } return 1; } //------------------------------------------------------------------------------------------------------ public OnPlayerEnterDeathmatch(playerid, gangnum, zone) { new string[256]; new money = GetPlayerMoney(playerid); dmPlayers[playerid] = zone; if(IsPlayerInAnyVehicle(playerid)) { new vehicle = GetPlayerVehicleID(playerid); SetVehicleToRespawn(vehicle); } ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,dmWeapons[zone][0],dmWeapons[zone][1]); if(money>0) { format(string, sizeof(string), "Your $%d has been deposited to your bank account.",money); SendClientMessage(playerid, COLOR_YELLOW, string); GivePlayerMoney(playerid, 0-money); bank[playerid]+=money; } SendClientMessage(playerid, COLOR_YELLOW, "Any money you earn while in a deathmatch zone will be deposited to your bank account."); SetPlayerHealth(playerid,100); if(dmGangs[zone][0]==gangnum) { SetPlayerPos(playerid,dmSpawnCoords[zone][0],dmSpawnCoords[zone][1],dmSpawnCoords[zone][2]); } else { SetPlayerPos(playerid,dmSpawnCoords[zone][3],dmSpawnCoords[zone][4],dmSpawnCoords[zone][5]); } SetPlayerWorldBounds(playerid,dmCoords[zone][2],dmCoords[zone][0],dmCoords[zone][3],dmCoords[zone][1]); return 1; } //------------------------------------------------------------------------------------------------------ public OnPlayerText(playerid, text[]) { if(text[0] == '!') { if(playerGang[playerid] > 0) { new gangChat[256]; new senderName[MAX_PLAYER_NAME]; new string[256]; // for(new i = 1; i < strlen(text)+1; i++) // gangChat[i]=text[i]; strmid(gangChat,text,1,strlen(text)); GetPlayerName(playerid, senderName, sizeof(senderName)); format(string, sizeof(string),"%s: %s", senderName, gangChat); for(new i = 0; i < gangInfo[playerGang[playerid]][1]; i++) { SendClientMessage(gangMembers[playerGang[playerid]][i], COLOR_LIGHTBLUE, string); } } return 0; } return 1; } //------------------------------------------------------------------------------------------------------ public OnPlayerSpawn(playerid) { AutoLockCasinoVehicles(playerid); if(GetPlayerMoney(playerid)>=0) { GivePlayerMoney(playerid, PocketMoney); } SetPlayerInterior(playerid,0); SetPlayerRandomSpawn(playerid); ResetPlayerWeapons(playerid); for(new i=0;i 0) { GivePlayerWeapon(playerid,spawnWeapons[i][0],spawnWeapons[i][1]*playerWeapons[playerid][i]); } } //class weapon - why is this lost??? GivePlayerWeapon(playerid,24,500); dmWarning[playerid]=0; return 1; } public SetPlayerRandomSpawn(playerid) { if (iSpawnSet[playerid] == 1) { new rand = random(sizeof(gCopPlayerSpawns)); SetPlayerPos(playerid, gCopPlayerSpawns[rand][0], gCopPlayerSpawns[rand][1], gCopPlayerSpawns[rand][2]); // Warp the player SetPlayerFacingAngle(playerid, 270.0); } else if (iSpawnSet[playerid] == 0) { new rand = random(sizeof(gRandomPlayerSpawns)); SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player } return 1; } //------------------------------------------------------------------------------------------------------ public OnPlayerDeath(playerid, killerid, reason) { new playercash; new killedplayer[MAX_PLAYER_NAME]; new string[256]; SetPlayerWorldBounds(playerid,20000.0000,-20000.0000,20000.0000,-20000.0000); //Reset world to player dmPlayers[playerid]=999; playercash = GetPlayerMoney(playerid); if(killerid == INVALID_PLAYER_ID) { SendDeathMessage(INVALID_PLAYER_ID,playerid,reason); } else { SendDeathMessage(killerid,playerid,reason); SetPlayerScore(killerid,GetPlayerScore(killerid)+1); if(bounty[playerid] > 0 && (playerGang[killerid] == 0 || playerGang[playerid] != playerGang[killerid])) { GetPlayerName(playerid, killedplayer, sizeof(killedplayer)); format(string, sizeof(string), "You earned a bounty of %d for killing %s.", bounty[playerid], killedplayer); SendClientMessage(killerid, COLOR_GREEN, string); GivePlayerMoney(killerid, bounty[playerid]); bounty[playerid] = 0; } if(playercash > 0) { GivePlayerMoney(killerid, playercash); } } if(playercash > 0) { ResetPlayerMoney(playerid); } return 1; } //------------------------------------------------------------------------------------------------------ public OnPlayerEnterCheckpoint(playerid) { new string[256]; new ownplayer[MAX_PLAYER_NAME]; switch(getCheckpointType(playerid)) { case CP_BANK: { SendClientMessage(playerid, COLOR_YELLOW, "You are at an ATM. To store money use '/bank [amount]', to withdraw"); SendClientMessage(playerid, COLOR_YELLOW, "money use '/withdraw [amount]', and '/balance' to see your balance."); } case CP_PIRATE: { SendClientMessage(playerid, COLOR_YELLOW, "The Love Boat - You Will Earn $100 a Second"); } case CP_AMMU: { SendClientMessage(playerid, COLOR_GREEN, "You can purchase weapons here so that you have them every"); SendClientMessage(playerid, COLOR_GREEN, "time you spawn. You can purchase more than once for more ammo."); SendClientMessage(playerid, COLOR_YELLOW, "Type /buyweapon ID and /weaponlist for a list of weapons."); } case CP_PARKING: { SendClientMessage(playerid, COLOR_YELLOW, "Santa Monica Beach - You Will Earn $100 a Second"); } case CP_WUESTE: { SendClientMessage(playerid, COLOR_YELLOW, "Fart Hole - You Will Earn $100 a Second"); } case CP_SANFIER: { SendClientMessage(playerid, COLOR_YELLOW, "Television Tower - You Will Earn $100 a Second"); } case CP_CHILIAD: { SendClientMessage(playerid, COLOR_YELLOW, "Chiliad Outdoor Deck - You Will Earn $100 a Second"); } case CP_FICK: { SendClientMessage(playerid, COLOR_YELLOW, "Griffith Observatory - You Will Earn $100 a Second"); } case CP_RANCH: { SendClientMessage(playerid, COLOR_YELLOW, "Spread Ranch - You Will Earn $100 a Second"); } case CP_CONTAIN: { SendClientMessage(playerid, COLOR_YELLOW, "Container - You Will Earn $100 a Second"); } case CP_HARRY: { SendClientMessage(playerid, COLOR_YELLOW, "24h Drive-Thru Confessions - You Will Earn $100 a Second"); } case CP_SPEDI: { SendClientMessage(playerid, COLOR_YELLOW, "Meat Express - You Will Earn $100 a Second"); } case CP_JIZPARK: { SendClientMessage(playerid, COLOR_YELLOW, "Jizzy's Club - You Will Earn $100 a Second"); } case CP_GOLDEN: { SendClientMessage(playerid, COLOR_YELLOW, "Alcatraz Bay - You Will Earn $100 a Second"); } case CP_RASTPL: { SendClientMessage(playerid, COLOR_YELLOW, "Interstate Gas Station - You Will Earn $100 a Second"); } case CP_TANKSF: { SendClientMessage(playerid, COLOR_YELLOW, "Downtown Gas Station - You Will Earn $100 a Second"); } case CP_DINER: { SendClientMessage(playerid, COLOR_YELLOW, "Wollo's Diner - You Will Earn $100 a Second"); } case CP_SUPERM: { SendClientMessage(playerid, COLOR_YELLOW, "Robois Food Mart - You Will Earn $100 a Second"); } case CP_MOTEL: { SendClientMessage(playerid, COLOR_YELLOW, "Bates Motel - You Will Earn $100 a Second"); } case CP_ASSWORLD: { SendClientMessage(playerid, COLOR_YELLOW, "Big Chicks'n'Dicks - You Will Earn $100 a Second"); } case CP_MIDDLESF: { SendClientMessage(playerid, COLOR_YELLOW, "Emergency Room SF - You Will Earn $100 a Second"); } case CP_SWISF: { SendClientMessage(playerid, COLOR_YELLOW, "San Fierro Country Club - You Will Earn $100 a Second"); } case CP_PARKWAT: { SendClientMessage(playerid, COLOR_YELLOW, "Waterfront - You Will Earn $100 a Second"); } case CP_PLAYASEV: { SendClientMessage(playerid, COLOR_YELLOW, "Playa del Seville - You Will Earn $100 a Second"); } case CP_OCEANDOC: { SendClientMessage(playerid, COLOR_YELLOW, "Ocean Docks - You Will Earn $100 a Second"); } case CP_LILMEX: { SendClientMessage(playerid, COLOR_YELLOW, "Little Calexico - You Will Earn $100 a Second"); } case CP_TOMVILHI: { SendClientMessage(playerid, COLOR_YELLOW, "Tomasu's Villa - Search the other Entrance"); } case CP_GOGAMAU1: { SendClientMessage(playerid, COLOR_YELLOW, "Golden Gate Toll - Will cost you $1000 a Second"); } case CP_GOGAMAU2: { SendClientMessage(playerid, COLOR_YELLOW, "Golden Gate Toll - Will cost you $1000 a Second"); } case CP_GOGAMAU3: { SendClientMessage(playerid, COLOR_YELLOW, "Golden Gate Toll - Will cost you $1000 a Second"); } case CP_GOGAMAU4: { SendClientMessage(playerid, COLOR_YELLOW, "Golden Gate Toll - Will cost you $1000 a Second"); } } if(getCheckpointType(playerid)>= P_OFFSET) { format(string, sizeof(string), "You can buy the %s for $%d with /buy.", propertyNames[playerCheckpoint[playerid]-P_OFFSET], propertyValues[playerCheckpoint[playerid]-P_OFFSET]); SendClientMessage(playerid, COLOR_YELLOW, string); format(string, sizeof(string), "You will earn $%d regularly.", propertyEarnings[playerCheckpoint[playerid]-P_OFFSET]); SendClientMessage(playerid, COLOR_YELLOW, string); if(propertyOwner[playerCheckpoint[playerid]-P_OFFSET]<999) { GetPlayerName(propertyOwner[playerCheckpoint[playerid]-P_OFFSET], ownplayer, sizeof(ownplayer)); format(string, sizeof(string), "This property is currently owned by %s.", ownplayer); SendClientMessage(playerid, COLOR_RED, string); } } } //------------------------------------------------------------------------------------------------------ public OnPlayerRequestClass(playerid, classid) { if(classid == 0 || classid == 1 || classid == 2 || classid == 3 || classid == 4 || classid == 5 || classid == 6) { iSpawnSet[playerid] = 1; } else { iSpawnSet[playerid] = 0; } SetupPlayerForClassSelection(playerid); return 1; } public SetupPlayerForClassSelection(playerid) { SetPlayerPos(playerid,346.3652,305.9453,999.1484); SetPlayerFacingAngle(playerid, 0.0); SetPlayerCameraPos(playerid,343.8191,310.3137,999.1557); SetPlayerCameraLookAt(playerid,346.3652,305.9453,999.1484); SetPlayerInterior(playerid, 6); } public GameModeExitFunc() { GameModeExit(); } public OnGameModeInit() { SetGameModeText("166 props FUN!!!"); ShowPlayerMarkers(1); ShowNameTags(1); // Player Class's AddPlayerClass(280,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1); AddPlayerClass(281,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1); AddPlayerClass(282,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1); AddPlayerClass(283,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(284,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(285,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(286,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(287,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(254,1958.3783,1343.1572,15.3746,0.0,0,0,24,300,-1,-1); AddPlayerClass(255,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(256,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(257,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(258,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(259,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(260,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(261,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(262,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(263,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(264,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(274,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(275,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(276,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(1,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(2,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(290,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(291,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(292,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(293,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(294,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(295,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(296,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(297,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(298,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(299,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(277,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(278,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(279,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(288,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(47,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(48,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(49,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(50,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(51,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(52,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(53,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(54,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(55,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(56,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(57,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(58,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(59,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(60,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(61,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(62,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(63,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(64,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(66,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(67,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(68,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(69,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(70,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(71,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(72,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(73,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(75,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(76,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(78,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(79,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(80,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(81,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(82,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(83,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(84,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(85,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(87,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(88,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(89,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(91,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(92,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(93,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(95,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(96,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(97,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(98,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(99,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(100,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(101,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(102,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(103,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(104,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(105,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(106,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(107,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(108,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(109,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(110,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(111,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(112,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(113,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(114,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(115,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(116,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(117,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(118,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(120,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(121,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(122,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(123,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(124,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(125,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(126,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(127,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(128,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(129,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(131,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(133,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(134,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(135,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(136,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(137,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(138,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(139,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(140,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(141,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(142,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(143,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(144,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(145,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(146,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(147,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(148,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(150,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(151,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(152,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(153,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(154,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(155,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(156,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(157,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(158,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(159,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(160,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(161,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(162,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(163,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(164,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(165,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(166,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(167,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(168,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(169,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(170,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(171,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(172,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(173,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(174,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(175,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(176,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(177,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(178,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(179,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(180,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(181,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(182,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(183,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(184,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(185,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(186,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(187,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(188,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(189,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(190,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(191,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(192,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(193,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(194,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(195,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(196,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(197,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(198,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(199,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(200,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(201,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(202,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(203,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(204,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(205,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(206,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(207,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(209,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(210,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(211,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(212,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(213,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(214,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(215,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(216,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(217,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(218,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(219,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(220,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(221,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(222,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(223,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(224,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(225,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(226,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(227,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(228,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(229,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(230,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(231,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(232,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(233,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(234,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(235,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(236,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(237,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(238,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(239,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(240,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(241,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(242,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(243,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(244,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(245,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(246,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(247,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(248,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(249,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(250,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(251,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); AddPlayerClass(253,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1); // Car Spawns //---> LV // The Strip, Old Venturas Strip AddVehicle(409,2038.9760,1004.2764,10.4725,180.5512,0,0); // Four Dragons Casino Limo (left) AddVehicle(409,2038.9464,1014.8927,10.4723,180.3020,0,0); // Four Dragons Casino Limo (right) AddVehicle(409,2168.4163,1683.0472,10.6207,7.5586,1,1); // Caligula's Casino Limo (left) AddVehicle(409,2167.8572,1672.6106,10.6220,342.3914,1,1); // Caligula's Casino Limo (right) //otto's windsors AddVehicle(555,-1649.1710,1207.0829,13.3557,245.9892,2,1); // AddVehicle(555,-1659.0347,1219.7085,13.3570,277.2467,13,1); // // Police Station AddVehicle(598,2269.1013,2460.0193,10.5665,1.8127,0,1); // AddVehicle(598,2256.0642,2477.8748,10.5659,180.1925,0,1); // AddVehicle(598,2277.5566,2477.5100,10.5655,181.4603,0,1); // AddVehicle(598,2290.8252,2442.5459,10.5664,0.8304,0,1); // AddVehicle(523,2273.4575,2443.2056,10.3913,358.3958,0,0); // AddVehicle(523,2277.8516,2443.0400,10.3911,358.4349,0,0); // AddVehicle(523,2277.1509,2430.7817,2.8431,12.9150,0,0); // // Airport AddVehicle(476,1280.7679,1324.7982,11.5296,271.5213,1,6); // AddVehicle(476,1281.5981,1360.7289,11.5310,270.5776,1,6); // AddVehicle(411,1309.6434,1279.0077,10.8123,358.3326,43,0); // AddVehicle(487,1601.6499,1627.3640,10.9989,203.7898,54,29); // AddVehicle(487,1630.7175,1536.9312,10.9760,0.0009,26,57); // AddVehicle(487,1666.0521,1632.2396,11.0244,226.1210,29,42); // AddVehicle(488,1280.3417,1393.3505,10.9700,271.4767,2,29); // // 6 bmx bikes AddStaticVehicleEx(481,1880.1022,-1374.0728,13.5706,0,7,1,600); //bmx bike AddStaticVehicleEx(481,1874.6075,-1374.7095,13.5484,0,7,1,600); //bmx bike AddStaticVehicleEx(481,1943.9467,-1369.3985,18.5781,270,7,1,600); //bmx bike AddStaticVehicleEx(481,1944.3214,-1375.4357,18.5781,270,7,1,600); //bmx bike AddVehicle(522,1955.9353,-1356.7167,19.9227,277.1296,6,25); // AddVehicle(522,1947.5388,-1404.1012,13.1395,134.4124,6,25); // // Misc AddVehicle(560,2103.5046,2066.1592,10.4819,269.1725,3,39); // AddVehicle(434,2078.4536,2416.5383,26.5907,268.9259,12,12); // AddVehicle(506,2155.6711,2179.5710,10.3764,358.9250,7,7); // AddVehicle(480,1685.2557,-1043.6243,23.6791,358.3586,51,51); // AddVehicle(480,2135.9514,1398.1245,10.5931,0.6450,57,47); // AddVehicle(480,2764.8193,1272.0735,10.5236,88.8599,79,79); // AddVehicle(429,2074.9216,1492.4568,10.4249,1.2817,0,1); // AddVehicle(415,2039.3994,1608.0022,10.4426,180.8127,75,1); // AddVehicle(411,2039.3031,1322.4712,10.3990,180.7149,96,1); // AddVehicle(411,2142.2039,1019.3549,10.5474,88.5775,6,1); // AddVehicle(541,2132.9229,1025.6819,10.4453,268.2834,68,8); // AddVehicle(522,2125.7844,987.5491,10.3914,23.7679,51,118); // AddVehicle(522,2122.2378,987.5867,10.3867,22.3758,36,105); // AddVehicle(522,2352.3040,1404.9818,10.3863,244.2791,36,105); // AddVehicle(567,2262.5303,1451.5692,13.7654,90.9435,54,75); // AddVehicle(411,2039.6870,1545.2351,10.3990,2.4781,40,1); // AddVehicle(560,1666.6497,1297.9918,10.9148,358.4848,109,1); // AddVehicle(522,1669.8522,1316.7325,10.4078,344.0396,75,1); // AddVehicle(471,2005.5536,1239.7672,10.3302,308.1699,65,9); // AddVehicle(411,1913.0405,698.0679,10.9133,359.1315,41,41); // AddVehicle(411,2212.4106,727.7373,10.8987,0.5340,112,1); // AddVehicle(415,2442.1519,654.6589,10.9774,269.8957,0,1); // AddVehicle(541,2714.1694,892.1317,10.5610,185.3413,2,2); // AddVehicle(429,2783.8354,1973.7738,10.7229,140.3986,1,1); // AddVehicle(402,2826.3005,2360.4773,10.5462,88.8986,101,1); // AddVehicle(451,2793.2578,2428.0522,10.8787,314.5567,0,0); // AddVehicle(461,2033.6586,2754.9363,10.4177,334.8470,66,1); // AddVehicle(541,1601.0358,2674.0632,10.7575,164.4919,11,11); // AddVehicle(470,1555.8459,2751.5300,10.4462,269.6317,62,62); // AddVehicle(545,1597.0334,2834.4602,10.6313,0.0475,40,96); // AddVehicle(451,1464.0612,2773.7410,10.3789,359.5333,61,61); // AddVehicle(451,1118.4825,2088.6055,10.5226,97.3911,61,61); // AddVehicle(521,1082.6248,1889.8755,10.7155,358.9037,65,79); // AddVehicle(429,1372.0859,1904.3009,10.9363,89.5160,3,1); // AddVehicle(558,992.1266,1886.5604,11.0969,93.6190,75,1); // AddVehicle(415,954.7383,1806.6174,8.4207,270.9821,40,1); // AddVehicle(521,691.3638,1947.5439,5.1051,357.1463,36,0); // AddVehicle(482,1021.1492,1968.4868,11.2628,270.4432,10,10); // AddVehicle(470,1907.0430,2082.3601,10.5742,255.3108,94,1); // AddVehicle(603,2008.1945,2487.0833,10.6454,270.6761,11,11); // AddVehicle(567,1900.6580,2403.5984,10.5247,82.2076,52,52); // AddVehicle(522,2541.1194,2363.1489,3.7821,254.6702,39,106); // AddVehicle(521,2511.9788,2369.3059,10.3847,289.2283,92,3); // AddVehicle(506,2511.7473,2388.8484,10.5247,271.0111,52,52); // AddVehicle(470,2530.6445,2506.2998,21.9769,267.9510,43,0); // AddVehicle(411,2297.7175,2528.5786,10.5368,270.3729,22,22); // AddVehicle(522,1893.8524,2115.7625,10.4177,359.9979,75,1); // AddVehicle(545,1634.2186,2082.1187,10.9931,269.5952,53,53); // AddVehicle(429,1512.3464,2001.3075,10.6885,180.2998,97,96); // AddVehicle(541,1603.3695,1839.0663,10.5446,179.6657,2,78); // AddVehicle(429,1623.2260,1850.8583,10.4452,1.6924,2,0); // AddVehicle(402,1529.8992,1019.6284,10.5841,1.1433,97,1); // AddVehicle(603,982.2697,1730.0231,8.3916,270.6754,51,1); // AddVehicle(468,1021.3074,2020.6182,10.6648,262.1683,36,36); // AddVehicle(461,1310.5831,2578.5259,10.4116,157.6011,36,1); // AddVehicle(461,1234.3383,2606.2632,10.4020,64.9231,79,1); // AddVehicle(411,1640.3064,2576.4785,10.5545,359.4968,106,1); // AddVehicle(461,1636.1115,2576.2866,10.4060,6.8278,61,1); // AddVehicle(603,2100.6445,1397.7743,10.6583,359.7213,45,45); // AddVehicle(451,2603.4785,2142.9934,10.5252,89.5199,126,0); // AddVehicle(541,2426.8665,2131.0986,10.3688,88.8057,58,8); // AddVehicle(482,2561.9648,746.7307,10.9434,359.2504,64,64); // AddVehicle(479,2361.7429,648.4590,11.1009,0.2114,54,31); // AddVehicle(603,2114.4250,901.8270,10.6250,271.0256,37,0); // AddVehicle(429,2393.7859,987.6761,10.5000,91.1308,2,1); // AddVehicle(411,2492.3496,1232.0537,10.7027,92.0766,6,6); // AddVehicle(415,2461.6316,1345.9426,10.5989,178.7844,62,1); // AddVehicle(558,2525.6709,1456.8545,10.4731,358.5329,36,1); // AddVehicle(480,2372.7192,1648.5884,10.9127,0.0007,101,1); // AddVehicle(480,2363.4490,1668.6566,10.4784,270.2787,22,22); // AddVehicle(415,2186.9312,2000.2557,10.6915,269.8876,93,64); // AddVehicle(522,2142.0264,1408.3706,10.4099,194.4707,61,1); // AddVehicle(567,2075.4434,1005.0959,10.5453,0.6719,97,96); // AddVehicle(470,2182.4255,1286.8412,10.3682,0.6061,10,10); // AddVehicle(545,2619.3079,2099.2168,10.6276,359.8427,28,96); // AddVehicle(506,2119.2561,1924.6890,10.3762,179.9013,3,3); // AddVehicle(451,2507.0249,2131.2458,10.4495,90.6109,125,125); // AddVehicle(541,2029.5710,1912.6765,11.9289,0.8390,58,8); // AddVehicle(482,1471.4332,974.3174,10.9375,0.5948,48,48); // AddVehicle(429,1661.8137,988.1861,10.5577,359.4649,12,1); // AddVehicle(434,2612.5117,2258.4634,10.7843,268.9683,12,12); // AddVehicle(451,2563.9819,2275.1680,10.5272,90.0273,36,36); // AddVehicle(422,1624.0474,687.7905,10.4453,268.0920,8,8); // AddVehicle(541,1399.5751,973.1689,10.4433,358.6299,58,8); // AddVehicle(482,1727.6675,910.3063,10.4453,0.9494,58,8); // AddVehicle(415,1881.7091,957.6345,10.4454,90.5756,58,8); // AddVehicle(560,1881.5790,966.7969,10.4453,91.4834,7,7); // AddVehicle(451,2038.7554,928.7838,8.9050,180.4548,60,60); // AddVehicle(451,2217.1121,1838.6136,10.4453,178.6115,1,1); // AddVehicle(480,2440.7048,2013.0469,10.4452,90.3542,58,8); // AddVehicle(468,2588.6907,2071.0215,10.4378,269.7279,0,0); // AddVehicle(468,1876.2561,2674.1755,10.4693,91.1653,68,8); // AddVehicle(429,1358.0430,2644.5254,10.4452,176.5554,68,8); // AddVehicle(506,1963.8176,1098.2622,10.3688,88.4614,0,0); // AddVehicle(560,2076.0898,1221.5729,10.3259,0.6917,3,39); // AddVehicle(434,2563.5271,2258.0925,10.7930,269.2495,12,12); // //--->Sacky's Vehicles //AddVehicle(520,-2178.3079,2772.5088,167.0436,0.3557,0,0); // hydraspot AddVehicle(481,-2237.6030,-1710.2161,480.3918,102.3212,3,3); // BMX1 AddVehicle(481,-2237.1411,-1712.0022,480.3951,98.2932,3,3); // BMX2 AddVehicle(510,-2234.9568,-1730.4891,480.4653,95.3304,46,46); // mtbike1 AddVehicle(510,-2235.2356,-1729.0687,480.4663,96.8645,46,46); // mtbike2 AddVehicle(471,-2236.1477,-1721.9175,480.3555,95.5210,103,111); // quad AddVehicle(468,-2241.2437,-1748.8531,480.5383,67.3372,46,46); // sanchez //--->LS // East Beach, Ganton, Willowfield AddVehicle(471,2650.0088,-2017.7560,13.0646,29.0515,74,1); // AddVehicle(567,2785.0378,-1835.8467,9.3931,19.0242,37,1); // AddVehicle(575,2741.5583,-1850.8942,9.4041,0.3303,28,1); // AddVehicle(402,2503.3235,-1025.6926,69.8234,173.4962,26,96); // AddVehicle(468,2491.5068,-1686.2706,13.0519,249.6828,84,84); // AddStaticVehicle(534,2753.1489,-1848.3888,9.4129,199.8225,1,86); // AddStaticVehicle(534,2772.5720,-1876.4222,9.4897,3.3551,1,86); // AddStaticVehicle(534,2645.0403,-1991.2509,13.2800,178.9418,25,86); // AddStaticVehicle(534,2685.3352,-2017.6854,13.2691,1.3295,25,36); // // Airport AddVehicle(488,1972.3531,-2626.4558,14.0067,0.0064,58,8); // AddVehicle(487,1950.7859,-2626.6453,13.7244,0.0010,29,42); // //--------truck and trailer yard AddVehicle(514,1478.2212,701.9988,11.2572,287.6079,113,1); // AddVehicle(514,1459.3215,687.4426,11.2635,324.2681,113,1); // AddVehicle(514,1506.0392,699.6177,11.2571,243.8187,113,1); // AddVehicle(514,1520.3918,680.9836,11.3273,198.1738,113,1); // AddVehicle(435,1525.6213,731.0825,11.4006,269.4335,3,100); // AddVehicle(435,1539.8170,690.5948,10.4838,89.9671,3,39); // AddVehicle(435,1554.8264,769.9037,10.4908,186.7395,3,39); // AddVehicle(435,1496.2870,731.4821,11.4055,270.5516,3,100); // //---> SF // Wang Cars AddVehicle(411,-1990.1581,265.2109,34.8726,264.1558,0,1); // AddVehicle(411,-1990.4656,242.4877,34.8683,298.4506,0,1); // AddVehicle(562,-1950.2374,268.5992,40.7105,123.1579,35,1); // AddVehicle(559,-1988.0957,273.5093,34.8319,84.0481,58,8); // AddVehicle(560,-1948.2877,259.1573,35.1743,67.8661,9,39); // AddVehicle(561,-1948.6843,273.2557,35.2867,124.6799,43,21); // AddVehicle(558,-1947.0178,265.9857,35.1050,92.1937,116,1); // AddVehicle(522,-1988.0233,300.5991,34.7454,75.9571,3,8); // AddVehicle(522,-1954.7843,257.8236,40.6166,264.3245,3,8); // AddVehicle(560,-1954.6226,304.1595,35.1735,131.1283,9,39); // AddVehicle(561,-1949.5789,259.7538,40.8622,55.5800,43,21); // AddVehicle(559,-1991.6965,254.5286,34.8282,271.2640,58,8); // AddVehicle(558,-1954.9519,298.6639,40.6769,180.7379,116,1); // // Arch Angels AddVehicle(470,-2675.7153,204.8967,3.9608,0.5800,42,42); // AddVehicle(562,-2663.0750,204.6316,3.9947,359.6160,102,1); // // Airport AddVehicle(519,-1369.3688,-231.3658,15.0668,287.6136,1,1); // AddVehicle(519,-1340.6844,-256.7870,15.0787,359.7783,1,1); // AddVehicle(420,1707.8257,1437.0240,10.3646,356.0842,6,1); // LV taxi AddVehicle(420,1710.0752,1449.8829,10.4794,343.5590,6,1); // LV taxi AddVehicle(420,1713.2416,1460.9272,10.4810,344.3314,6,1); // LV taxi // Misc AddVehicle(495,-2133.3811,-923.3005,31.6483,270.1331,119,122); // //---> Country/Desert (non main cities) // Restricted Area AddVehicle(568,275.8834,1963.5010,18.0796,243.1062,9,39); // AddVehicle(470,276.2512,1948.9298,17.6354,316.9448,43,0); // AddVehicle(470,275.2954,1994.8942,17.6343,255.0645,43,0); // AddVehicle(470,276.9151,1984.6567,17.6347,299.7661,43,0); // // Verdant Meadows Air Strip AddVehicle(468,432.9102,2537.1130,15.7590,142.1203,103,111); // AddVehicle(476,290.8257,2540.9556,17.5273,181.2132,1,6); // AddVehicle(476,325.8478,2541.2153,17.5251,180.5804,1,6); // // Bone County AddVehicle(568,-367.2715,2218.3394,42.3572,64.5478,9,39); // AddVehicle(495,-370.5393,2232.3438,42.8357,131.6836,119,122); // // Road House AddVehicle(506,612.6583,1695.3147,6.6968,301.5790,76,76); // AddVehicle(521,659.3052,1720.4465,6.5856,25.6903,72,1); // // El Quebrados AddVehicle(422,-1567.0131,2640.4790,55.5524,270.6975,1,0); // // Tierra Nobada AddVehicle(522,-1256.1470,2717.0349,49.6315,10.8651,8,82); // AddVehicle(495,-681.7900,965.7326,12.5079,91.1233,119,122); // AddVehicle(522,1915.0261,2160.5774,10.3906,145.5279,6,25); // AddVehicle(522,1712.6011,2242.8533,10.3890,44.7473,6,25); // // Valle Ocultado AddVehicle(539,-922.6368,2705.8784,41.8895,187.5998,61,98); // AddVehicle(539,-918.9246,2706.3591,41.7437,188.2234,79,74); // AddVehicle(539,-915.4460,2706.7656,41.7272,188.0342,96,67); // // Fort Carson AddVehicle(468,81.3197,1165.8784,18.1918,332.3361,84,84); // AddVehicle(468,76.8479,1165.7139,18.1974,347.5230,11,11); // AddVehicle(482,97.1682,1060.8798,13.6953,218.7233,15,32); // AddVehicle(422,113.6845,1060.4882,13.2982,176.2666,51,1); // // Montgomery AddVehicle(468,1291.0779,341.4617,19.0949,237.2159,11,11); // AddVehicle(468,1292.0476,343.6703,19.0877,239.8954,22,22); // // Whetstone AddVehicle(468,-1539.0784,-2741.5198,48.2034,176.8269,6,6); // AddVehicle(468,-1543.4103,-2739.8008,48.2043,174.6410,53,53); // // Angel Pine AddVehicle(599,-2178.1401,-2370.9922,30.8200,142.7593,0,1); // // Dillimore AddVehicle(415,652.0016,-560.5439,16.0959,358.8031,40,1); // AddVehicle(599,612.9755,-601.6046,17.4305,89.9096,0,1); // AddVehicle(468,668.3681,-470.8224,15.8764,250.8467,53,53); // AddVehicle(468,668.1896,-467.7370,16.0010,251.8381,3,3); // // Mount Chilliad AddVehicle(495,-2407.2019,-2175.4863,33.6380,273.5125,119,122); // AddVehicle(495,-2406.8589,-2180.5020,33.6401,264.6792,119,122); // AddVehicle(495,-2406.1921,-2188.2976,33.6420,272.6606,119,122); // AddVehicle(495,-2412.1377,-2172.3567,33.6402,269.7164,119,122); // // Misc Sea vehicles AddVehicle(460,1645.7194,583.3002,1.8784,179.1372,1,30); // AddVehicle(460,-623.0481,1940.8014,1.7043,165.0326,57,34); // AddVehicle(460,-1248.3275,983.0996,1.7858,315.3705,1,30); // // In-game pickups AddStaticPickup(371, 15, 1710.3359,1614.3585,10.1191); //parachute AddStaticPickup(371, 15, 1964.4523,1917.0341,130.9375); //parachute AddStaticPickup(371, 15, 2055.7258,2395.8589,150.4766); //parachute AddStaticPickup(371, 15, 2265.0120,1672.3837,94.9219); //parachute AddStaticPickup(371, 15, 2265.9739,1623.4060,94.9219); //parachute AddStaticPickup(371, 15, 2301.8430,1298.3070,67.4688); //parachute AddStaticPickup(321, 22, 1212.4238,-34.9983,1000.9531); //dildo AddStaticPickup(321, 22, 1202.5164,11.0296,1000.9219); //dildo //AddStaticPickup(341,2,2527.1021,-1677.7054,19.9302); // chainsaw (ls) //AddStaticPickup(355,2,-1531.3032,687.3546,133.0514); // ak47 (sf) //AddStaticPickup(352,2,-127.2575,2258.3354,28.4193); // tech 9 (desert) //AddStaticPickup(356,2,1874.8624,2078.6260,16.0869); // mp4 (burger shot) //AddStaticPickup(361,2,-214.6140,1777.1444,102.1347); // flamethrower (desert cliff) //AddStaticPickup(353,2,2242.7139,1131.7731,10.8203); // mp5 (castle casino) //AddStaticPickup(1242,2,1643.5042,1673.4307,10.8203); // armour (lv airport) //AddStaticPickup(1242,2,-415.3339,1353.0487,12.8818); // armour (cave) //AddStaticPickup(1240,2,-413.8541,1346.3662,13.0434); // health (cave) AddStaticPickup(367, 15, 2097.9463,1160.1179,11.6484); //camera (lv) AddStaticPickup(367, 15, -1954.8512,303.8038,41.0471); //camera (sf) AddStaticPickup(367, 15, 2830.9158,-1875.0287,11.1049); //camera (ls) SetTimer("MoneyGrubScoreUpdate", 10000, 1); SetTimer("checkpointUpdate", 1100, 1); SetTimer("PirateShipScoreUpdate", 2001, 1); SetTimer("ParkingScoreUpdate", 2001, 1); SetTimer("WuesteScoreUpdate", 2001, 1); SetTimer("SanFierScoreUpdate", 2001, 1); SetTimer("ChiliadScoreUpdate", 2001, 1); SetTimer("FickScoreUpdate", 2001, 1); SetTimer("RanchScoreUpdate", 2001, 1); SetTimer("ContainScoreUpdate", 2001, 1); SetTimer("HarryScoreUpdate", 2001, 1); SetTimer("SpediScoreUpdate", 2001, 1); SetTimer("JizparkScoreUpdate", 2001, 1); SetTimer("GoldenScoreUpdate", 1001, 1); SetTimer("RastplScoreUpdate", 2001, 1); SetTimer("TankSFScoreUpdate", 2001, 1); SetTimer("DinerScoreUpdate", 2001, 1); SetTimer("SuperMScoreUpdate", 2001, 1); SetTimer("MotelScoreUpdate", 2001, 1); SetTimer("AssWorldScoreUpdate", 2001, 1); SetTimer("MiddleSFScoreUpdate", 2001, 1); SetTimer("SWISFScoreUpdate", 2001, 1); SetTimer("ParkingWaterScoreUpdate", 2001, 1); SetTimer("PlayaScoreUpdate", 1001, 1); SetTimer("OceanDocksScoreUpdate", 2001, 1); SetTimer("LittleCalexicoScoreUpdate", 2001, 1); SetTimer("TomasuScoreUpdate", 60001, 1); SetTimer("Maut1ScoreUpdate", 501, 1); SetTimer("Maut2ScoreUpdate", 501, 1); SetTimer("Maut3ScoreUpdate", 501, 1); SetTimer("Maut4ScoreUpdate", 501, 1); SetTimer("PropertyScoreUpdate", 40005, 1); SetTimer("payday", 300000, 1); SetTimer("AutoAnnounce",160000,1); // 60000 = 1 minute, 1 = repeat SetTimer("SavedUpdate",60017, 1); //SetTimer("GameModeExitFunc", gRoundTime, 0); return 1; } public AddVehicle(modelid,Float:spawn_x,Float:spawn_y,Float:spawn_z,Float:z_angle,color1,color2) { vehicleModel[AddStaticVehicle(modelid,spawn_x,spawn_y,spawn_z,z_angle,color1,color2)-1]=modelid; } public SendPlayerFormattedText(playerid, const str[], define) { new tmpbuf[256]; format(tmpbuf, sizeof(tmpbuf), str, define); SendClientMessage(playerid, 0xFFFF00AA, tmpbuf); } public SendAllFormattedText(playerid, const str[], define) { new tmpbuf[256]; format(tmpbuf, sizeof(tmpbuf), str, define); SendClientMessageToAll(0xFFFF00AA, tmpbuf); } strtok(const string[], &index) { new length = strlen(string); while ((index < length) && (string[index] <= ' ')) { index++; } new offset = index; new result[20]; while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string[index]; index++; } result[index - offset] = EOS; return result; } isStringSame(const string1[], const string2[], len) { for(new i = 0; i < len; i++) { if(string1[i]!=string2[i]) return 0; if(string1[i] == 0 || string1[i] == '\n') return 1; } return 1; } //auto announce------------------------------------------ public AutoAnnounce() { for (new i=0;i