rendered paste body#include <a_samp>#include <core>#include <float>static gTeam[MAX_PLAYERS];new gPlayerClass[MAX_PLAYERS];#define COLOR_RED 0xAA3333AA //not needed if allready defined!#define COLOR_WHITE 0xFFFFFFAA //not needed if allready defined!#define TIME 3000 //You can change this for a slower or faster decrease in fuel#define AMOUNT 100 //You can change this for a higher or lower amount of fuel when you spawnnew FUEL_DISABLED;new Petrol[MAX_PLAYERS];#define COLOR_GREY 0xAFAFAFAA#define COLOR_GREEN 0x33AA33AA#define COLOR_RED 0xAA3333AA#define COLOR_YELLOW 0xFFFF00AA#define COLOR_WHITE 0xFFFFFFAA#define COLOR_BLUE 0x0000BBAA#define COLOR_LIGHTBLUE 0x33CCFFAA#define COLOR_ORANGE 0xFF9900AA#define COLOR_BLACK 0x000000AA#define DELAY_TIME 30000#define TEAM_ADMINS 0#define TEAM_GESCHAEFTSLEUTE 1#define TEAM_POLIZISTEN 2#define TEAM_GESUCHTE 3#define PocketMoney 2000 // Amount player recieves on spawn.#define INACTIVE_PLAYER_ID 255#define GIVECASH_DELAY 5000 // Time in ms between /givecash commands.//Character Selection Screen Music#define MUSIC_ON 1097#define MUSIC_OFF 1098#define NUMVALUES 4#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 für 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 //Wettbüro 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 //Wettbüro 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 31forward MoneyGrubScoreUpdate();forward Givecashdelaytimer(playerid);//forward GrubModeReset();forward SetPlayerRandomSpawn(playerid);forward SetupPlayerForClassSelection(playerid);forward GameModeExitFunc();//------------------------------------------------------------------------------------------------------new iSpawnSet[MAX_PLAYERS];new bank[MAX_PLAYERS];new bounty[MAX_PLAYERS];new playerCheckpoint[MAX_PLAYERS];new gambleWarning[MAX_PLAYERS];new savePos;new gHour;/*new Float:LocX = 0.0;new Float:LocY = 0.0;new Float:LocZ = 0.0;new Float:Ang;*/new gDelay = DELAY_TIME;new gLastCall = 0;new playerColors[100] = {0xFF8C13FF,0x277DBFFF,0x1DA86BFF,0xDC8014FF,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[3][3] = {{2127.19,2365.53,10.8203}, //Las Venturas{1521.31,-768.731,79.9021}, //Los Santos{-2541.65,1228.03,37.4219} //San Fierro};new Float:gCopPlayerSpawns[4][3] = {{2295.47,2467.71,10.8203}, //Polizei Las Venturas{1576.27,-1620.29,13.5469}, //Polizei Los Santos{612.1610,-586.3729,17.2265}, //Polizei Dillimore{-1638.05,663.772,7.1875} //Polizei San Fierro};#define MAX_POINTS 197new 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 für 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 für 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, //Wettbüro 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 166new propertyNames[MAX_PROPERTIES][32] = { "Four Dragons LV - $75000", "Sex Shop LV - $20000", "Bar - $20000", "Caligula LV - $100000", "Zip Shop - $15000", "Binco Shop - $10000", "Tattoo Parlor - $10000", "Boutique - $15000", "Police Department LS - $20000", "Pizza - $20000", "Victim - $15000", "Appartment LV - $15000", "Ballas Motel LS - $10000", "Wettbüro LS - $20000", "Vodka Inn LS - $40000", //Russen-Hauptquartier "CJ's Home LS - $15000", "Gym LS - $20000", "Appartment LS (1) - $15000", "Appartment LS (2) - $15000", "Turning Trick SF - $25000", "Appartment SF (1) - $15000", "SubUrban SF - $15000", "Police Department LV - $25000", "Lapdance LV - $20000", "DidierSachs LS - $20000", "ProLaps LS - $20000", "69CentStore LS - $20000", "Alhambra LS - $30000", "BarberShop - $15000", "Appartment SF (2) - $15000", "Cobra SF - $20000", "Hemlock Tattoo SF - $10000", "Appartment LS (3) - $15000", "Market Station LS - $25000", "Zero RC - $20000", "Appartment Desert - $15000", "Clucking Bell - $20000", "Dam - $90000", "Appartment SF (3) - $15000", "Tattoo LS - $10000", "Reeces LS - $20000", "Spread Ranch - $25000", "MilitaryBase - $110000", "Old Airport - $50000", "BurgerShot - $25000", "Tomasu's Villa LS - $30000", "Blackfield Stadium - $60000", "LS Forum - $40000", "Toby Tower LS - $70000", "MagnusCorp Pyramid - $40000", "House LV - $15000", "Lil' Casino LV - $65000", "Gym LV - $20000", "Rock Hotel LV - $30000", "Otto's Autos - $30000", "Wang Cars - $40000", "Jizzy's Club - $30000", "Zombotech - $30000", "Toreno's - $25000", "Alien Inn - $10000", "Quarry - $100.000", "24/7 Gas LS - $10000", "Fleischberg - $40000", "Glocki's Funworld - $70000", "Greenglass College - $30000", "Turning Trick LV - $50000", "Boat Training - $20000", "Wollo's BoozeUp - $15000", "Tierra Robada Corp - $30000", "Teepee Motel VO - $15000", "Corvin Stadium - $40000", "Bike Park - $5000", "Airpot LS - $130000", "Airpot LV - $130000", "Airpot SF - $130000", "Police Department SF - $20000", "Container I - $50000", "SupaSave - $15000", "Interglobal TV - $30000", "Porn Studios - $50000", "Pet Sematary - $20000", "Texas Ted's - $25000", "Bandits - $50000", "Shody - $30000", "Steakhouse - $25000", "Lil' Church LV - $5000", "Venturas Steaks - $20000", "Emerald Isle - $60000", "General Store - $15000", "K.A.C.C. - $60000", "Golfclub LV - $100000", "Unity Station LS - $60000", "County General LS - $40000", "Hospital LS - $40000", "Appartment LV (2) - $5000", "Visage - $60000", "Wedding Chapel 10000", "Cum-a-lot - $100000", "Royal Casino - $90000", "High Roller - $30000", "Dick's Sounds - $10000", "Dom's Rubbers - $10000", "Vinyl Countdown I - $15000", "Bearded Clam - $10000", "Bank of SA - $100000", "Daily Globes - $5000", "Hippy Shopper I - $20000", "Vinyl Countdown II - $30000", "Verona Mall - $80000", "Hippy Shopper II - $40000", "TG Stages - $25000", "AircraftCarrier - $100000", "Fire Dept SF - $20000", "Biffin Bridge - $50000", "Uphill Gardener - $10000", "Michelle's - $15000", "Container II - $60000", "Pier 69 - $35000", "Coutt & Schutz - $10000", "ConferenceCenter - $70000", "Papercuts - $25000", "LS Fashions - $7000", "Grauman's - $50000", "Alexanders' Toys - $10000", "COGS - $5000", "Ranch - $17000", "Xoomer Corp - $30000", "Side Walk Market - $7000", "Sumo - $25000", "Snake Farm - $10000", "Sheriff El Q - $7000", "Hotel El Q - $100000", "Med. Center El Q - $17000", "Wheel Arch Angels - $15000", "Lavanderia - $5000", "Jazz Mags - $17000", "Easter Board Farm - $60000", "Motel 1 FC - $17000", "Motel 2 FC - $17000", "Motel 3 FC - $17000", "Motel 4 FC - $15000", "Hotel FC - $25000", "Diner FC - $25000", "Bowled Spot - $25000", "U Get Inn - $10000", "King Ring - $7000", "No1 Desert - $10000", "Cafe FC - $10000", "Bank FC - $25000", "Bar FC - $75000", "Astro Drive-In - $15000", "HI K69 - $10000", "EasterBayChemicals - $80000", "Sheriff FC - $7000", "Med. Center FC - $17000", "Jim's Ring - $20000", "Nude Shop 1 - $25000", "Nude Shop 2 - $25000", "City Planning - $40000", "Teepee Motel LB - $25000", "Bank LB - $45000", "Smokin'Beef Grill LB - $15000", "Cemetery LB - $20000", "SolarinInd. SF - $40000", "SolarinInd.Dillimore - $30000", "Federal Mint - $50000"};new propertyValues[MAX_PROPERTIES] = {75000 , // Four Dragons LV20000 , // Sex Shop LV20000 , // Shithole Bar100000 , // Caligula LV15000 , // Zip Shop10000 , // Binco Shop10000 , // Tattoo Parlor15000 , // Boutique20000 , // Police Department LS20000 , // Pizza15000 , // Victim15000 , // Appartment LV10000 , // Ballas Motel LS20000 , // Wettbüro LS40000 , // Vodka Inn LS15000 , // CJ's Home LS20000 , // Gym LS15000 , // Appartment LS (1)15000 , // Appartment LS (2)25000 , // Fahrschule SF15000 , // Appartment SF (1)15000 , // SubUrban SF25000 , // Police Department LV20000 , // Lapdance LV20000 , // DidierSachs LS20000 , // ProLaps LS20000 , // 69CentStore LS30000 , // Alhambra LS15000 , // BarberShop15000 , // Appartment SF (2)20000 , // Cobra SF10000 , // Hemlock Tattoo SF15000 , // Appartment LS (3)25000 , // Market Station LS20000 , // Zero RC15000 , // Appartment Desert20000 , // Clucking Bell90000 , // Dam15000 , // Appartment SF (3)10000 , // Tattoo LS20000 , // Reeces LS25000 , // Spread Ranch110000 , // MilitaryBase50000 , // Old Airport25000 , // BurgerShot30000 , // Tomasu's Villa LS60000 , // Blackfield Stadium40000 , // LS Forum70000 , // Toby Tower LS40000 , // MagnusCorp Pyramid15000 , // House LV65000 , // Lil' Casino LV20000 , // Gym LV30000 , // Rock Hotel LV30000 , // Otto's Autos40000 , // Wang Cars30000 , // Jizzy's Club30000 , // Zombotech25000 , // Toreno's10000 , // Alien Inn100000 , // Quarry10000 , // 24/7 Gas LS40000 , // Fleischberg70000 , // Glocki's Funworld30000 , // Gay Institute50000 , // Turning Trick LV20000 , // Boat Training15000 , // Wollo's Booze-Up30000 , // Desert Corp.15000 , // Teepee Motel VO40000 , // Corvin Stadium5000 , // Bike Park130000 , // Airpot LS130000 , // Airpot LV130000 , // Airpot SF20000 , // Police Department SF50000 , // Container Ship15000 , // SupaSave30000 , // Interglobal Television50000 , // Porn Studios20000 , // Pet Sematary25000 , // Texas Ted's50000 , // Bandits30000 , // Shody25000 , // Steakhouse5000 , // Lil' Church LV20000 , // Venturas Steaks60000 , // Emerald Isle15000 , // General Store60000 , // K.A.C.C.100000 , // Golfclub LV60000 , // Unity Station LS40000 , // County General LS40000 , // Hospital Los Santos5000 , // Appartment Las Venturas 260000 , // The Visage10000 , // Wedding Chapel100000 , // Cum-a-lot90000 , // Royal Casino30000 , // High Roller10000 , // Dick's Sounds10000 , // Dom's Rubbers15000 , // Vinyl Countdown I10000 , // Bearded Clam100000 , // Bank of San Andreas5000 , // Daily Globes20000 , // Hippy Shopper I30000 , // Vinyl Countdown II80000 , // Verona Mall40000 , // Hippy Shopper II25000 , // TG Stages100000 , // Aircraft Carrier20000 , // Fire Dept SF50000 , // Biffin Bridge10000 , // Uphill Gardener15000 , // Michelle's60000 , // Container II35000 , // Pier 6910000 , // Coutt & Schutz70000 , // Conference Center25000 , // Papercuts7000 , // LS Fashions50000 , // Grauman's10000 , // Alexanders' Toys5000 , // COGS17000 , // Ranch shop30000 , // Xoomer Corp7000 , // Side Walk Market25000 , // Sumo10000 , // Snake Farm7000 , // Sheriff El Quebrados100000 , // Hotel El Quebrados17000 , // Medical Center El Quebrados15000 , // Wheel Arch Angels5000 , // Lavanderia17000 , // Jazz Mags60000 , // Easter Board Farm17000 , // Motel 1 FC17000 , // Motel 2 FC17000 , // Motel 3 FC15000 , // Motel 4 FC25000 , // Hotel FC25000 , // Diner FC25000 , // Bowled Spot10000 , // U Get Inn7000 , // King Ring10000 , // No1 Desert10000 , // Cafe FC25000 , // Bank FC75000 , // Bar FC15000 , // Astro Drive-In10000 , // HI K6980000 , // Easter Bay Chemicals7000 , // Sheriff FC17000 , // Medical Center FC20000 , // Jim's Ring25000 , // Nude Shop 125000 , // Nude Shop 240000 , // City Planning25000 , // Teepee Motel LB45000 , // Bank LB15000 , // Smokin' Beef Grill LB20000 , // Cemetery LB40000 , // Solarin Industries SF30000 , // Solarin Industries Dillimore50000 // Federal Mint};new propertyEarnings[MAX_PROPERTIES] = {5000 , // Four Dragons LV1000 , // Sex Shop LV1000 , // Shithole Bar6000 , // Caligula LV500 , // Zip Shop300 , // Binco Shop300 , // Tattoo Parlor1000 , // Boutique1500 , // Police Department LS1500 , // Pizza500 , // Victim1000 , // Appartment LV400 , // Ballas Motel LS2000 , // Wettbüro LS3000 , // Vodka Inn LS1000 , // CJ's Home LS1000 , // Gym LS500 , // Appartment LS (1)500 , // Appartment LS (2)2000 , // Fahrschule SF500 , // Appartment SF (1)1000 , // SubUrban SF2500 , // Police Department LV1000 , // Lapdance LV2000 , // DidierSachs LS1500 , // ProLaps LS1000 , // 69CentStore LS2500 , // Alhambra LS2000 , // BarberShop500 , // Appartment SF (2)1500 , // Cobra SF400 , // Hemlock Tattoo SF1000 , // Appartment LS (3)2000 , // Market Station LS1500 , // Zero RC500 , // Appartment Desert1000 , // Clucking Bell6000 , // Dam500 , // Appartment SF (3)300 , // Tattoo LS1500 , // Reeces LS2000 , // Spread Ranch7000 , // MilitaryBase3500 , // Old Airport2000 , // BurgerShot3000 , // Tomasu's Villa LS3500 , // Blackfield Stadium3000 , // LS Forum4500 , // Toby Tower LS2500 , // MagnusCorp Pyramid600 , // House LV4000 , // Lil' Casino LV1000 , // Gym LV3000 , // Rock Hotel LV2500 , // Otto's Autos2500 , // Wang Cars3000 , // Jizzy's Club2000 , // Zombotech1500 , // Toreno's500 , // Alien Inn5000 , // Quarry500 , // 24/7 Gas LS3000 , // Fleischberg1500 , // Glocki's Funworld3500 , // Gay Institute2000 , // Turning Trick LV1000 , // Boat Training1000 , // Wollo's Booze-Up2000 , // Desert Corp.500 , // Teepee Motel VO2500 , // Corvin Stadium200 , // Bike Park6500 , // Airpot LS6500 , // Airpot LV6500 , // Airpot SF1000 , // Police Department SF2500 , // Container Ship1000 , // SupaSave2000 , // Interglobal Television2500 , // Porn Studios1500 , // Pet Sematary2000 , // Texas Ted's2500 , // Bandits2000 , // Shody500 , // Steakhouse200 , // Lil' Church LV1000 , // Venturas Steaks5000 , // Emerald Isle1000 , // General Store4000 , // K.A.C.C.5000 , // Golfclub LV3000 , // Unity Station LS3000 , // County General LS3000 , // Hospital Los Santos100 , // Appartment Las Venturas 24000 , // The Visage1000 , // Wedding Chapel5000 , // Cum-a-lot5000 , // Royal Casino2000 , // High Roller1000 , // Dick's Sounds1000 , // Dom's Rubbers2000 , // Vinyl Countdown I200 , // Bearded Clam3500 , // Bank of San Andreas200 , // Daily Globes500 , // Hippy Shopper I2000 , // Vinyl Countdown II4000 , // Verona Mall2500 , // Hippy Shopper II1500 , // TG Stages5500 , // Aircraft Carrier500 , // Fire Dept SF2500 , // Biffin Bridge500 , // Uphill Gardener1000 , // Michelle's4000 , // Container II2500 , // Pier 69100 , // Coutt & Schutz5000 , // Conference Center1000 , // Papercuts900 , // LS Fashions4000 , // Grauman's1000 , // Alexanders' Toys400 , // COGS1200 , // Ranch shop2800 , // Xoomer Corp300 , // Side Walk Market2500 , // Sumo800 , // Snake Farm300 , // Sheriff El Quebrados500 , // Hotel El Quebrados1000 , // Medical Center El Quebrados1000 , // Wheel Arch Angels250 , // Lavanderia1200 , // Jazz Mags4000 , // Easter Board Farm1600 , // Motel 1 FC1600 , // Motel 2 FC1600 , // Motel 3 FC1500 , // Motel 4 FC2500 , // Hotel FC1000 , // Diner FC1000 , // Bowled Spot300 , // U Get Inn400 , // King Ring600 , // No1 Desert2000 , // Cafe FC1000 , // Bank FC1500 , // Bar FC500 , // Astro Drive-In250 , // HI K696000 , // Easter Bay Chemicals250 , // Sheriff FC1500 , // Medical Center FC1300 , // Jim's Ring1500 , // Nude Shop 11500 , // Nude Shop 23000 , // City Planning1500 , // Teepee Motel LB3500 , // Bank LB500 , // Smokin' Beef Grill LB1500 , // Cemetery LB3500 , // Solarin Industries SF2500 , // Solarin Industries Dillimore4000 // 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 17new weaponNames[MAX_WEAPONS][32] = { "Shotgun", "Combat Shotgun", "Micro Uzi", "Tec9", "MP5", "AK47", "M4", //"Minigun", "Sawnoff", "Flamethrower", "Nitestick", "Knife", "Katana", "dildo1", "Dildo2", "Pistol", "Silenced Pistol", "Chainsaw"};new weaponIDs[MAX_WEAPONS] = { 25, //Shotgun 27, //Combat shotgun 28, //Micro Uzi 32, //Tec9 29, //MP5 30, //AK47 31, //M4 //38, //Minigun 26, //Sawnoff 37, //Flamethrower 3, //nitestick 4, //Knife 8, //Katana 10, //Dildo1 12, //Dildo2 22, //Pistol 23, //Silenced Pistol 9 //Chainsaw};new weaponCost[MAX_WEAPONS] = { 70000, 15000, 70000, 50000, 15000, 25000, 30000, //45000, 50000, 80000, 1000, 1000, 1000, 1000, 1000, 20000, 20000, 1000};new weaponAmmo[MAX_WEAPONS] = { 15000, 20000, 12000, 12000, 12000, 12000, 12000, //50000, 50000, 12000, 1, 1, 1, 1, 1, 50000, 50000, 1};new playerWeapons[MAX_PLAYERS][MAX_WEAPONS];#define MAX_CASINO 3new Float:gambleAreas[MAX_CASINO][4] = { {1928.1771,987.5739, 1970.5675,1042.8369}, {2171.3618,1584.2649, 2279.4915,1628.6199}, {1117.5068,-11.2747, 1142.4843,12.5986}};#define MAX_SAVE 64new savedInfo[MAX_SAVE][4];new savedNames[MAX_SAVE][MAX_PLAYER_NAME];#define MAX_GANGS 32#define MAX_GANG_MEMBERS 6#define MAX_GANG_NAME 16new gangMembers[MAX_GANGS][MAX_GANG_MEMBERS];new gangNames[MAX_GANGS][MAX_GANG_NAME];new gangInfo[MAX_GANGS][3]; //0-created,1-members,2-colornew gangBank[MAX_GANGS];new playerGang[MAX_PLAYERS];new gangInvite[MAX_PLAYERS];new gActivePlayers[MAX_PLAYERS];new gLastGaveCash[MAX_PLAYERS];//------------------------------------------------------------------------------------------------------main(){ print("\n------------------------------------------"); print(" SA MoneyGrub RPG ~ German Fun Server \n"); print(" Compiled by"); print(" Toby & Tomasu - original codeing by jax "); print("--------------------------------------------\n");}//------------------------------------------------------------------------------------------------------public CheckFuel(){ if (FUEL_DISABLED) return 1; for(new i=0; i<MAX_PLAYERS; i++){ new Ptmess[32]; if(GetPlayerState(i) == 2){ if(Petrol[i] >= 1){ Petrol[i]--; format(Ptmess, sizeof(Ptmess), "~w~Petrol ->~r~%d", Petrol[i]); GameTextForPlayer(i, Ptmess, 500, 4); } else{ RemovePlayerFromVehicle(i); SendClientMessage(i, COLOR_RED, "You ran out of petrol"); } if(Petrol[i] >=51){ format(Ptmess, sizeof(Ptmess), "~w~Petrol ->%d", Petrol[i]); GameTextForPlayer(i, Ptmess, 500, 4); } } } return 1;}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); } 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 OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){ CheckRand(); return 0;}public OnPlayerExitVehicle(playerid, vehicleid){ CheckRand(); return 0;}public OnVehicleSpawn(vehicleid){ CheckRand(); return 1;}public OnVehicleDeath(vehicleid, killerid){ CheckRand(); return 1;}CheckRand(){ new h, m, s; gettime(h, m, s); h = ((h * 3600) + (m * 60) + s) * 1000; //printf("%d, %d", h, h - gLastCall); if (((h < gDelay) && (((h + 86400000) - gLastCall) > gDelay)) || ((h - gLastCall) > gDelay)) { //ShowRandomMessage(); gLastCall = h; }}public SendPlayerFormattedTextr(playerid, const str[], define){ new tmpbuf[256]; format(tmpbuf, sizeof(tmpbuf), str, define); SendClientMessage(playerid, 0xDD0000FF, tmpbuf);}public SendPlayerFormattedTextg(playerid, const str[], define){ new tmpbuf[256]; format(tmpbuf, sizeof(tmpbuf), str, define); SendClientMessage(playerid, 0x00DD00FF, tmpbuf);}public SendPlayerFormattedTextb(playerid, const str[], define){ new tmpbuf[256]; format(tmpbuf, sizeof(tmpbuf), str, define); SendClientMessage(playerid, 0x0066CCFF, tmpbuf); }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 PirateShipScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, 1995.5, 1518.0, 2006.0, 1569.0, 100); }}public ParkingScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, 308.924, -1816.19, 359.411, -1786.45, 100); }}public WuesteScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -305.732,1726.14,-285.303,1781.62, 100); }}public SanFierScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -2541.66,-624.835,-2485.1,-594.991, 100); }}public ChiliadScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -2263.81,-1739.05,-2236.71,-1684.03, 100); }}public FickScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, 1242.72, -2049.61,1283.27,-2004.05, 100); }}public RanchScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, 673.732,1930.72,731.218,1952.33, 100); }}public ContainScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -587.724,-506.203,-466.277,-468.579, 100); }}public HarryScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, 2278.08,-63.3356,2282.73,-45.5897, 100); }}public SpediScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, 18.7685,-290.914,71.8121,-267.915, 100); }}public JizparkScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -2647.78,1331.05,-2616.31,1380.26, 100); }}public GoldenScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -2486.97,2221.37,-2439.39,2245.38, 100); }}public RastplScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -1551.9,-2768.3,-1524.28,-2731.64, 100); }}public TankSFScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -2419.61,948.959,-2400.05,996.733, 100); }}public DinerScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -1957.05,2374.14,-1925.90,2400.07, 100); }}public SuperMScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, 1304.81,-876.512,1341.77,-855.467, 100); }}public MotelScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, 2064.26,2153.68,2098.15,2189.54, 100); }}public AssWorldScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -244.51,2591.63,-196.94,2611.73, 100); }}public MiddleSFScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -2596.33,621.84,-2553.93,680.25, 100); }}public SWISFScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -2784.07,-308.66,-2741.91,-281.41, 100); }}public ParkingWaterScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, 2238.3254,546.3812,2391.3007,596.8649, 100); }}public PlayaScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, 2767.0056,-2029.7440,2796.3630,-2009.9238, 100); }}public OceanDocksScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, 2774.9433,-2429.6242,2801.4296,-2405.9318, 100); }}public LittleCalexicoScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, 1904.5441,-1796.9332,1946.9078,-1762.3132, 100); }}public TomasuScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, 1295.3950,-796.9938,1306.0880,-783.9302, 0); }}public Maut1ScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -2670.8579,1265.2548,-2663.7814,1284.1024, -1000); }}public Maut2ScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -2680.3039,1265.9605,-2673.9816,1283.4470, -1000); }}public Maut3ScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -2689.0236,1266.1979,-2683.4172,1283.5108, -1000); }}public Maut4ScoreUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { PayPlayerInArea(i, -2699.1147,1265.3649,-2691.9980,1284.0900, -1000); }}//------------------------------------------------------------------------------------------------------public GambleUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { for(new j=0; j < MAX_CASINO; j++) { if(isPlayerInArea(i,gambleAreas[j])) { gambleWarning[i]++; GameTextForPlayer(i,"~r~NO GAMBLING!! ~g~GAMBLERS WILL BE ~r~KILLED!!",10000,5); if(gambleWarning[i] > 3) { SetPlayerHealth(i,0); ResetPlayerMoney(i); } } } } }}//------------------------------------------------------------------------------------------------------public checkpointUpdate(){ for(new i=0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { for(new j=0; j < MAX_POINTS; j++) { if(isPlayerInArea(i, checkCoords[j])) { if(playerCheckpoint[i]!=j) { DisablePlayerCheckpoint(i); SetPlayerCheckpoint(i, checkpoints[j][0],checkpoints[j][1],checkpoints[j][2],2); playerCheckpoint[i] = j; } } else { if(playerCheckpoint[i]==j) { DisablePlayerCheckpoint(i); playerCheckpoint[i] = 999; } } } } }}//------------------------------------------------------------------------------------------------------public PropertyScoreUpdate(){ new owners[MAX_PROPERTIES]; new payments[MAX_PROPERTIES]; for(new i=0; i < MAX_PROPERTIES; i++) owners[i]=999; for(new i=0; i < MAX_PROPERTIES; i++) { if(propertyOwner[i] < 999) { for(new j=0; j < MAX_PROPERTIES; j++) { if(owners[j]==propertyOwner[i]) { payments[j]+=propertyEarnings[i]; j = MAX_PROPERTIES; } else if (owners[j]==999) { owners[j]=propertyOwner[i]; payments[j]+=propertyEarnings[i]; j = MAX_PROPERTIES; } } } } for(new i=0; i < MAX_PROPERTIES; i++) { if(owners[i] < 999 && IsPlayerConnected(owners[i])) { new string[256]; GivePlayerMoney(owners[i], payments[i]); format(string, sizeof(string), "You earned $%d from your properties.", payments[i]); SendClientMessage(owners[i], COLOR_GREEN, string); } }}//------------------------------------------------------------------------------------------------------public SavedUpdate(){ for(new i = 0; i < MAX_SAVE; i++) { if(savedInfo[i][3] < 5) { if(savedInfo[i][3]==4) { savedInfo[i][0]=savedInfo[i][1]=savedInfo[i][2]=0; savedNames[i][0]=0; } savedInfo[i][3]++; } }}//------------------------------------------------------------------------------------------------------public MoneyGrubScoreUpdate(){ new numplayers; //new string[256]; numplayers = 0; new money; new CashScore; for(new i=0; i<MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) { numplayers = numplayers+1; CashScore = GetPlayerMoney(i); SetPlayerScore(i, CashScore); } } for(new y=0; y<MAX_PLAYERS; y++) { if (IsPlayerConnected(y)) { if(IsPlayerInVehicle(y, 1)) { money = 0; money = money * numplayers; GivePlayerMoney(y,money); } if(IsPlayerInVehicle(y, 2)) { money =0; money = money * numplayers; GivePlayerMoney(y,money); } if(IsPlayerInVehicle(y, 3)) { money = 0; money = money * numplayers; GivePlayerMoney(y,money); } if(IsPlayerInVehicle(y, 4)) { money = 0; money = money * numplayers; GivePlayerMoney(y,money); } } }}//------------------------------------------------------------------------------------------------------public OnPlayerConnect(playerid){ new playrname[MAX_PLAYER_NAME]; //Welcome Message - Begrüßung GameTextForPlayer(playerid,"~w~166~r~Properties ~w~24~b~MoneyAreas",5000,5); SendPlayerFormattedText(playerid, "Welcome to the 'German Fun Server'", 0); SendClientMessage(playerid, COLOR_ORANGE, "24 places to gain your money! Buy up to 166 properties to earn money regulary!"); SendClientMessage(playerid, COLOR_ORANGE, "Each one is allocated on the entire map."); SendClientMessage(playerid, COLOR_YELLOW, "24 Plätze, die Geld einbringen. Kauf dir bis zu 166 Immobilien, um regelmäßig Geld zu verdienen!"); SendClientMessage(playerid, COLOR_YELLOW, "Plätze und Immobilien sind auf ganz San Andreas verteilt."); SendClientMessage(playerid, COLOR_ORANGE, "CHEATER?! GOODBYE!! THX! & Have fun! Toby & Tomasu =)"); SendClientMessage(playerid, COLOR_GREEN, "Rules & What to do? -> type /what2do"); SendClientMessage(playerid, COLOR_GREEN, "More Information -> type /help"); SendClientMessage(playerid, COLOR_GREEN, "Welcome-Text -> type /welcome"); gActivePlayers[playerid]++; gLastGaveCash[playerid] = GetTickCount(); playerCheckpoint[playerid]=999; bank[playerid]=0; playerGang[playerid]=0; gangInvite[playerid]=0; GetPlayerName(playerid, playrname, sizeof(playrname)); printf("-------JOINED: %s (ID: %d)",playrname, playerid); for(new i = 0; i < MAX_SAVE; i++) { if(isStringSame(savedNames[i], playrname, MAX_PLAYER_NAME)) { GivePlayerMoney(playerid, savedInfo[i][0]); bank[playerid] = savedInfo[i][1]; bounty[playerid] = savedInfo[i][2]; savedInfo[i][0]=savedInfo[i][1]=savedInfo[i][2]=0; savedNames[i][0]=0; SendClientMessage(playerid, COLOR_ORANGE, "Don't worry! Be Happy! =)"); SendClientMessage(playerid, COLOR_ORANGE, "Your money has been restored."); printf("-------MONEY-RESTORE: %s (ID:%d)",playrname, playerid); } } GivePlayerMoney(playerid, 1000); SetPlayerColor(playerid, COLOR_GREY); return 1;}//------------------------------------------------------------------------------------------------------public OnPlayerDisconnect(playerid){ new playername[MAX_PLAYER_NAME]; gActivePlayers[playerid]--; //Save temp info for timeouts/crashes GetPlayerName(playerid, playername, sizeof(playername)); format(savedNames[savePos], MAX_PLAYER_NAME, "%s",playername); savedInfo[savePos][0] = GetPlayerMoney(playerid); savedInfo[savePos][1] = bank[playerid]; savedInfo[savePos][2] = bounty[playerid]; savedInfo[savePos][3] = 0; // savePos++; if(savePos >= MAX_SAVE) savePos = 0; PlayerLeaveGang(playerid); bounty[playerid] = 0; for(new i = 0; i < MAX_PROPERTIES; i++) { if(propertyOwner[i]==playerid) propertyOwner[i] = 999; } for(new i = 0; i < MAX_WEAPONS;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); if (strcmp(cmdtext, "/lockall", true)==0){if(IsPlayerAdmin(playerid) == 1) {for(new i=1;i<=217;i++) {for(new j=0;j<GetMaxPlayers();j++) {if(IsPlayerConnected(j)) {SetVehicleParamsForPlayer(i,j,0,1);}}}new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof (pname)); format(string, sizeof(string), "Mod: %s Locked All Cars.", pname); SendClientMessageToAll(COLOR_YELLOW, string);} else {SendClientMessage(playerid, COLOR_RED, "You must be an admin to use this feature!");}return 1;}if (strcmp(cmdtext, "/unlockall", true)==0){if(IsPlayerAdmin(playerid) == 1) {for(new i=1;i<=217;i++) {for(new j=0;j<GetMaxPlayers();j++) {if(IsPlayerConnected(j)) {SetVehicleParamsForPlayer(i,j,0,0);}}}new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof (pname)); format(string, sizeof(string), "Mod: %s Unlocked All Cars.", pname); SendClientMessageToAll(COLOR_YELLOW, string);} else {SendClientMessage(playerid, COLOR_RED, "You must be an admin to use this feature!");}return 1;} if (strcmp(cmdtext, "/mini", true)==0) { if(IsPlayerAdmin(playerid) == 1) { for(new j=0;j<GetMaxPlayers();j++) { if(IsPlayerConnected(j)) { SetPlayerPos(j,1942.549, 999.015, 52.73871); SetPlayerFacingAngle(j,90); GivePlayerWeapon(j,38,9999); } } new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof (pname)); format(string, sizeof(string), "%s started Minigun-game.", pname); SendClientMessageToAll(COLOR_YELLOW, string); } else { SendClientMessage(playerid, COLOR_RED, "You must be an admin to use this feature!"); } return 1; } if(strcmp(cmd, "/buygas", true) == 0) { if(GetPlayerMoney(playerid) > 199) { Petrol[playerid] = AMOUNT; GivePlayerMoney(playerid,-200); SendClientMessage(playerid, COLOR_WHITE, "You filled your car with petrol"); } else { SendClientMessage(playerid, COLOR_RED, "You don't have enough money for petrol"); } return 1; }if((strcmp(cmd, "/startbenzinscript", true) == 0) && IsPlayerAdmin(playerid)) { FUEL_DISABLED=false; }if((strcmp(cmd, "/closebenzinscript", true) == 0) && IsPlayerAdmin(playerid)) { FUEL_DISABLED=true; } //------------------- /new help if(strcmp(cmd, "/help", true) == 0) { SendClientMessage(playerid, COLOR_GREEN," "); SendClientMessage(playerid, COLOR_GREEN," "); SendClientMessage(playerid, COLOR_GREEN,"'German Fun Server' Help"); SendClientMessage(playerid, COLOR_YELLOW,"You can use '/cash ID [amount]' (e.g. /cash 1 5000) to send money to other players."); SendClientMessage(playerid, COLOR_YELLOW,"Du kannst mit '/cash ID Betrag' (z.B. /cash 1 5000) anderen Mitspielern Geld überweisen."); SendClientMessage(playerid, COLOR_ORANGE,"Type /properties for a full list of all available properties."); SendClientMessage(playerid, COLOR_ORANGE,"Type /props1-6 for detailed lists of all properties (e.g. /props1 for the first 9 properties)."); SendClientMessage(playerid, COLOR_YELLOW,"Type /commands for a full list of commands."); SendClientMessage(playerid, COLOR_YELLOW,"Type /commands2 for a 2nd list of commands."); SendClientMessage(playerid, COLOR_GREEN,"What to do on this server? Type /what2do"); return 1; } if(strcmp(cmd, "/what2do", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,"What to do on this server? Two ways:"); SendClientMessage(playerid, COLOR_YELLOW,"FIND someone who WANTS TO FIGHT or just have a good time as a member of a RPG. Search for"); SendClientMessage(playerid, COLOR_YELLOW,"the red triangles/squares in order to gain money. Then you can buy weapons/properties or pimp your ride."); SendClientMessage(playerid, COLOR_GREEN,"Was soll ich hier machen? Zwei Möglichkeiten:"); SendClientMessage(playerid, COLOR_YELLOW,"FINDE jemanden, der KÄMPFEN WILL oder mach einfach irgendwie beim Rollenspiel mit. Halte nach"); SendClientMessage(playerid, COLOR_YELLOW,"roten Dreiecken/Quadraten Ausschau, um Geld zu bekommen.Dann kannst du dir auch Waffen/Immobilien"); SendClientMessage(playerid, COLOR_YELLOW,"kaufen oder deine Karre tunen."); SendClientMessage(playerid, COLOR_GREEN,"Money / Geld -> http://home.arcor.de/datatrip/money.jpg"); SendClientMessage(playerid, COLOR_ORANGE,"LAST BUT NOT LEAST: If anyone doesn't want to fight, she/he doesn't want to fight!!"); SendClientMessage(playerid, COLOR_ORANGE,"ZUM SCHLUSS NOCH: Wenn jemand nicht kämpfen will, dann will sie/er nicht kämpfen!!"); return 1; } if(strcmp(cmd, "/welcome", true) == 0) { SendClientMessage(playerid, COLOR_YELLOW," "); SendClientMessage(playerid, COLOR_YELLOW," "); SendClientMessage(playerid, COLOR_GREEN, "Welcome to the 'Germa Fun Server'"); SendClientMessage(playerid, COLOR_ORANGE, "24 places to gain your money! Buy up to 155 properties to earn money regulary!"); SendClientMessage(playerid, COLOR_ORANGE, "Each one is allocated on the entire map. Search for them!"); SendClientMessage(playerid, COLOR_YELLOW, "24 Plätze, die Geld einbringen. Kauf dir bis zu 155 Immobilien, um regelmäßig Geld zu verdienen!"); SendClientMessage(playerid, COLOR_YELLOW, "Plätze und Immobilien sind auf ganz San Andreas verteilt. Sucht sie!"); SendClientMessage(playerid, COLOR_ORANGE, "CHEATER?! GOODBYE!! THX! & Have fun! =)"); SendClientMessage(playerid, COLOR_GREEN, "Rules & What to do? -> type /what2do"); SendClientMessage(playerid, COLOR_GREEN, "More Information -> type /help"); return 1; } if(strcmp(cmd, "/commands", true) == 0) { SendClientMessage(playerid, COLOR_YELLOW," "); SendClientMessage(playerid, COLOR_YELLOW," "); SendClientMessage(playerid, COLOR_YELLOW," "); SendClientMessage(playerid, COLOR_GREEN,"Commands 1/2:"); SendClientMessage(playerid, COLOR_YELLOW,"/cash [playerid] [amount]"); SendClientMessage(playerid, COLOR_YELLOW,"/hitman [playerid] [amount] /bounties"); SendClientMessage(playerid, COLOR_YELLOW,"/buy /properties /time"); SendClientMessage(playerid, COLOR_YELLOW,"/buyweapon /wlist1 /wlist2 /guns /health"); SendClientMessage(playerid, COLOR_YELLOW,"/gangs /gangcommands"); SendClientMessage(playerid, COLOR_YELLOW,"/lock /unlock : to lock/unlock ur car"); return 1; } if(strcmp(cmd, "/commands2", true) == 0) { SendClientMessage(playerid, COLOR_YELLOW," "); SendClientMessage(playerid, COLOR_YELLOW," "); SendClientMessage(playerid, COLOR_GREEN,"Commands 2/2:"); SendClientMessage(playerid, COLOR_YELLOW,"/bank [amount] /withdraw [amount] /balance"); SendClientMessage(playerid, COLOR_YELLOW,"/freefall : launches you into the air and gives you parachute ;)"); SendClientMessage(playerid, COLOR_YELLOW,"/jail /unjail : admins only"); SendClientMessage(playerid, COLOR_YELLOW,"/funds : admins only"); SendClientMessage(playerid, COLOR_YELLOW,"/gun ID : admins only =))"); SendClientMessage(playerid, COLOR_YELLOW,"/boost : admins only"); SendClientMessage(playerid, COLOR_YELLOW,"/secure /nonsecure : lock/unlock all rocket vehicles - admins only"); return 1; } if(strcmp(cmd, "/gangcommands", true) == 0) { SendClientMessage(playerid, COLOR_YELLOW," "); SendClientMessage(playerid, COLOR_YELLOW," "); SendClientMessage(playerid, COLOR_GREEN,"Gangcommands:"); SendClientMessage(playerid, COLOR_YELLOW,"/gang create name"); SendClientMessage(playerid, COLOR_YELLOW,"/gang join gangID"); SendClientMessage(playerid, COLOR_YELLOW,"/gang invite playerID"); SendClientMessage(playerid, COLOR_YELLOW,"/gang quit"); SendClientMessage(playerid, COLOR_YELLOW,"/ganginfo gangID (no number given shows your gang's info)"); SendClientMessage(playerid, COLOR_YELLOW,"/gbank amount /gwithdraw amount /gbalance"); SendClientMessage(playerid, COLOR_YELLOW,"! (prefix text for gang-chat)"); return 1; } //------------------- /bank if(strcmp(cmd, "/bank", true) == 0 || strcmp(cmd, "/gbank", true) == 0) { new gang; if(strcmp(cmd, "/gbank", 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."); return 1; } if(gang && playerGang[playerid]==0) { SendClientMessage(playerid, COLOR_RED, "You are not in a gang!"); return 1; } new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "/(g)bank [amount]"); return 1; } moneys = strval(tmp); if(moneys < 1) { SendClientMessage(playerid, COLOR_YELLOW, "ha ha you're broke."); return 1; } if(GetPlayerMoney(playerid) < moneys) { moneys = GetPlayerMoney(playerid); } GivePlayerMoney(playerid, 0-moneys); if(gang) gangBank[playerGang[playerid]]+=moneys; else bank[playerid]+=moneys; if(gang) format(string, sizeof(string), "You have deposited $%d, your gang's balance is $%d.", moneys, gangBank[playerGang[playerid]]); else format(string, sizeof(string), "You have deposited $%d, your current balance is $%d.", moneys, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); return 1; } //------------------- /withdraw if(strcmp(cmd, "/withdraw", true) == 0 || strcmp(cmd, "/gwithdraw", true) == 0) { new gang; if(IsPlayerInCheckpoint(playerid) == 0 || getCheckpointType(playerid) != CP_BANK) { SendClientMessage(playerid, COLOR_YELLOW, "You must be at a bank area to use this."); return 1; } if(strcmp(cmd, "/gwithdraw", true) == 0) gang = 1; if(gang && playerGang[playerid]==0) { SendClientMessage(playerid, COLOR_RED, "You are not in a gang!"); return 1; } new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "/(g)withdraw [amount]"); return 1; } moneys = strval(tmp); if(moneys < 1) { SendClientMessage(playerid, COLOR_YELLOW, "And where is the money?"); return 1; } if(gang) { if(moneys > 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."); 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, "/cash", true) == 0) { new tmp[256]; tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "/cash [playerid] [amount]"); return 1; } giveplayerid = strval(tmp); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "/cash [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)); 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(ID:%d) hat %s(ID:%d) %d überwiesen.",sendername, playerid, giveplayer, giveplayerid, moneys); } else { SendClientMessage(playerid, COLOR_YELLOW, "Invalid transaction amount."); } } 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, "/hitman [playerid] [amount]"); return 1; } giveplayerid = strval(tmp); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "/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, "*lol* NOOB! You've got no money."); 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, bounty[giveplayerid], sendername); printf("Auf %s wurde ein Kopfgeld von $%d ausgesetzt.(insgesamt: $%d) %s will Blut sehen!!", giveplayer, moneys, bounty[giveplayerid], sendername); //NEU !! 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, "/bounty [playerid]"); return 1; } giveplayerid = strval(tmp); if(IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%s (id: %d)'s Kopf bringt $%d. Schnappt ihn euch!!", giveplayer,giveplayerid,bounty[giveplayerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } else { SendClientMessage(playerid, COLOR_RED, "Ein solcher Spieler existiert nicht."); } 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; 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; } if(propertyOwner[property] < 999) { GetPlayerName(playerid, giveplayer, sizeof(giveplayer)); 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); printf("------IMMOBILIE: %s - %s (ID:%d) abgekauft.", propertyNames[property],giveplayer,playerid); } GivePlayerMoney(playerid, 0-propertyValues[property]); propertyOwner[property]=playerid; format(string, sizeof(string), "The %s was purchased.", propertyNames[property]); SendClientMessageToAll(COLOR_GREEN, string); printf("------IMMOBILIE: %s - ID:%d", propertyNames[property],playerid); } 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, Wettbüro, 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, "/buyweapon ID"); 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) < weaponCost[weaponid]) { SendClientMessage(playerid, COLOR_RED, "You don't have enough money!"); return 1; } if(weaponid < 0 || weaponid > MAX_WEAPONS-1){ SendClientMessage(playerid, COLOR_RED, "Invalid weapon-ID."); return 1; } format (string, sizeof(string), "You purchased 1 %s for when you spawn.",weaponNames[weaponid]); SendClientMessage(playerid, COLOR_GREEN, string); GivePlayerWeapon(playerid, weaponIDs[weaponid], weaponAmmo[weaponid]); playerWeapons[playerid][weaponid]++; GivePlayerMoney(playerid, 0-weaponCost[weaponid]); return 1; } //------------------- /weaponlist if(strcmp(cmd, "/wlist1", true) == 0) { SendClientMessage(playerid, COLOR_YELLOW,"0 - Shotgun $70.000"); SendClientMessage(playerid, COLOR_YELLOW,"1 - Combat Shotgun $15.000"); SendClientMessage(playerid, COLOR_YELLOW,"2 - Micro Uzi $70.000"); SendClientMessage(playerid, COLOR_YELLOW,"3 - Tec9 $50.000"); SendClientMessage(playerid, COLOR_YELLOW,"4 - MP5 $15.000"); SendClientMessage(playerid, COLOR_YELLOW,"5 - AK47 $25.000"); SendClientMessage(playerid, COLOR_YELLOW,"6 - M4 $30.000"); //SendClientMessage(playerid, COLOR_YELLOW,"7 - Minigun $45.000"); SendClientMessage(playerid, COLOR_YELLOW,"7 - Sawnoff Shotgun $50.000"); SendClientMessage(playerid, COLOR_YELLOW,"8 - Flamethrower $80.000"); SendClientMessage(playerid, COLOR_YELLOW,"9 - Nitestick $1.000"); return 1; } if(strcmp(cmd, "/wlist2", true) == 0) { SendClientMessage(playerid, COLOR_YELLOW,"10 - Knife $1.000"); SendClientMessage(playerid, COLOR_YELLOW,"11 - Katana $1.000"); SendClientMessage(playerid, COLOR_YELLOW,"12 - Dildo1 $1.000"); SendClientMessage(playerid, COLOR_YELLOW,"13 - Dildo2 $1.000"); SendClientMessage(playerid, COLOR_YELLOW,"14 - Pistol $20.000"); SendClientMessage(playerid, COLOR_YELLOW,"15 - Silenced Pistol $20.000"); SendClientMessage(playerid, COLOR_YELLOW,"16 - Chainsaw $1.000"); 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, "/gang [create/join/quit] [name/number]"); return 1; } giveplayerid = strval(tmp); if(strcmp(tmp, "create", true)==0) gangcmd = 1; else if(strcmp(tmp, "join", true)==0) gangcmd = 2; else if(strcmp(tmp, "invite", true)==0) gangcmd = 3; else if(strcmp(tmp, "quit", true)==0) gangcmd = 4; tmp = strtok(cmdtext, idx); if(gangcmd < 4 && !strlen(tmp)) { if(gangcmd==0) SendClientMessage(playerid, COLOR_WHITE, "/gang [create/join/invite/quit] [name/number]"); else if(gangcmd==1) SendClientMessage(playerid, COLOR_WHITE, "/gang [create] [name]"); else if(gangcmd==2) SendClientMessage(playerid, COLOR_WHITE, "/gang [join] [number]"); else if(gangcmd==3) SendClientMessage(playerid, COLOR_WHITE, "/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==2) { gangnum = strval(tmp); // if(playerGang[playerid]>0) {// SendClientMessage(playerid, COLOR_RED, "You are already in a gang!");// return 1;// } if(gangInfo[gangnum][0]==0) { SendClientMessage(playerid, COLOR_RED, "No such gang exists!"); return 1; } if(gangInvite[playerid]!=gangnum) { SendClientMessage(playerid, COLOR_RED, "You need to be invited to the gang to join."); return 1; } // for(new i = 0; i < MAX_GANG_MEMBERS; i++) {// if(gangMembers[gangnum][i] > 0) { if(gangInfo[gangnum][1] < MAX_GANG_MEMBERS) { new i = gangInfo[gangnum][1]; 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; 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==3) { 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, "/ganginfo ID"); 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; } if (strcmp(cmdtext, "/time", true)==0) // Displays time in the hosters country. { new Hours; new Minutes; new Seconds; new Days; new Months; new Years; gettime(Hours, Minutes, Seconds); getdate(Years, Months, Days); format(string, sizeof(string), "The server's date is: %d/%d/%d, and server's time is %d:%d:%d", Days,Months,Years,Hours,Minutes,Seconds); SendClientMessage(playerid,COLOR_GREY,string); return 1; } //----Player-Position-in-Game--------------------------------- if (strcmp(cmdtext, "/pos", true)==0) { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); format(string, sizeof(string), "Position: %.4f, %.4f, %.4f", X, Y, Z); SendClientMessage(playerid,COLOR_YELLOW,string); printf("%.4f,%.4f,%.4f", X, Y, Z); return 1; } //------------------------------------------------------------ if(strcmp(cmdtext,"/health",true)==0) // Displays help in numeric form. { new Float:PlayerHP; GetPlayerHealth(playerid,PlayerHP); format(string, sizeof(string), "Your health is: %.0f", PlayerHP); SendClientMessage(playerid,COLOR_RED,string); return 1; } if(strcmp(cmd, "/j", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { new dir[256]; dir = strtok(cmdtext, idx); if(!strlen(dir)) { SendClientMessage(playerid, COLOR_WHITE, "/jail ID"); return 1; } giveplayerid = strval(dir); dir = strtok(cmdtext, idx); if (IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); SetPlayerInterior(giveplayerid,3); SetPlayerPos(giveplayerid,197.7029,174.8801,1003.0234); SendClientMessage(playerid, COLOR_RED, "Jailed!"); SendClientMessage(giveplayerid, COLOR_RED, "You have been jailed by the police. You will be"); SendClientMessage(giveplayerid, COLOR_RED, "released by the admins when they deem it fit."); } else { format(string, sizeof(string), "%d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1;} else { SendClientMessage(playerid, COLOR_RED, "Permission denied, you are not an admin!");} } if(strcmp(cmd, "/blupp", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { new dir[256]; dir = strtok(cmdtext, idx); if(!strlen(dir)) { SendClientMessage(playerid, COLOR_WHITE, "/jail ID"); return 1; } giveplayerid = strval(dir); dir = strtok(cmdtext, idx); if (IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); SetPlayerInterior(giveplayerid,3); SetPlayerPos(giveplayerid,4215.7177,-1005.8668,-32.3538); SendClientMessage(playerid, COLOR_RED, "Jailed!"); SendClientMessage(giveplayerid, COLOR_RED, "You have been jailed by the police. You will be"); SendClientMessage(giveplayerid, COLOR_RED, "released by the admins when they deem it fit."); } else { format(string, sizeof(string), "%d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1;} else { SendClientMessage(playerid, COLOR_RED, "Permission denied, you are not an admin!");} } if(strcmp(cmd, "/uj", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { new dir1[256]; dir1 = strtok(cmdtext, idx); if(!strlen(dir1)) { SendClientMessage(playerid, COLOR_WHITE, "/unjail ID"); return 1; } giveplayerid = strval(dir1); dir1 = strtok(cmdtext, idx); if (IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); GivePlayerMoney(giveplayerid,(0 - 3000)); GivePlayerMoney(playerid, 3000); SetPlayerInterior(giveplayerid,0); SetPlayerPos(giveplayerid,2297.1064,2452.0115,10.8203); SendClientMessage(playerid, COLOR_GREEN, "Entlassen!"); SendClientMessage(giveplayerid, COLOR_GREEN, "You have been released and fined $3000 by the police."); } else { format(string, sizeof(string), "%d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1;} else { SendClientMessage(playerid, COLOR_RED, "Permission denied, you are not an admin!");} }if(strcmp(cmd, "/c50", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { new dir1[256]; dir1 = strtok(cmdtext, idx); if(!strlen(dir1)) { SendClientMessage(playerid, COLOR_WHITE, "/c50 ID"); return 1; } giveplayerid = strval(dir1); dir1 = strtok(cmdtext, idx); if (IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); GivePlayerMoney(giveplayerid,(0 - 50000000)); SetPlayerInterior(giveplayerid,0); SendClientMessage(playerid, COLOR_GREEN, "!! C-H-E-A-T-E-R !!"); } else { format(string, sizeof(string), "%d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1;} else { SendClientMessage(playerid, COLOR_RED, "Permission denied, you are not an admin!");} } if(strcmp(cmd, "/c99", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { new dir1[256]; dir1 = strtok(cmdtext, idx); if(!strlen(dir1)) { SendClientMessage(playerid, COLOR_WHITE, "/c99 ID"); return 1; } giveplayerid = strval(dir1); dir1 = strtok(cmdtext, idx); if (IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); GivePlayerMoney(giveplayerid,(0 - 999999999)); SetPlayerInterior(giveplayerid,0); SendClientMessage(playerid, COLOR_GREEN, "!! C-H-E-A-T-E-R !!"); } else { format(string, sizeof(string), "%d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1;} else { SendClientMessage(playerid, COLOR_RED, "Permission denied, you are not an admin!");} } if (strcmp(cmdtext, "/lock", true)==0) { if(IsPlayerInAnyVehicle(playerid)) { new i; for(i=0;i<MAX_PLAYERS;i++) { if(i != playerid) { SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 1); } } SendClientMessage(playerid,COLOR_GREY,"Vehicle Locked."); } else { SendClientMessage(playerid,COLOR_GREY,"You're not in a vehicle!"); } return 1; } if (strcmp(cmdtext, "/unlock", true)==0) { if(IsPlayerInAnyVehicle(playerid)) { new i; for(i=0;i<MAX_PLAYERS;i++) { SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 0); } SendClientMessage(playerid,COLOR_GREY,"Vehicle Unlocked."); } else { SendClientMessage(playerid,COLOR_GREY,"You're not in a vehicle!"); } return 1; } if(strcmp(cmd, "/freefall", 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+1000); GameTextForPlayer(playerid,"Yeehaaar!!!",2000,5);}else{SendClientMessage(playerid,COLOR_RED,"Not enough cash.");}return 1; } if(strcmp(cmd, "/funds", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerMoney(playerid,1000000); SendClientMessage(playerid,COLOR_RED,"Admin hat $1.000.000 erhalten."); printf("Admin - $1.000.000"); }return 1; } if(strcmp(cmd, "/funds2", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerMoney(playerid,10000000); SendClientMessage(playerid,COLOR_RED,"Admin hat $10.000.000 erhalten."); printf("Admin - $10.000.000"); }return 1; } if(strcmp(cmd, "/gun0", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 25, 10000); SendClientMessage(playerid,COLOR_RED,"Admin hat die Shotgun bekommen."); }return 1; } if(strcmp(cmd, "/gun1", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 27, 10000); SendClientMessage(playerid,COLOR_RED,"Admin hat die Combat Shotgun bekommen."); }return 1; } if(strcmp(cmd, "/gun2", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 28, 10000); SendClientMessage(playerid,COLOR_RED,"Admin hat die Micro-Uzi bekommen."); }return 1; } if(strcmp(cmd, "/gun3", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 32, 10000); SendClientMessage(playerid,COLOR_RED,"Admin hat die Tec-9 bekommen."); }return 1; } if(strcmp(cmd, "/gun4", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 29, 10000); SendClientMessage(playerid,COLOR_RED,"Admin hat die Mp5 bekommen."); }return 1; } if(strcmp(cmd, "/gun5", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 30, 10000); SendClientMessage(playerid,COLOR_RED,"Admin hat die AK47 bekommen."); }return 1; } if(strcmp(cmd, "/gun6", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 31, 10000); SendClientMessage(playerid,COLOR_RED,"Admin hat die M4 bekommen."); }return 1; } if(strcmp(cmd, "/gun7", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 38, 10000); SendClientMessage(playerid,COLOR_RED,"Admin hat die Minigun bekommen."); }return 1; } if(strcmp(cmd, "/gun8", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 26, 10000); SendClientMessage(playerid,COLOR_RED,"Admin hat die Sawn-off bekommen."); }return 1; } if(strcmp(cmd, "/gun9", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 37, 10000); SendClientMessage(playerid,COLOR_RED,"Admin hat den Flamethrower bekommen."); }return 1; } if(strcmp(cmd, "/gun10", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 3, 0); SendClientMessage(playerid,COLOR_RED,"Admin hat den Schlagstock bekommen."); }return 1; } if(strcmp(cmd, "/gun11", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 4, 0); SendClientMessage(playerid,COLOR_RED,"Admin hat das Messer bekommen."); }return 1; } if(strcmp(cmd, "/gun12", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 8, 0); SendClientMessage(playerid,COLOR_RED,"Admin hat das Katana bekommen."); }return 1; } if(strcmp(cmd, "/gun13", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 10, 0); SendClientMessage(playerid,COLOR_RED,"Admin hat den Dildo bekommen."); }return 1; } if(strcmp(cmd, "/gun14", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 11, 0); SendClientMessage(playerid,COLOR_RED,"Admin hat den Dildo bekommen."); }return 1; } if(strcmp(cmd, "/gun15", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 22, 10000); SendClientMessage(playerid,COLOR_RED,"Admin hat den Pistole bekommen."); }return 1; } if(strcmp(cmd, "/gun16", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 23, 10000); SendClientMessage(playerid,COLOR_RED,"Admin hat die Silenced-Pistole bekommen."); }return 1; } if(strcmp(cmd, "/gun17", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { GivePlayerWeapon(playerid, 9, 0); SendClientMessage(playerid,COLOR_RED,"Admin hat die Kettensäge bekommen."); }return 1; } if(strcmp(cmd, "/boost", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { SetPlayerHealth(playerid, 190.0); SendClientMessage(playerid,COLOR_RED,"Admin hat sich ein Stück Gesundheit gegönnt."); }return 1; } if(strcmp(cmd, "/secure", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { SetVehicleParamsForPlayer(5,playerid,1,1); SetVehicleParamsForPlayer(6,playerid,1,1); SetVehicleParamsForPlayer(7,playerid,1,1); SetVehicleParamsForPlayer(8,playerid,1,1); SetVehicleParamsForPlayer(9,playerid,1,1); SendClientMessage(playerid,COLOR_RED,"Fahrzeuge mit Raketen sind gesperrt."); }return 1; } if(strcmp(cmd, "/nonsecure", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { SetVehicleParamsForPlayer(5,playerid,0,0); SetVehicleParamsForPlayer(6,playerid,0,0); SetVehicleParamsForPlayer(7,playerid,0,0); SetVehicleParamsForPlayer(8,playerid,0,0); SetVehicleParamsForPlayer(9,playerid,0,0); SendClientMessage(playerid,COLOR_RED,"Fahrzeuge mit Raketen sind wieder freigegeben."); }return 1; } if (strcmp(cmdtext, "/scan", true) == 0) { if(GetPlayerMoney(playerid) > 5000000){ printf("MoneyCheater (%d)", playerid); GameTextForAll("~r~Money Cheat Detected",5000,1); Kick(playerid); } else { //GameTextForAll("No Cheaters Detected",1000,1); }} return 0; }//------------------------------------------------------------------------------------------------------public OnPlayerText(playerid, text[]){ CheckRand(); 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){ SetPlayerInterior(playerid,0); if(gTeam[playerid] == TEAM_ADMINS) { SetPlayerColor(playerid,COLOR_BLACK); } else if(gTeam[playerid] == TEAM_GESCHAEFTSLEUTE) { SetPlayerColor(playerid,COLOR_BLUE); } else if(gTeam[playerid] == TEAM_POLIZISTEN) { SetPlayerColor(playerid,COLOR_WHITE); } else if(gTeam[playerid] == TEAM_GESUCHTE) { SetPlayerColor(playerid,COLOR_RED); } Petrol[playerid] = AMOUNT;if(gTeam[playerid] == 0) { // the class number you want for admin onlyif(IsPlayerAdmin(playerid) == 1) {SendClientMessage(playerid, 0xFF0000AA, "Welcome to the admins team."); } else { SendClientMessage(playerid, 0xFF0000AA, "You are not admin."); //red SetPlayerHealth(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){ if(killerid == INVALID_PLAYER_ID) { SendDeathMessage(INVALID_PLAYER_ID,playerid,reason); } else { if(gTeam[killerid] != gTeam[playerid]) { // Valid kill SendDeathMessage(killerid,playerid,reason); SetPlayerScore(killerid,GetPlayerScore(killerid)+1); GivePlayerMoney(killerid, 1000);} else { //Team Killer! new warning[256]; format(warning, sizeof(warning), "Be careful! You have been punished for teamkilling."); SendClientMessage(killerid, 0xFFFF00AA, warning); SendDeathMessage(killerid,playerid,reason); GivePlayerMoney(killerid, -1000); SetPlayerScore(killerid, GetPlayerScore(killerid) - 1);} } return 1;}//------------------------------------------------------------------------------------------------------public OnPlayerEnterCheckpoint(playerid){ new string[256]; new ownplayer[MAX_PLAYER_NAME]; CheckRand(); 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 - $100/sek"); } 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 /wlist1 or /wlist2 for a list of weapons."); } case CP_PARKING: { SendClientMessage(playerid, COLOR_YELLOW, "Santa Monica Beach - $100/sek"); } case CP_WUESTE: { SendClientMessage(playerid, COLOR_YELLOW, "Fart Hole - $100/sek"); } case CP_SANFIER: { SendClientMessage(playerid, COLOR_YELLOW, "Television Tower - $100/sek"); } case CP_CHILIAD: { SendClientMessage(playerid, COLOR_YELLOW, "Chiliad Outdoor Deck - $100/sek"); } case CP_FICK: { SendClientMessage(playerid, COLOR_YELLOW, "Griffith Observatory - $100/sek"); } case CP_RANCH: { SendClientMessage(playerid, COLOR_YELLOW, "Spread Ranch - $100/sek"); } case CP_CONTAIN: { SendClientMessage(playerid, COLOR_YELLOW, "Container - $100/sek"); } case CP_HARRY: { SendClientMessage(playerid, COLOR_YELLOW, "24h Drive-Thru Confessions - $100/sek"); } case CP_SPEDI: { SendClientMessage(playerid, COLOR_YELLOW, "Meat Express - $100/sek"); } case CP_JIZPARK: { SendClientMessage(playerid, COLOR_YELLOW, "Jizzy's Club - $100/sek"); } case CP_GOLDEN: { SendClientMessage(playerid, COLOR_YELLOW, "Alcatraz Bay - $100/sek"); } case CP_RASTPL: { SendClientMessage(playerid, COLOR_YELLOW, "Interstate Gas Station - $100/sek"); } case CP_TANKSF: { SendClientMessage(playerid, COLOR_YELLOW, "Downtown Gas Station - $100/sek"); } case CP_DINER: { SendClientMessage(playerid, COLOR_YELLOW, "Wollo's Diner - $100/sek"); } case CP_SUPERM: { SendClientMessage(playerid, COLOR_YELLOW, "Roboi´s Food Mart - $100/sek"); } case CP_MOTEL: { SendClientMessage(playerid, COLOR_YELLOW, "Bates Motel - $100/sek"); } case CP_ASSWORLD: { SendClientMessage(playerid, COLOR_YELLOW, "Big Chicks'n'Dicks - $100/sek"); } case CP_MIDDLESF: { SendClientMessage(playerid, COLOR_YELLOW, "Emergency Room SF - $100/sek"); } case CP_SWISF: { SendClientMessage(playerid, COLOR_YELLOW, "San Fierro Country Club - $100/sek"); } case CP_PARKWAT: { SendClientMessage(playerid, COLOR_YELLOW, "Waterfront - $100/sek"); } case CP_PLAYASEV: { SendClientMessage(playerid, COLOR_YELLOW, "Playa del Seville - $100/sek"); } case CP_OCEANDOC: { SendClientMessage(playerid, COLOR_YELLOW, "Ocean Docks - $100/sek"); } case CP_LILMEX: { SendClientMessage(playerid, COLOR_YELLOW, "Little Calexico - $100/sek"); } case CP_TOMVILHI: { SendClientMessage(playerid, COLOR_YELLOW, "Tomasu's Villa - Search the other Entrance"); } case CP_GOGAMAU1: { SendClientMessage(playerid, COLOR_YELLOW, "Golden Gate Toll - $-1000/sek"); } case CP_GOGAMAU2: { SendClientMessage(playerid, COLOR_YELLOW, "Golden Gate Toll - $-1000/sek"); } case CP_GOGAMAU3: { SendClientMessage(playerid, COLOR_YELLOW, "Golden Gate Toll - $-1000/sek"); } case CP_GOGAMAU4: { SendClientMessage(playerid, COLOR_YELLOW, "Golden Gate Toll - $-1000/sek"); } } if(getCheckpointType(playerid)>= P_OFFSET) { format(string, sizeof(string), "You can buy the %s 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){ SetPlayerTeamFromClass(playerid, classid); SetupPlayerForClassSelection(playerid); gPlayerClass[playerid] = classid; switch (classid) { case 0: { GameTextForPlayer(playerid, "~g~Admin", 500, 3); } case 1, 2, 3: { GameTextForPlayer(playerid, "~g~Geschaeftsleute", 500, 3); } case 4, 5: { GameTextForPlayer(playerid, "~g~Polizisten", 500, 3); } case 6, 7, 8, 9: { GameTextForPlayer(playerid, "~g~Gesuchte", 500, 3); }} return 1;}public realtime(){ new m, s; gettime(gHour, m, s); SetTimer("setrealtime", 25000, 1); //SetTimer("setrealtime", 3600000, 1); // Run the main function every hour SetWorldTime(gHour);}public setrealtime(){ gHour++; SetWorldTime(gHour);}public SetupPlayerForClassSelection(playerid){ SetPlayerInterior(playerid,14); SetPlayerPos(playerid,258.4893,-41.4008,1002.0234); SetPlayerFacingAngle(playerid, 90.0); SetPlayerCameraPos(playerid,256.0815,-43.0475,1003.0234); SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234); if(gTeam[playerid] == 0) { // the class number you want for admin onlyif(IsPlayerAdmin(playerid) == 1) {SendClientMessage(playerid, 0xFF0000AA, "Welcome to the admins team."); } else { SendClientMessage(playerid, 0xFF0000AA, "You are not admin."); //red }} return;}public GameModeExitFunc(){ GameModeExit();}public OnGameModeInit(){ SetGameModeText("166Properties+24Moneyareas+RPG"); //Gamemode Text SetTeamCount(15); ShowPlayerMarkers(1); ShowNameTags(1); //BikeUser = INVALID_PLAYER_ID; // In OnGameModeInitnew m, s;gettime(gHour, m, s);SetTimer("realtime", (3600 - (m * 60) - s) * 1000, 0);// Run the function first on the hour (that will return milliseconds left in the hour) SetWorldTime(gHour); // Player Class's {ID,x,y,z,rotation,weapon1,ammo1,weapon2,ammo2,weapon3,ammo3} AddPlayerClass(22,2832.476, 547.6101,8.554688,72,22,500,29,500,30,500); AddPlayerClass(227,2127.19,2365.53,10.8203,357,22,500,29,500,30,500); AddPlayerClass(228,2127.19,2365.53,10.8203,357,22,500,29,500,30,500); AddPlayerClass(187,2127.19,2365.53,10.8203,357,22,500,29,500,30,500); AddPlayerClass(280,1521.31,-768.731,79.9021,180,22,500,29,500,30,500); AddPlayerClass(284,1521.31,-768.731,79.9021,180,22,500,29,500,30,500); AddPlayerClass(100,-2541.65,1228.03,37.4219,135,23,500,28,500,31,500); AddPlayerClass(181,-2541.65,1228.03,37.4219,135,23,500,28,500,31,500); AddPlayerClass(206,-2541.65,1228.03,37.4219,135,23,500,28,500,31,500); AddPlayerClass(242,-2541.65,1228.03,37.4219,135,23,500,28,500,31,500); // Car Spawns {ID,x,y,z,rotation,color,color,respawn-time??} //30 Karren AddStaticVehicleEx(411,2152.62,2353.00,10.93,90,-1,-1,600); //spawn las venturas AddStaticVehicleEx(415,2127.29,2356.33,10.91,90,-1,-1,600); //spawn las venturas2 AddStaticVehicleEx(439,2119.41,2183.71,10.91,180,-1,-1,600); //las venturas motel AddStaticVehicleEx(451,2102.52,2042.54,11.06,270,-1,-1,600); //las venturas sex shop AddStaticVehicleEx(470,2039.77,1558.42,10.91,180,-1,-1,600); //las venturas piratenschiff AddStaticVehicleEx(495,2039.78,1008.08,10.92,1801,-1,-1,600); //las venturas four dragons AddStaticVehicleEx(502,2154.06,934.13,11.06,180,-1,-1,600); //las venturas ammunation1 AddStaticVehicleEx(518,1593.57,99.13,37.96,170,-1,-1,600); //lv ls highway1 AddStaticVehicleEx(536,1668.83,-770.70,54.65,160,-1,-1,600); //lv ls highway2 AddStaticVehicleEx(451,1513.47,-769.72,80.75,345,-1,-1,600); //spawn los santos AddStaticVehicleEx(559,1527.44,-813.09,71.95,270,-1,-1,600); //spawn los santos2 AddStaticVehicleEx(560,1308.97,-913.92,38.98,90,-1,-1,600); //robois food mart AddStaticVehicleEx(567,1001.98,-940.33,42.40,90,-1,-1,600); //ls tankstelle1 AddStaticVehicleEx(411,692.09,-1186.22,15.59,255,-1,-1,600); //dreckloch ls 1 AddStaticVehicleEx(415,206.00,-1441.98,13.36,135,-1,-1,600); //parkplatz1 ls AddStaticVehicleEx(439,-70.14,-1599.16,2.93,135,-1,-1,600); //hillybilly 1 AddStaticVehicleEx(451,-93.53,-1194.79,2.52,175,-1,-1,600); //ls - sf tanke 1 AddStaticVehicleEx(470,-311.55,-858.51,47.33,85,-1,-1,600); //pampaparty ls - sf AddStaticVehicleEx(495,-1217.19,-742.05,61.05,350,-1,-1,600); //pamparty ls - sf 2 AddStaticVehicleEx(502,-1346.32,-281.78,14.38,135,-1,-1,600); //sf airport runway 1 AddStaticVehicleEx(518,-1547.28,-149.03,14.39,135,-1,-1,600); //sf airport runway 2 AddStaticVehicleEx(522,-1779.85,-567.96,16.72,90,-1,-1,600); //sf airport eingang AddStaticVehicleEx(560,-1987.54,271.78,35.41,90,-1,-1,600); //sf autohaus 1 AddStaticVehicleEx(560,-1990.00,244.25,35.41,90,-1,-1,600); //sf autohaus 2 AddStaticVehicleEx(559,-2612.98,203.95,5.13,180,-1,-1,600); //sf ammunation AddStaticVehicleEx(567,-2665.46,268.20,4.58,180,-1,-1,600); //sf cluckin bell AddStaticVehicleEx(411,-2517.99,-344.79,58.46,15,-1,-1,600); //sf bergauf 1 AddStaticVehicleEx(415,-2396.51,-595.30,132.89,280,-1,-1,600); //sf bergauf 2 AddStaticVehicleEx(439,-2205.23,-736.86,63.55,350,-1,-1,600); //sf bergab 1 AddStaticVehicleEx(451,-2134.47,-854.33,32.27,270,-1,-1,600); //sf bergab 2 //15 Karren AddStaticVehicleEx(411,2195.12,2656.03,11.06,90,-1,-1,600); //kirchenjump AddStaticVehicleEx(415,1294.40,2517.13,11.07,90,-1,-1,600); //villa las venturas AddStaticVehicleEx(439,725.62,2636.89,20.81,100,-1,-1,600); //street split lv AddStaticVehicleEx(451,717.34,1947.02,5.78,0,-1,-1,600); //spread ranch AddStaticVehicleEx(470,573.72,1632.96,7.24,190,-1,-1,600); //big desert tanke AddStaticVehicleEx(495,158.85,1190.44,15.35,90,-1,-1,600); //wüstenhühnchen AddStaticVehicleEx(502,-301.52,1763.52,42.93,90,-1,-1,600); //gay-sir AddStaticVehicleEx(518,-136.07,1216.77,19.98,0,-1,-1,600); //king ring AddStaticVehicleEx(522,-312.76,813.64,15.03,180,-1,-1,600); //desert ammunation 1 AddStaticVehicleEx(536,-684.66,966.55,12.38,270,-1,-1,600); //fbi villa AddStaticVehicleEx(559,310.33,764.51,6.52,90,-1,-1,600); //bridge 1 lv - sf AddStaticVehicleEx(560,-137.75,575.75,3.26,0,-1,-1,600); //bridge 2 lv - sf AddStaticVehicleEx(567,-813.19,710.87,18.99,90,-1,-1,600); //beachy yeah yeah lv sf AddStaticVehicleEx(411,-921.62,1254.59,35.27,0,-1,-1,600); //tree picknick lv - sf AddStaticVehicleEx(415,-1491.51,1876.25,32.87,0,-1,-1,600); //pampanke lv - sf //46 Karren AddStaticVehicleEx(411,442.14,2695.19,61.71,280,-1,-1,600); //street split lv 2 AddStaticVehicleEx(415,345.95,2538.85,16.27,180,-1,-1,600); //old airport 1 AddStaticVehicleEx(439,113.48,1067.64,13.13,180,-1,-1,600); //autokino AddStaticVehicleEx(451,-1193.82,1822.72,41.23,45,-1,-1,600); //wüstenhühnchen 2 AddStaticVehicleEx(470,-1932.85,2374.79,49.01,100,-1,-1,600); //golden gate diner AddStaticVehicleEx(495,-2733.53,2389.58,72.61,180,-1,-1,600); //golden gate northpoint AddStaticVehicleEx(502,-2474.19,2225.16,4.36,180,-1,-1,600); //golden gate parkinglot AddStaticVehicleEx(518,-2699.32,1224.85,54.99,100,-1,-1,600); //golden gate southpoint AddStaticVehicleEx(522,-2415.78,977.71,44.81,180,-1,-1,600); //san fierro moneytanke AddStaticVehicleEx(536,-2450.77,740.86,34.54,0,-1,-1,600); //sf supasave AddStaticVehicleEx(559,-2800.21,778.16,48.98,180,-1,-1,600); //lecker donuts in sf AddStaticVehicleEx(560,-2512.08,1210.10,36.94,90,-1,-1,600); //spawn sf 1 AddStaticVehicleEx(567,-2520.76,1229.09,36.94,45,-1,-1,600); //spawn sf 2 AddStaticVehicleEx(411,-2620.40,1378.79,6.66,90,-1,-1,600); //jizzy'park AddStaticVehicleEx(415,-2092.72,1348.13,6.66,190,-1,-1,600); //poopy pier AddStaticVehicleEx(439,-1717.43,1348.69,6.69,225,-1,-1,600); //pier pizza AddStaticVehicleEx(451,-1658.12,1212.06,21.15,0,-1,-1,600); //zweiter stock AddStaticVehicleEx(470,-1607.28,720.93,11.81,270,-1,-1,600); //sfpd AddStaticVehicleEx(495,-1674.52,414.29,6.69,135,-1,-1,600); //sf hafentanke AddStaticVehicleEx(502,-1813.37,-43.98,14.62,270,-1,-1,600); //kante AddStaticVehicleEx(518,-1810.31,-334.50,22.77,180,-1,-1,600); //einfach so AddStaticVehicleEx(522,-1040.11,-464.30,34.98,15,-1,-1,600); //oelding einfahrt AddStaticVehicleEx(536,-432.46,-402.95,15.72,175,-1,-1,600); //hillybilly 2 AddStaticVehicleEx(559,-485.82,-486.35,25.03,180,-1,-1,600); //containerfirma AddStaticVehicleEx(560,-961.75,-270.59,36.42,355,-1,-1,600); //eklige brücke AddStaticVehicleEx(567,-186.96,-314.22,1.94,315,-1,-1,600); //wursthäuschen AddStaticVehicleEx(411,42.54,-284.62,1.45,180,-1,-1,600); //spedition AddStaticVehicleEx(415,318.83,-127.37,2.49,90,-1,-1,600); //krass öder sprung AddStaticVehicleEx(439,737.07,-172.29,20.28,315,-1,-1,600); //vorm sprung die brücke AddStaticVehicleEx(451,1267.36,-373.40,2.91,180,-1,-1,600); //palamino tal AddStaticVehicleEx(470,1736.19,-981.74,37.72,270,-1,-1,600); //mullholland kreuz AddStaticVehicleEx(549,2133.13,-1135.81,25.93,270,-1,-1,600); //car dealer AddStaticVehicleEx(549,2330.03,-1395.79,24.13,225,-1,-1,600); //watts towers AddStaticVehicleEx(518,2516.23,-1672.31,14.14,260,-1,-1,600); //grove street AddStaticVehicleEx(522,2399.16,-1929.02,13.65,270,-1,-1,600); //grove chicken AddStaticVehicleEx(536,1796.75,-2642.17,13.81,180,-1,-1,600); //ls airport runway AddStaticVehicleEx(559,1488.31,-2471.88,13.82,90,-1,-1,600); //ls airport runway 2 AddStaticVehicleEx(560,1363.95,-2345.05,13.82,90,-1,-1,600); //ls airport parking AddStaticVehicleEx(567,1272.60,-2011.28,59.32,0,-1,-1,600); //ficken AddStaticVehicleEx(411,1290.51,-1529.21,13.79,90,-1,-1,600); //downtown ls stelzenteil AddStaticVehicleEx(415,1365.13,-1315.00,13.81,0,-1,-1,600); //ls ammunation AddStaticVehicleEx(439,1056.22,-1029.74,32.35,90,-1,-1,600); //ls transfender AddStaticVehicleEx(451,1021.80,-1138.57,23.93,270,-1,-1,600); //oscar awards AddStaticVehicleEx(470,1024.81,-1341.51,13.99,0,-1,-1,600); //lecker donuts ls AddStaticVehicleEx(495,659.00,-1680.99,14.50,90,-1,-1,600); //schöne gegend ls AddStaticVehicleEx(502,320.54,-1808.68,4.76,180,-1,-1,600); //santa maria beach //33 Karren AddStaticVehicleEx(411,-2193.03,-377.60,35.66,270,-1,-1,600); //sf dome AddStaticVehicleEx(415,-2799.98,-466.98,7.43,45,-1,-1,600); //country club crossing AddStaticVehicleEx(439,-2906.85,-1254.12,10.64,180,-1,-1,600); //sunset bridge AddStaticVehicleEx(451,-2857.30,-1985.25,38.29,180,-1,-1,600); //sunset point AddStaticVehicleEx(470,-2403.88,-2181.82,33.53,90,-1,-1,600); //chiliad station AddStaticVehicleEx(495,-2516.26,-2647.63,68.54,180,-1,-1,600); //sunset point deluxe AddStaticVehicleEx(502,-2141.30,-2451.31,30.86,225,-1,-1,600); //chiliad chicken AddStaticVehicleEx(518,-1543.70,-2741.42,48.78,0,-1,-1,600); //pampanke 2 AddStaticVehicleEx(522,-970.18,-2880.74,66.38,270,-1,-1,600); //pampabrücke AddStaticVehicleEx(536,-198.67,-2849.14,41.03,270,-1,-1,600); //pampaschotter AddStaticVehicleEx(559,-16.75,-2504.21,36.89,315,-1,-1,600); //pampa motel AddStaticVehicleEx(560,-275.60,-2178.49,29.05,280,-1,-1,600); //pampa farm AddStaticVehicleEx(567,-102.36,-1431.81,13.14,0,-1,-1,600); //herzchen highway AddStaticVehicleEx(411,666.84,-1274.49,13.70,180,-1,-1,600); //beverly hills tennis club AddStaticVehicleEx(502,1243.1860,-805.8400,82.1406,180,-1,-1,600);//tomasu's villa AddStaticVehicleEx(439,1914.50,33.66,34.67,270,-1,-1,600); //weg zur beichte crossing AddStaticVehicleEx(451,2356.60,123.25,27.18,90,-1,-1,600); //beichttown AddStaticVehicleEx(470,2016.35,311.22,27.94,45,-1,-1,600); //under the bridge AddStaticVehicleEx(495,1483.64,352.87,19.39,190,-1,-1,600); //auslaufzonencrash AddStaticVehicleEx(502,971.34,516.26,19.19,90,-1,-1,600); //angelparadies AddStaticVehicleEx(518,1384.09,455.18,20.15,70,-1,-1,600); //tosser tanke AddStaticVehicleEx(522,1739.89,523.16,28.11,355,-1,-1,600); //highway patrol AddStaticVehicleEx(536,1229.19,857.49,12.71,105,-1,-1,600); //lv crossing southwest AddStaticVehicleEx(559,-92.03,1339.30,10.78,180,-1,-1,600); //ufo inn AddStaticVehicleEx(560,-447.58,1781.91,73.49,80,-1,-1,600); //schüsselkurve AddStaticVehicleEx(567,-902.81,2011.37,61.15,315,-1,-1,600); //saudamm parking AddStaticVehicleEx(411,-1421.33,2177.06,50.65,10,-1,-1,600); //bretterbude AddStaticVehicleEx(415,-1303.28,2706.25,50.31,0,-1,-1,600); //arsch der welt tanke AddStaticVehicleEx(439,-1508.67,2635.97,56.08,90,-1,-1,600); //arsch der welt ammunation AddStaticVehicleEx(451,-769.96,2759.73,45.99,0,-1,-1,600); //redskin inn AddStaticVehicleEx(495,-538.60,2583.00,53.65,90,-1,-1,600); //bunkerfirma AddStaticVehicleEx(502,-235.15,2595.76,62.95,180,-1,-1,600); //arschwelt parking AddStaticVehicleEx(470,280.75,2778.73,34.21,260,-1,-1,600); //das machen viele //58 Karren AddStaticVehicleEx(411,-577.46,-1060.11,22.95,55,-1,-1,600); //nix moneyarea AddStaticVehicleEx(415,-638.77,-1482.26,18.92,95,-1,-1,600); //wurzelsepp AddStaticVehicleEx(439,-718.90,-1270.48,65.64,60,-1,-1,600); //wurzelsepp kurve AddStaticVehicleEx(451,-1102.94,-1621.84,75.75,90,-1,-1,600); //hanffarm AddStaticVehicleEx(470,-1386.64,-1439.29,101.04,0,-1,-1,600); //bergfarm AddStaticVehicleEx(495,-1069.60,-1308.81,128.60,270,-1,-1,600); //redneck farm AddStaticVehicleEx(502,-871.24,-1159.13,102.76,30,-1,-1,600); //tunnel ostende AddStaticVehicleEx(518,-748.97,-1593.69,95.01,135,-1,-1,600); //wurzelsepp oben AddStaticVehicleEx(522,-985.67,-1923.14,80.08,170,-1,-1,600); //hanf farm split AddStaticVehicleEx(536,-1143.11,-2299.17,37.24,170,-1,-1,600); //pusemuckel bridge AddStaticVehicleEx(559,-871.01,-2562.95,89.86,315,-1,-1,600); //superlange kurve AddStaticVehicleEx(560,447.22,-1734.07,9.05,0,-1,-1,600); //santa maria promenade AddStaticVehicleEx(567,842.32,-1798.57,12.95,0,-1,-1,600); //santa maria promenade 2 AddStaticVehicleEx(411,1027.33,-1864.43,12.71,270,-1,-1,600); //santa maria promenade 3 AddStaticVehicleEx(415,1278.55,-1813.93,12.77,260,-1,-1,600); //konferenzzentrum AddStaticVehicleEx(439,1613.85,-1890.38,12.93,0,-1,-1,600); //union station bridge AddStaticVehicleEx(451,1838.40,-1871.53,12.77,0,-1,-1,600); //union station liqour AddStaticVehicleEx(470,2026.98,-1940.69,12.73,270,-1,-1,600); //gleisparkstreifen AddStaticVehicleEx(549,2249.40,-1745.82,12.93,270,-1,-1,600); //fitnesscenter ganton AddStaticVehicleEx(502,2860.71,-1986.63,10.32,0,-1,-1,600); //east beach AddStaticVehicleEx(518,2868.80,-1541.99,10.48,350,-1,-1,600); //sprunk AddStaticVehicleEx(522,2828.65,-1196.93,24.19,0,-1,-1,600); //east beach high AddStaticVehicleEx(536,2594.75,-1034.25,69.42,180,-1,-1,600); //hickville los santos AddStaticVehicleEx(559,2917.28,-647.98,8.67,0,-1,-1,600); //east beach 2 AddStaticVehicleEx(560,2724.82,-280.69,27.31,350,-1,-1,600); //big oak AddStaticVehicleEx(567,2765.77,173.70,20.38,180,-1,-1,600); //north highway ls - lv split AddStaticVehicleEx(411,1771.68,871.26,10.46,180,-1,-1,600); //lv entry crossing AddStaticVehicleEx(415,2373.70,2018.05,10.21,90,-1,-1,600); //venturas steaks AddStaticVehicleEx(439,2235.43,2043.08,10.21,90,-1,-1,600); //ordinary parking AddStaticVehicleEx(451,2559.63,2057.98,10.20,0,-1,-1,600); //lv ammunation 2 AddStaticVehicleEx(470,2599.62,1677.90,10.20,270,-1,-1,600); //lv chinese parlor AddStaticVehicleEx(495,2592.02,1853.18,10.20,90,-1,-1,600); //lv chinese parlor 2 AddStaticVehicleEx(502,2539.13,1270.33,10.20,180,-1,-1,600); //basketball courts AddStaticVehicleEx(518,2535.46,968.85,10.21,180,-1,-1,600); //southeastend lv AddStaticVehicleEx(522,2360.61,1001.84,10.21,90,-1,-1,600); //trans fender lv AddStaticVehicleEx(536,1685.13,1306.33,10.21,180,-1,-1,600); //airport parking lv AddStaticVehicleEx(559,1710.83,1456.16,10.09,355,-1,-1,600); //airport lv front door AddStaticVehicleEx(560,1293.54,1490.71,10.19,270,-1,-1,600); //lv airport runway 1 AddStaticVehicleEx(567,1562.82,1660.81,10.21,90,-1,-1,600); //airport lv runway 2 AddStaticVehicleEx(411,-2266.14,188.33,34.62,270,-1,-1,600); //baseball courts AddStaticVehicleEx(415,-2240.89,533.95,34.61,270,-1,-1,600); //cabla car yard AddStaticVehicleEx(439,-2218.87,737.93,48.87,90,-1,-1,600); //chinatown AddStaticVehicleEx(451,-2105.25,901.69,75.96,0,-1,-1,600); //schlangenstraße AddStaticVehicleEx(470,-2011.78,1087.46,55.17,90,-1,-1,600); //kirche sf AddStaticVehicleEx(495,-1752.82,953.81,24.19,270,-1,-1,600); //downtown sf pizza victim AddStaticVehicleEx(502,-1883.86,1243.34,29.68,315,-1,-1,600); //sf parkhausberg AddStaticVehicleEx(518,-2278.62,1195.52,54.68,180,-1,-1,600); //somewhere in sf AddStaticVehicleEx(522,-2633.72,930.77,71.14,20,-1,-1,600); //sf berg villa AddStaticVehicleEx(536,-2591.12,666.69,27.26,90,-1,-1,600); //sf hospital parkdeck AddStaticVehicleEx(559,-2586.95,484.49,14.07,45,-1,-1,600); //ecke in sf AddStaticVehicleEx(560,-2850.90,505.97,4.17,170,-1,-1,600); //sf west pier AddStaticVehicleEx(567,-2797.34,-39.58,6.64,270,-1,-1,600); //sf rosa haus AddStaticVehicleEx(411,-2780.70,-282.46,6.49,0,-1,-1,600); //sf country club parking AddStaticVehicleEx(415,-2486.66,-124.76,25.07,90,-1,-1,600); //bing's bongs AddStaticVehicleEx(439,-2351.65,-126.82,34.76,0,-1,-1,600); //sf burger shot AddStaticVehicleEx(451,-2181.84,42.96,34.77,270,-1,-1,600); //ecke in sf 2 AddStaticVehicleEx(470,-1979.38,499.03,28.50,0,-1,-1,600); //sf da gehts runter AddStaticVehicleEx(495,-1811.99,595.24,34.62,270,-1,-1,600); //sf cluckin bell 2 AddStaticVehicleEx(409,1539.96,-1353.15,329.46,270,-1,-1,600); //toby tower //11 Polizei-Karren AddStaticVehicleEx(599,1555.38,-1611.66,14.3828,62,95,1,600); //police ls AddStaticVehicleEx(599,1601.67,-1610.90,14.4835,84,95,1,600); //police ls AddStaticVehicleEx(599,1598.62,-1628.05,14.4507,153,95,1,600); //police ls AddStaticVehicleEx(432,2816.16,491.4914,8.554688,18,0,0,60); //hydra map AddStaticVehicleEx(599,-1594.99,652.452,7.1875,85,114,1,600); //police sf AddStaticVehicleEx(599,-1611.18,673.892,7.1875,57,114,1,600); //police sf AddStaticVehicleEx(599,2272.79,2444.48,10.8203,45,123,1,600); //police lv AddStaticVehicleEx(599,2281.34,2444.69,10.8203,245,123,1,600); //police lv AddStaticVehicleEx(599,2256.15,2443.72,10.8203,63,123,1,600); //police lv AddStaticVehicleEx(599,623.5350,-597.4050,16.7529,90,66,102,600); //police dillimore pd AddStaticVehicleEx(599,626.3496,-601.0556,16.4431,90,66,102,600); //police dillimore pd 2 //6 MoneyPointCars AddStaticVehicleEx(495,352.074,-1789.66,8.1203,152.9012,1,1,600); //sm AddStaticVehicleEx(495,30.8074,-267.409,5.21683,152.9012,1,1,600); //ws AddStaticVehicleEx(495,-604.326,-475.396,28.5178,152.9012,1,1,600); //cf AddStaticVehicleEx(495,-2537.04,-604.082,135.563,152.9012,1,1,600); //sf AddStaticVehicleEx(495,-2446.24,993.248,48.2969,152.9012,1,1,600); //ts AddStaticVehicleEx(495,-2646.1,1351.61,10.16847,152.9012,1,1,600); //jz // 7 Planes AddStaticVehicleEx(520,1821.6583,-2630.1296,14.2596,340.8974,3,3,600); //Los Santos AddStaticVehicleEx(476,1664.1699,-2628.0967,14.2599,326.8539,3,3,600); //Los Santos AddStaticVehicleEx(520,-1377.0153,-229.0926,14.8558,318.9933,1,1,600); //San Fierro AddStaticVehicleEx(476,1276.7877,1413.6025,11.5289,281.3687,6,6,600); //Las Venturas AddStaticVehicleEx(520,314.0201,2503.9302,17.1936,89.1171,13,13,600); //old airport AddStaticVehicleEx(476,289.84,2543.39,16.33,180,13,13,600); //old airport hangar AddStaticVehicleEx(520,2848.752,499.8107,8.554688,18,0,0,60); //hydra map // 8 Helis AddStaticVehicleEx(487,1861.7666,-2632.0405,14.2598,19.0651,3,0,600); //heli los santos AddStaticVehicleEx(487,1279.4381,1440.5977,11.5336,269.5066,6,0,600); //heli las venturas AddStaticVehicleEx(487,-1353.4774,-248.0026,14.8769,308.7195,1,0,600); //heli san fierro AddStaticVehicleEx(487,-1425.05,-948.10,200.48,270,0,0,600); //heli sniperstation AddStaticVehicleEx(487,1526.13,-884.31,61.1224,345,3,0,600); //heli los santos AddStaticVehicleEx(487,2125.87,948.166,10.813,180,6,0,600); //heli las venturas AddStaticVehicleEx(487,-1897.46,253.565,41.0469,180,1,0,600); //heli san fierro AddStaticVehicleEx(488,1291.4078,-788.1159,96.4609,180,6,0,600); //heli tomasu's villa // 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 AddStaticVehicleEx(481,1933.1982,-1415.1788,13.6319,180,7,1,600); //bmx bike AddStaticVehicleEx(481,1901.7546,-1436.0195,13.6281,180,7,1,600); //bmx bike // 7 karren AddStaticVehicleEx(562,-1987.7016,265.2586,35.0493,270,-1,-1,600); //Wang Cars AddStaticVehicleEx(534,2265.8278,-2122.9641,13.7366,45,-1,-1,600); //TG Stages LS AddStaticVehicleEx(534,2640.3115,-2390.0988,13.3397,270,-1,-1,600); //ocean docks ls AddStaticVehicleEx(419,2200.8137,-2509.6132,13.2537,180,-1,-1,600); //ocean docks ls 2 AddStaticVehicleEx(477,1881.9674,1816.4667,18.7064,0,-1,-1,600); //The visage parking lv AddStaticVehicleEx(562,1858.1218,1933.9909,13.5548,180,-1,-1,600); //the visage parkin 2 lv AddStaticVehicleEx(442,695.5896,-467.0767,16.0432,270,-1,-1,600); //wollos booze up //12 Karren AddStaticVehicleEx(562,-2693.2148,236.9742,3.9989,180,-1,-1,600); //wheel arch 1 AddStaticVehicleEx(576,2293.0229,-2021.1601,13.1986,90,-1,-1,600); //tg stages 2 AddStaticVehicleEx(565,-2685.1049,236.7105,3.9983,180,-1,-1,600); //wheel arch 2 AddStaticVehicleEx(562,-2678.0075,236.8102,3.9983,180,-1,-1,600); //wheel arch 3 AddStaticVehicleEx(562,-2691.9753,205.4253,3.9985,180,-1,-1,600); //wheel arch 4 AddStaticVehicleEx(412,2445.2573,-1762.4600,13.2446,180,-1,-1,600); //ganton AddStaticVehicleEx(576,1912.6594,-1871.8527,13.2106,180,-1,-1,600); //calexico AddStaticVehicleEx(565,-1954.2777,301.5983,35.1319,135,-1,-1,600); //wang cars 1 AddStaticVehicleEx(518,-1950.6529,259.4081,40.7080,45,-1,-1,600); //wang cars 2 AddStaticVehicleEx(412,2051.1193,-1992.4644,13.2031,0,-1,-1,600); //bahngleise wasserturm AddStaticVehicleEx(566,2511.4162,-1470.2194,24.2141,90,-1,-1,600); //tahoma I AddStaticVehicleEx(566,2473.9125,-1545.9960,24.1890,270,-1,-1,600); //tahoma II AddStaticVehicleEx(536,2695.7861,-2007.5607,13.1113,90,-1,-1,600); //loco low I AddStaticVehicleEx(534,2688.2021,-2007.5245,13.1078,90,-1,-1,600); //loco low II AddStaticVehicleEx(567,2679.4860,-2007.4444,13.1078,90,-1,-1,600); //loco low III AddStaticVehicleEx(576,2671.4809,-2007.3712,13.1083,90,-1,-1,600); //loco low IV AddStaticVehicleEx(412,2663.8706,-2007.3016,13.1058,90,-1,-1,600); //loco low V SetTimer("MoneyGrubScoreUpdate", 10000, 1); SetTimer("checkpointUpdate", 1100, 1); SetTimer("PirateShipScoreUpdate", 1001, 1); SetTimer("ParkingScoreUpdate", 1001, 1); SetTimer("WuesteScoreUpdate", 1001, 1); SetTimer("SanFierScoreUpdate", 1001, 1); SetTimer("ChiliadScoreUpdate", 1001, 1); SetTimer("FickScoreUpdate", 1001, 1); SetTimer("RanchScoreUpdate", 1001, 1); SetTimer("ContainScoreUpdate", 1001, 1); SetTimer("HarryScoreUpdate", 1001, 1); SetTimer("SpediScoreUpdate", 1001, 1); SetTimer("JizparkScoreUpdate", 1001, 1); SetTimer("GoldenScoreUpdate", 1001, 1); SetTimer("RastplScoreUpdate", 1001, 1); SetTimer("TankSFScoreUpdate", 1001, 1); SetTimer("DinerScoreUpdate", 1001, 1); SetTimer("SuperMScoreUpdate", 1001, 1); SetTimer("MotelScoreUpdate", 1001, 1); SetTimer("AssWorldScoreUpdate", 1001, 1); SetTimer("MiddleSFScoreUpdate", 1001, 1); SetTimer("SWISFScoreUpdate", 1001, 1); SetTimer("ParkingWaterScoreUpdate", 1001, 1); SetTimer("PlayaScoreUpdate", 1001, 1); SetTimer("OceanDocksScoreUpdate", 1001, 1); SetTimer("LittleCalexicoScoreUpdate", 1001, 1); SetTimer("TomasuScoreUpdate", 60001, 1); SetTimer("Maut1ScoreUpdate", 501, 1); SetTimer("Maut2ScoreUpdate", 501, 1); SetTimer("Maut3ScoreUpdate", 501, 1); SetTimer("Maut4ScoreUpdate", 501, 1); SetTimer("PropertyScoreUpdate", 60005, 1); SetTimer("CheckFuel", TIME, 1); return 1;}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;}public SetPlayerToTeamColor(playerid){ if(gTeam[playerid] == TEAM_ADMINS) { SetPlayerColor(playerid,COLOR_BLACK); } else if(gTeam[playerid] == TEAM_GESCHAEFTSLEUTE) { SetPlayerColor(playerid,COLOR_BLUE); } else if(gTeam[playerid] == TEAM_POLIZISTEN) { SetPlayerColor(playerid,COLOR_WHITE); } else if(gTeam[playerid] == TEAM_GESUCHTE) { SetPlayerColor(playerid,COLOR_RED); }}public SetPlayerTeamFromClass(playerid,classid){ // Set their team number based on the class they selected. if(classid == 0) { gTeam[playerid] = TEAM_ADMINS; } else if(classid == 1 || classid == 2 || classid == 3) { gTeam[playerid] = TEAM_GESCHAEFTSLEUTE; } else if(classid == 4 || classid == 5) { gTeam[playerid] = TEAM_POLIZISTEN; } else if(classid == 6 || classid == 7 || classid == 8 || classid == 9) { gTeam[playerid] = TEAM_GESUCHTE; }}