#include #include #include #include #define FILE_SETTINGS "settings.ini" #define FILE_COMMANDLOG "lastcommand.log" #define FILE_LOCATIONS "locations.txt" #include new Count = 5; new CountText[5][5] ={ "~r~1", "~r~2", "~r~3", "~b~4", "~b~5" }; #define FILE_SETTINGS "settings.ini" new ScriptVersion[12]; new carstr[256]; new admin_car[MAX_PLAYERS]; //Add to top of script #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 DELAY_TIME 30000 #define PocketMoney 25000 // 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 31 forward 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 }; #define MAX_POINTS 197 new Float:checkCoords[MAX_POINTS][4] = { {-36.5483,-57.9948, -17.2655,-49.2967}, //BANK {1894.6128,1445.3431, 2084.9739,1637.8186}, //PIRATE {284.0546,-86.4384, 302.9315,-56.6674}, //AMMUNATION {258.924,-1866.19,409.411,-1736.45}, //PARKING {-355.732,1676.14,-235.303,1831.62}, //WUESTE {-2591.66,-674.835,-2435.1,-544.991}, //SANFIER {-2313.81,-1789.05,-2186.71,-1634.03}, //CHILIAD {1192.72, -2099.61,1333.27,-1954.05 }, //FICK {623.732,1880.72,781.218,2002.33}, //RANCH {-637.724,-556.203,-416.277,-418.579}, //CONTAIN {2228.08,-113.3356,2332.73,5.5897}, //HARRY {-32.7685,-340.914,121.8121, -217.915}, //SPEDI {-2660.17,1283.46,-2585.56,1389.90}, //JIZPARK {-2536.97,2171.37,-2389.39,2295.38}, //GOLDEN {-1601.9,-2818.3,-1474.28,-2681.64}, //RASTPL {-2469.61,898.959,-2350.05,1046.733}, //TANKSF {-2007.05,2324.14,-1875.90,2450.07}, //wollo's DINER {1254.81,-926.512,1391.77,-805.467}, //SUPERM {2014.26,2103.68,2148.15,2239.54}, //MOTEL {-294.51,2541.63,-146.94,2661.73}, //ASSWORLD {-2646.33,571.84,-2503.93,730.25}, //MIDDLESF {-2834.07,-358.66,-2691.91,-231.41}, //SWISF {2188.3254,496.3812,2451.3007,646.8649}, //Parking Water Las Venturas {2717.0056,-2079.7440,2846.3630,-1959.9238},//Playa del Seville {2724.9433,-2479.6242,2851.4296,-2355.9318},//Ocean Docks {1854.5441,-1846.9332,1996.9078,-1712.3132},//Little Calexico {1260.6529,-787.5587,1272.4567,-771.7495}, //Tomasu's Villa - Hinweis 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 166 new propertyNames[MAX_PROPERTIES][32] = { "Four Dragons LV - $750.000", "Sex Shop LV - $250.000", "Bar - $250.000", "Caligula LV - $1.000.000", "Zip Shop - $250.000", "Binco Shop - $75.000", "Tattoo Parlor - $100.000", "Boutique - $100.000", "Police Department LS - $500.000", "Pizza - $500.000", "Victim - $250.000", "Appartment LV - $75.000", "Ballas Motel LS - $175.000", "Inside Track - $250.000", "Vodka Inn LS - $1.000.000", //Russen-Hauptquartier "CJ's Home LS - $75.000", "Gym LS - $175.000", "Appartment LS (1) - $75.000", "Appartment LS (2) - $75.000", "Turning Trick SF - $500.000", "Appartment SF (1) - $75.000", "SubUrban SF - $75.000", "Police Department LV - $500.000", "Lapdance LV - $250.000", "DidierSachs LS - $500.000", "ProLaps LS - $250.000", "69CentStore LS - $50.000", "Alhambra LS - $500.000", "BarberShop - $50.000", "Appartment SF (2) - $75.000", "Cobra SF - $175.000", "Hemlock Tattoo SF - $100.000", "Appartment LS (3) - $75.000", "Market Station LS - $250.000", "Zero RC - $250.000", "Appartment Desert - $75.000", "Clucking Bell - $500.000", "Dam - $15.000.000", "Appartment SF (3) - $75.000", "Tattoo LS - $75.000", "Reeces LS - $50.000", "Spread Ranch - $250.000", "MilitaryBase - $20.000.000", "Old Airport - $750.000", "BurgerShot - $500.000", "Tomasu's Villa LS - $2.500.000", "Blackfield Stadium - $2.500.000", "LS Forum - $2.500.000", "Toby Tower LS - $5.000.000", "MagnusCorp Pyramid - $5.000.000", "House LV - $250.000", "Lil' Casino LV - $500.000", "Gym LV - $75.000", "Rock Hotel LV - $750.000", "Otto's Autos - $1.000.000", "Wang Cars - $1.000.000", "Jizzy's Club - $750.000", "Zombotech - $1.000.000", "Toreno's - $1.000.000", "Alien Inn - $100.000", "Quarry - $7.500.000", "24/7 Gas LS - $100.000", "Fleischberg - $10.000.000", "Glocki's Funworld - $175.000", "Greenglass College - $1.000.000", "Turning Trick LV - $500.000", "Boat Training - $500.000", "Wollo's BoozeUp - $175.000", "Tierra Robada Corp - $500.000", "Teepee Motel VO - $250.000", "Corvin Stadium - $2.500.000", "Bike Park - $75.000", "Airpot LS - $12.500.000", "Airpot LV - $12.500.000", "Airpot SF - $12.500.000", "Police Department SF - $500.000", "Container I - $5.000.000", "SupaSave - $250.000", "Interglobal TV - $2.500.000", "Porn Studios - $5.000.000", "Pet Sematary - $750.000", "Texas Ted's - $250.000", "Bandits - $2.500.000", "Shody - $750.000", "Steakhouse - $500.000", "Lil' Church LV - $75.000", "Venturas Steaks - $750.000", "Emerald Isle - $2.500.000", "General Store - $175.000", "K.A.C.C. - $7.500.000", "Golfclub LV - $2.500.000", "Unity Station LS - $2.500.000", "County General LS - $2.500.000", "Hospital LS - $2.500.000", "Appartment LV (2) - $75.000", "Visage - $5.000.000", "Wedding Chapel 100.000", "Cum-a-lot - $7.500.000", "Royal Casino - $2.500.000", "High Roller - $1.000.000", "Dick's Sounds - $175.000", "Dom's Rubbers - $50.000", "Vinyl Countdown I - $150.000", "Bearded Clam - $50.000", "Bank of SA - $7.500.000", "Daily Globes - $50.000", "Hippy Shopper I - $50.000", "Vinyl Countdown II - $150.000", "Verona Mall - $2.500.000", "Hippy Shopper II - $50.000", "TG Stages - $250.000", "AircraftCarrier - $10.000.000", "Fire Dept SF - $500.000", "Biffin Bridge - $500.000", "Uphill Gardener - $100.000", "Michelle's - $75.000", "Container II - $5.000.000", "Pier 69 - $175.000", "Coutt & Schutz - $100.000", "ConferenceCenter - $7.500.000", "Papercuts - $250.000", "LS Fashions - $75.000", "Grauman's - $2.500.000", "Alexanders' Toys - $100.000", "COGS - $50.000", "Ranch - $175.000", "Xoomer Corp - $1.000.000", "Side Walk Market - $75.000", "Sumo - $250.000", "Snake Farm - $50.000", "Sheriff El Q - $75.000", "Hotel El Q - $100.000", "Med. Center El Q - $175.000", "Wheel Arch Angels - $500.000", "Lavanderia - $50.000", "Jazz Mags - $75.000", "Easter Board Farm - $5.000.000", "Motel 1 FC - $175.000", "Motel 2 FC - $175.000", "Motel 3 FC - $175.000", "Motel 4 FC - $175.000", "Hotel FC - $250.000", "Diner FC - $75.000", "Bowled Spot - $250.000", "U Get Inn - $100.000", "King Ring - $75.000", "No1 Desert - $100.000", "Cafe FC - $50.000", "Bank FC - $250.000", "Bar FC - $75.000", "Astro Drive-In - $175.000", "HI K69 - $50.000", "EasterBayChemicals - $7.500.000", "Sheriff FC - $75.000", "Med. Center FC - $175.000", "Jim's Ring - $75.000", "Nude Shop 1 - $250.000", "Nude Shop 2 - $250.000", "City Planning - $2.500.000", "Teepee Motel LB - $250.000", "Bank LB - $250.000", "Smokin'Beef Grill LB - $175.000", "Cemetery LB - $250.000", "SolarinInd. SF - $2.500.000", "SolarinInd.Dillimore - $750.000", "Federal Mint - $1.000.000" }; new propertyValues[MAX_PROPERTIES] = { 750000 , // Four Dragons LV 250000 , // Sex Shop LV 250000 , // Shithole Bar 1000000 , // Caligula LV 250000 , // Zip Shop 75000 , // Binco Shop 100000 , // Tattoo Parlor 100000 , // Boutique 500000 , // Police Department LS 500000 , // Pizza 250000 , // Victim 75000 , // Appartment LV 175000 , // Ballas Motel LS 250000 , // Wettbüro LS 1000000 , // Vodka Inn LS 75000 , // CJ's Home LS 175000 , // Gym LS 75000 , // Appartment LS (1) 75000 , // Appartment LS (2) 500000 , // Fahrschule SF 75000 , // Appartment SF (1) 75000 , // SubUrban SF 500000 , // Police Department LV 250000 , // Lapdance LV 500000 , // DidierSachs LS 250000 , // ProLaps LS 50000 , // 69CentStore LS 500000 , // Alhambra LS 50000 , // BarberShop 75000 , // Appartment SF (2) 175000 , // Cobra SF 100000 , // Hemlock Tattoo SF 75000 , // Appartment LS (3) 250000 , // Market Station LS 250000 , // Zero RC 75000 , // Appartment Desert 500000 , // Clucking Bell 15000000, // Dam 75000 , // Appartment SF (3) 75000 , // Tattoo LS 50000 , // Reeces LS 250000 , // Spread Ranch 20000000, // MilitaryBase 750000 , // Old Airport 500000 , // BurgerShot 2500000 , // Tomasu's Villa LS 2500000 , // Blackfield Stadium 2500000 , // LS Forum 5000000 , // Toby Tower LS 5000000 , // MagnusCorp Pyramid 250000 , // House LV 500000 , // Lil' Casino LV 75000 , // Gym LV 750000 , // Rock Hotel LV 1000000 , // Otto's Autos 1000000 , // Wang Cars 750000 , // Jizzy's Club 1000000 , // Zombotech 1000000 , // Toreno's 100000 , // Alien Inn 7500000 , // Quarry 100000 , // 24/7 Gas LS 10000000, // Fleischberg 175000 , // Glocki's Funworld 1000000 , // Gay Institute 500000 , // Turning Trick LV 500000 , // Boat Training 175000 , // Wollo's Booze-Up 500000 , // Desert Corp. 250000 , // Teepee Motel VO 2500000 , // Corvin Stadium 75000 , // Bike Park 12500000, // Airpot LS 12500000, // Airpot LV 12500000, // Airpot SF 500000 , // Police Department SF 5000000 , // Container Ship 250000 , // SupaSave 2500000 , // Interglobal Television 5000000 , // Porn Studios 750000 , // Pet Sematary 250000 , // Texas Ted's 2500000 , // Bandits 750000 , // Shody 500000 , // Steakhouse 75000 , // Lil' Church LV 750000 , // Venturas Steaks 2500000 , // Emerald Isle 150000 , // General Store 7500000 , // K.A.C.C. 2500000 , // Golfclub LV 2500000 , // Unity Station LS 2500000 , // County General LS 2500000 , // Hospital Los Santos 75000 , // Appartment Las Venturas 2 5000000 , // The Visage 100000 , // Wedding Chapel 7500000 , // Cum-a-lot 2500000 , // Royal Casino 1000000 , // High Roller 175000 , // Dick's Sounds 50000 , // Dom's Rubbers 150000 , // Vinyl Countdown I 50000 , // Bearded Clam 7500000 , // Bank of San Andreas 50000 , // Daily Globes 50000 , // Hippy Shopper I 150000 , // Vinyl Countdown II 2500000 , // Verona Mall 50000 , // Hippy Shopper II 250000 , // TG Stages 10000000, // Aircraft Carrier 500000 , // Fire Dept SF 500000 , // Biffin Bridge 100000 , // Uphill Gardener 75000 , // Michelle's 5000000 , // Container II 175000 , // Pier 69 100000 , // Coutt & Schutz 7500000 , // Conference Center 250000 , // Papercuts 75000 , // LS Fashions 2500000 , // Grauman's 100000 , // Alexanders' Toys 50000 , // COGS 175000 , // Ranch shop 1000000 , // Xoomer Corp 75000 , // Side Walk Market 250000 , // Sumo 50000 , // Snake Farm 75000 , // Sheriff El Quebrados 100000 , // Hotel El Quebrados 175000 , // Medical Center El Quebrados 500000 , // Wheel Arch Angels 50000 , // Lavanderia 75000 , // Jazz Mags 5000000 , // Easter Board Farm 175000 , // Motel 1 FC 175000 , // Motel 2 FC 175000 , // Motel 3 FC 175000 , // Motel 4 FC 250000 , // Hotel FC 75000 , // Diner FC 250000 , // Bowled Spot 100000 , // U Get Inn 75000 , // King Ring 100000 , // No1 Desert 50000 , // Cafe FC 250000 , // Bank FC 75000 , // Bar FC 175000 , // Astro Drive-In 50000 , // HI K69 7500000 , // Easter Bay Chemicals 75000 , // Sheriff FC 175000 , // Medical Center FC 75000 , // Jim's Ring 250000 , // Nude Shop 1 250000 , // Nude Shop 2 2500000 , // City Planning 250000 , // Teepee Motel LB 250000 , // Bank LB 175000 , // Smokin' Beef Grill LB 250000 , // Cemetery LB 2500000 , // Solarin Industries SF 750000 , // Solarin Industries Dillimore 1000000 // Federal Mint }; new propertyEarnings[MAX_PROPERTIES] = { 30000 , // Four Dragons LV 10000 , // Sex Shop LV 10000 , // Shithole Bar 40000 , // Caligula LV 10000 , // Zip Shop 3000 , // Binco Shop 4000 , // Tattoo Parlor 4000 , // Boutique 20000 , // Police Department LS 20000 , // Pizza 10000 , // Victim 3000 , // Appartment LV 7000 , // Ballas Motel LS 10000 , // Wettbüro LS 40000 , // Vodka Inn LS 3000 , // CJ's Home LS 7000 , // Gym LS 3000 , // Appartment LS (1) 3000 , // Appartment LS (2) 20000 , // Turning Trick SF 3000 , // Appartment SF (1) 3000 , // SubUrban SF 20000 , // Police Department LV 10000 , // Lapdance LV 20000 , // DidierSachs LS 10000 , // ProLaps LS 2000 , // 69CentStore LS 20000 , // Alhambra LS 2000 , // BarberShop 3000 , // Appartment SF (2) 7000 , // Cobra SF 4000 , // Hemlock Tattoo SF 3000 , // Appartment LS (3) 10000 , // Market Station LS 10000 , // Zero RC 3000 , // Appartment Desert 20000 , // Clucking Bell 600000 , // Dam 3000 , // Appartment SF (3) 3000 , // Tattoo LS 2000 , // Reeces LS 10000 , // Spread Ranch 800000 , // MilitaryBase 30000 , // Old Airport 20000 , // BurgerShot 100000 , // Tomasu's Villa LS 100000 , // Blackfield Stadium 100000 , // LS Forum 200000 , // Toby Tower LS 200000 , // MagnusCorp Pyramid 10000 , // House LV 20000 , // Lil' Casino LV 3000 , // Gym LV 30000 , // Rock Hotel LV 40000 , // Otto's Autos 40000 , // Wang Cars 30000 , // Jizzy's Club 40000 , // Zombotech 40000 , // Toreno's 4000 , // Alien Inn 300000 , // Quarry 4000 , // 24/7 Gas LS 400000 , // Fleischberg 7000 , // Glocki's Funworld 40000 , // Gay Institute 20000 , // Turning Trick LV 20000 , // Boat Training 7000 , // Wollo's Booze-Up 20000 , // Desert Corp. 10000 , // Teepee Motel VO 100000 , // Corvin Stadium 3000 , // Bike Park 500000 , // Airpot LS 500000 , // Airpot LV 500000 , // Airpot SF 20000 , // Police Department SF 200000 , // Container Ship 10000 , // SupaSave 100000 , // Interglobal Television 200000 , // Porn Studios 30000 , // Pet Sematary 10000 , // Texas Ted's 100000 , // Bandits 30000 , // Shody 20000 , // Steakhouse 3000 , // Lil' Church LV 30000 , // Venturas Steaks 100000 , // Emerald Isle 6000 , // General Store 300000 , // K.A.C.C. 100000 , // Golfclub LV 100000 , // Unity Station LS 100000 , // County General LS 100000 , // Hospital Los Santos 3000 , // Appartment Las Venturas 2 200000 , // The Visage 4000 , // Wedding Chapel 300000 , // Cum-a-lot 100000 , // Royal Casino 40000 , // High Roller 7000 , // Dick's Sounds 2000 , // Dom's Rubbers 6000 , // Vinyl Countdown I 2000 , // Bearded Clam 300000 , // Bank of San Andreas 2000 , // Daily Globes 2000 , // Hippy Shopper I 6000 , // Vinyl Countdown II 100000 , // Verona Mall 2000 , // Hippy Shopper II 10000 , // TG Stages 400000 , // Aircraft Carrier 20000 , // Fire Dept SF 20000 , // Biffin Bridge 4000 , // Uphill Gardener 3000 , // Michelle's 200000 , // Container II 7000 , // Pier 69 4000 , // Coutt & Schutz 300000 , // Conference Center 10000 , // Papercuts 3000 , // LS Fashions 100000 , // Grauman's 4000 , // Alexanders' Toys 2000 , // COGS 7000 , // Ranch shop 40000 , // Xoomer Corp 3000 , // Side Walk Market 10000 , // Sumo 2000 , // Snake Farm 3000 , // Sheriff El Quebrados 4000 , // Hotel El Quebrados 7000 , // Medical Center El Quebrados 20000 , // Wheel Arch Angels 2000 , // Lavanderia 3000 , // Jazz Mags 200000 , // Easter Board Farm 7000 , // Motel 1 FC 7000 , // Motel 2 FC 7000 , // Motel 3 FC 7000 , // Motel 4 FC 10000 , // Hotel FC 3000 , // Diner FC 10000 , // Bowled Spot 4000 , // U Get Inn 3000 , // King Ring 4000 , // No1 Desert 2000 , // Cafe FC 10000 , // Bank FC 3000 , // Bar FC 7000 , // Astro Drive-In 2000 , // HI K69 300000 , // Easter Bay Chemicals 3000 , // Sheriff FC 7000 , // Medical Center FC 3000 , // Jim's Ring 10000 , // Nude Shop 1 10000 , // Nude Shop 2 100000 , // City Planning 10000 , // Teepee Motel LB 10000 , // Bank LB 7000 , // Smokin' Beef Grill LB 10000 , // Cemetery LB 100000 , // Solarin Industries SF 30000 , // Solarin Industries Dillimore 40000 // 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 17 new 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 3 new 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 64 new savedInfo[MAX_SAVE][4]; new savedNames[MAX_SAVE][MAX_PLAYER_NAME]; #define MAX_GANGS 32 #define MAX_GANG_MEMBERS 6 #define MAX_GANG_NAME 16 new gangMembers[MAX_GANGS][MAX_GANG_MEMBERS]; new gangNames[MAX_GANGS][MAX_GANG_NAME]; new gangInfo[MAX_GANGS][3]; //0-created,1-members,2-color new gangBank[MAX_GANGS]; new playerGang[MAX_PLAYERS]; new gangInvite[MAX_PLAYERS]; new gActivePlayers[MAX_PLAYERS]; new gLastGaveCash[MAX_PLAYERS]; new taxistr[256]; new zeitstr[256]; new PlayerTickets[MAX_PLAYERS][6]; new PlayerMatchs[MAX_PLAYERS]; new bool:PlayerIn[MAX_PLAYERS]; forward LotteryStart(); #define LOTTERY_INTERVAL 60 // 60 seconds #define TICKET_PRICE 1000 // $1000 new GodTimer; new God[MAX_PLAYERS]; //------------------------------------------------------------------------------------------------------ main() { print("\n----------------------------------"); print(" Littlejohny's RPG "); print(" "); print(" "); print("----------------------------------\n"); } //------------------------------------------------------------------------------------------------------ public SettingsExistsCheck() { if (!dini_Exists(FILE_SETTINGS)) { dini_Create(FILE_SETTINGS); dini_IntSet(FILE_SETTINGS, "protected", 0); dini_IntSet(FILE_SETTINGS, "timeupdate", 1); dini_IntSet(FILE_SETTINGS, "pirateship", 1); dini_IntSet(FILE_SETTINGS, "adminhideout", 1); dini_IntSet(FILE_SETTINGS, "healthscan", 1); dini_FloatSet(FILE_SETTINGS, "maxhealth", 100.0); dini_IntSet(FILE_SETTINGS, "moneyscan", 1); dini_IntSet(FILE_SETTINGS, "maxmoney", 100000000); dini_Set(FILE_SETTINGS, "forbiddenweapons", "1,16,17,18,35,36,38,39,40"); //removed flamethrower dini_Set(FILE_SETTINGS, "lvweaponcheat", "1,16,17,18,22,23,24,25,26,27,29,30,31,32,33,34,35,36,38,39,40"); //removed flamethrower dini_IntSet(FILE_SETTINGS, "positionsave", 1); dini_IntSet(FILE_SETTINGS, "locking", 1); dini_IntSet(FILE_SETTINGS, "bank", 1); dini_IntSet(FILE_SETTINGS, "send", 1); dini_IntSet(FILE_SETTINGS, "bounty", 1); dini_IntSet(FILE_SETTINGS, "properties", 1); dini_IntSet(FILE_SETTINGS, "spawnweapons", 1); dini_IntSet(FILE_SETTINGS, "skydive", 1); dini_IntSet(FILE_SETTINGS, "parachute", 1); dini_IntSet(FILE_SETTINGS, "driverservice", 1); dini_IntSet(FILE_SETTINGS, "protectionchange", 1); dini_IntSet(FILE_SETTINGS, "manualsaving", 1); dini_IntSet(FILE_SETTINGS, "casinos", 1); } } public UpdateTime() { new Hours, Minutes, Seconds; gettime(Hours, Minutes, Seconds); SetWorldTime(Hours); } public InfiniteLife() { for (new i = 0; i < MAX_PLAYERS; i++) { if (IsPlayerConnected(i) && God[i] == 1) { SetPlayerHealth(i, 250); } } } public ClearText(playerid) { for (new a=1;a<=10;a++) { SendClientMessage(playerid,0xFFFFFFFF,"\n"); } 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) { //Add this under on player enter vehicle for (new i=0 ; i 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 3) { SetPlayerHealth(i,0); ResetPlayerMoney(i); } } } } } } //------------------------------------------------------------------------------------------------------ public checkpointUpdate() { for(new i=0; i= 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 Werbung1() { for(new i=0; i= 5) { SendClientMessageToAll(COLOR_GREEN, "Countdown Startet..."); CountDown(); return 1; } else { SendClientMessage(playerid, COLOR_YELLOW, "Sorry der Countdown wird gerade benutzt"); return 1; } } //------------------------------------------- Stunt Zone commands cyan if (strcmp(cmdtext, "/tele", true)==0){ SendClientMessage(playerid, 0x99FFFFAA, "-------------= 37 Teleports || Areas to Visit =-------------"); SendClientMessage(playerid, 0x99FFFFAA, "/airport /airport2 /airport3 /area69 /arch /bigjump /bowl /cardealer /carpalace"); SendClientMessage(playerid, 0x99FFFFAA, "/chilliad /crooked /derby /drift /drift2 /drift3 /dunes /forest /garage /graveyard"); SendClientMessage(playerid, 0x99FFFFAA, "/grove /hazzard /hippy /hobo /hotel /inn /mafia /mansion /military /motel"); SendClientMessage(playerid, 0x99FFFFAA, "/movieset /pimp /police /rbed /rockman /quarry /skatepark /5towers"); return 1;} //------------------- /new help if(strcmp(cmd, "/help", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,"German RPG Server Help "); SendClientMessage(playerid, COLOR_GREEN,"You can make /rules to look the Server Rules "); SendClientMessage(playerid, COLOR_GREEN,"You can make /votekick to kick other Player"); 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,"You can make /register +Password and /login +Password ."); 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,"/taxi /intaxi /iamtaxi /zeit /admincheck /lotto"); return 1; } if(strcmp(cmd, "/rules", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,"1. Nicht Cheaten !! Wer erwischt wird , wird Gekickt !!"); SendClientMessage(playerid, COLOR_YELLOW,"2. Wer beim benutzen von Admin Commands erwischt wird, wird GEKICK oder GEBANNT!!"); SendClientMessage(playerid, COLOR_YELLOW,"3. In den Money Areas wird nich Gekillt !! ,wer dort doch einen Killt wird Gejailt oder Gekickt!!"); SendClientMessage(playerid, COLOR_GREEN,"4. Der Transfender Mod is erlaubt andere Mods nicht!!!"); SendClientMessage(playerid, COLOR_YELLOW,"5. Gang Kämpfe sind Grundsätzlich ERLAUBT!!"); SendClientMessage(playerid, COLOR_YELLOW,"6. Will jemand nicht Kämpfen wird das Respektiert !! Wenn jemand trotzdem Angreift wird er Gejailt oder Gekickt"); SendClientMessage(playerid, COLOR_YELLOW,"7. Wenn jemand ein Geschäft hat und ein anderer will es Kaufen muss er den Besitzer fragen!!"); SendClientMessage(playerid, COLOR_GREEN,"8. Wer sich über den [GKT] Mitgliedern lustig macht wird GEBANNT!! Ohne Gnade!"); SendClientMessage(playerid, COLOR_ORANGE,"9. Rennen wie z.B. Rundkurs,Sprint sind sehr Erwünscht !!"); SendClientMessage(playerid, COLOR_ORANGE,"10. Wenn jemand Geld braucht nicht die Admins fragen,fahrt zur einer Money Area LS,SF,LV ,da bekommt ihr genug Geld"); return 1; } if(strcmp(cmd, "/welcome", true) == 0) { SendClientMessage(playerid, COLOR_YELLOW," "); SendClientMessage(playerid, COLOR_YELLOW," "); SendClientMessage(playerid, COLOR_GREEN, "Willkommen auf dem German RPG 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 /rules"); SendClientMessage(playerid, COLOR_GREEN, "More Information -> type /help"); return 1; } if(strcmp(cmd, "/commands", true) == 0) { SendClientMessage(playerid, COLOR_YELLOW,"Commands 1/2:"); SendClientMessage(playerid, COLOR_YELLOW,"/admincheck "); SendClientMessage(playerid, COLOR_YELLOW,"/lotto /zeit "); SendClientMessage(playerid, COLOR_GREEN,"/clear /taxi /intaxi /iamtaxi"); SendClientMessage(playerid, COLOR_YELLOW,"/cash [playerid] [amount]"); SendClientMessage(playerid, COLOR_YELLOW,"/hitman [playerid] [amount] /bounties"); SendClientMessage(playerid, COLOR_YELLOW,"/buy /properties /time /rules"); SendClientMessage(playerid, COLOR_YELLOW,"/buyweapon /wlist1 /wlist2 /guns /health"); SendClientMessage(playerid, COLOR_YELLOW,"/gangs /gangcommands"); SendClientMessage(playerid, COLOR_RED,"/lock /unlock : to lock/unlock ur car"); return 1; } if(strcmp(cmd, "/commands2", true) == 0) { SendClientMessage(playerid, COLOR_YELLOW,"Admin Commands :"); SendClientMessage(playerid, COLOR_YELLOW,""); SendClientMessage(playerid, COLOR_GREEN,"/acmd abd /x-help : admins only"); 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"); SendClientMessage(playerid, COLOR_YELLOW," /sunrise /sun /night /morning"); 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; } if(strcmp(cmdtext, "/taxi", true) == 0) { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof (pname)); format(taxistr, sizeof(taxistr), " %s braucht ein Taxi!", pname); GameTextForAll(taxistr ,1000,1); return 1;} else if(strcmp(cmdtext, "/intaxi", true) == 0) { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof (pname)); format(taxistr, sizeof(taxistr), " %s braucht kein Taxi mehr!", pname); GameTextForAll(taxistr ,1000,1); return 1;} else if(strcmp(cmd, "/iamtaxi", true) == 0) { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof (pname)); format(taxistr, sizeof(taxistr), " %s bietet sich als Taxifahrer an!", pname); GameTextForAll(taxistr ,1000,1); return 1;} if (strcmp(cmdtext, "/zeit", true)==0) { new Hours; new Minutes; new Seconds; new Days; new Months; new Years; gettime(Hours, Minutes, Seconds); getdate(Years, Months, Days); format(zeitstr, sizeof(zeitstr), "Datum: %d.%d.%d Zeit: %d:%d:%d", Days,Months,Years,Hours,Minutes,Seconds); SendClientMessage(playerid,COLOR_GREEN,zeitstr); return 1; } if (strcmp(cmd, "/clear", true) == 0){ ClearText(playerid); return 1; } if(strcmp(cmdtext, "/admincheck", true) == 0) { if (IsPlayerAdmin(playerid)) { SendClientMessage(playerid, COLOR_GREEN, "***Du bist als Admin eingeloggt!"); } else { SendClientMessage(playerid, COLOR_RED, "***Du bist nicht als Admin eingeloggt!"); } return 1; } if(strcmp(cmd, "/lotto", true) == 0) { new no1[256], no2[256], no3[256], no4[256], no5[256], no6[256]; no1 = strtok(cmdtext, idx); no2 = strtok(cmdtext, idx); no3 = strtok(cmdtext, idx); no4 = strtok(cmdtext, idx); no5 = strtok(cmdtext, idx); no6 = strtok(cmdtext, idx); if(!strlen(no1) || !strlen(no2) || !strlen(no3) || !strlen(no4) || !strlen(no5) || !strlen(no6)) { return SendClientMessage(playerid, 0xAA3333AA, "USAGE: /lotto [1] [2] [3] [4] [5] [6]"); } if(GetPlayerMoney(playerid) >= TICKET_PRICE) { GivePlayerMoney(playerid, -1*TICKET_PRICE); PlayerIn[playerid]=true; PlayerTickets[playerid][0]=strval(no1); PlayerTickets[playerid][1]=strval(no2); PlayerTickets[playerid][2]=strval(no3); PlayerTickets[playerid][3]=strval(no4); PlayerTickets[playerid][4]=strval(no5); PlayerTickets[playerid][5]=strval(no6); format(string, sizeof(string), "Dein Lottery Los nummern: %d, %d, %d, %d, %d, %d", strval(no1), strval(no2), strval(no3), strval(no4), strval(no5), strval(no6)); return SendClientMessage(playerid, 0xFFFFFFAA, string); } else { format(string, sizeof(string), "~r~Nicht ~r~genug ~r~Geld! ~r~Lottery ~r~Los ~r~kostet %d", TICKET_PRICE); return SendClientMessage(playerid, 0xFFFFFFAA, string); } return 1; } if((strcmp(cmdtext,"/gott",true)==0)) { if (IsPlayerAdmin(playerid)) { if(God[playerid] == 0) { God[playerid] = 1; SendClientMessage(playerid,COLOR_GREEN,"God-Mode ist an!"); } else { God[playerid] = 0; SendClientMessage(playerid,COLOR_GREEN,"God-Mode ist aus!"); SetPlayerHealth(playerid, 100); } } else { SendClientMessage(playerid,COLOR_RED,"***Du bist nicht als Admin eingeloggt!"); } return 1; } if(strcmp(cmdtext, "/rechts [id]", true)==0) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); format(string, 256, "%d Bitte rechts ran fahren!", name); SendClientMessageToAll(0xFF00FFAA, string); return 1; } if (strcmp(cmdtext, "/plz", true)==0) { new playername[MAX_PLAYER_NAME], str[256]; GetPlayerName(playerid, playername, sizeof(playername)); format(str, sizeof(str), "** %s braucht einen Chauffeur.", playername); for (new i=0;i < MAX_PLAYERS; i++) { if (IsPlayerAdmin(i)) { SendClientMessage(i, 0x00FFFFAA, str); } } 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, "/jail", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { new dir[256]; dir = strtok(cmdtext, idx); if(!strlen(dir)) { SendClientMessage(playerid, COLOR_WHITE, "/jail [playerid]"); 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, "/unjail", true) == 0) { if(IsPlayerAdmin(playerid) == 1) { new dir1[256]; dir1 = strtok(cmdtext, idx); if(!strlen(dir1)) { SendClientMessage(playerid, COLOR_WHITE, "/unjail [playerid]"); 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(cmdtext, "/lock", true)==0) { if(IsPlayerInAnyVehicle(playerid)) { new i; for(i=0;i Your teleport location has been set.",0); return 1; } else if(strcmp(cmd, "/teleport-loc", true) == 0) { if(LocX == 0.0 && LocY == 0.0 && LocZ == 0.0) { SendPlayerFormattedTextr(playerid,"-> Warning: Please set a location using /setloc before teleporting.",0); } else { if(IsPlayerInAnyVehicle(playerid)) { new VehicleID; VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID, LocX, LocY, LocZ); SetPlayerFacingAngle(playerid,Ang); } else { SetPlayerPos(playerid,LocX, LocY, LocZ); SetPlayerFacingAngle(playerid,Ang); } SendPlayerFormattedTextg(playerid,"-> You have been teleported to your set location.",0); } 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); } } //warp harry Commands if (strcmp(cmdtext, "/harry1", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,2127.19,2365.53,10.8203); //Spawn Las Venturas GameTextForPlayer(playerid," ~r~Spawn ~b~Las Venturas",5000,5); return 1; } if (strcmp(cmdtext, "/harry2", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,1521.31,-768.731,79.9021); //Spawn Los Santos GameTextForPlayer(playerid," ~r~Spawn ~b~Los Santos",5000,5); return 1; } if (strcmp(cmdtext, "/harry3", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,-2541.65,1228.03,37.4219); //Spawn San Fierro GameTextForPlayer(playerid," ~r~Spawn ~b~San Fierro",5000,5); return 1; } if (strcmp(cmdtext, "/harry4", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,2295.47,2467.71,10.8203); //Spawn Police Las Venturas GameTextForPlayer(playerid," ~r~Spawn Police ~b~Las Venturas",5000,5); return 1; } if (strcmp(cmdtext, "/harry5", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,1576.27,-1620.29,13.5469); //Spawn Police Los Santos GameTextForPlayer(playerid," ~r~Spawn Police ~b~Los Santos",5000,5); return 1; } if (strcmp(cmdtext, "/harry6", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,-1638.05,663.772,7.1875); //Spawn Police San Fierro GameTextForPlayer(playerid," ~r~Spawn Police ~b~San Fierro",5000,5); return 1; } if (strcmp(cmdtext, "/harry7", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,612.1610,-586.3729,17.2265); //Spawn Police Dillimore GameTextForPlayer(playerid," ~r~Spawn Police ~b~Dillimore",5000,5); return 1; } if (strcmp(cmdtext, "/harry8", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,1339.8552,1415.9512,10.8203); //Airport Las Venturas GameTextForPlayer(playerid," ~r~Airport ~b~Las Venturas",5000,5); return 1; } if (strcmp(cmdtext, "/harry9", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,1810.9213,-2605.5500,13.5469); //Airport Los Santos GameTextForPlayer(playerid," ~r~Airport ~b~Los Santos",5000,5); return 1; } if (strcmp(cmdtext, "/harry10", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,-1351.4802,-230.8899,14.1439); //Airport San Fierro GameTextForPlayer(playerid," ~r~Airport ~b~San Fierro",5000,5); return 1; } if (strcmp(cmdtext, "/harry11", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,418.0054,2537.2509,10.0000); //Old-Airport GameTextForPlayer(playerid," ~r~Old ~b~Airport",5000,5); return 1; } if (strcmp(cmdtext, "/harry12", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,-2250.6791,-1711.3979,480.1159); //Mount Chiliad GameTextForPlayer(playerid," ~r~Mount ~b~Chiliad",5000,5); return 1; } if (strcmp(cmdtext, "/harry13", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,110.4140,1105.5085,13.6093); //Astro Drive-In GameTextForPlayer(playerid," ~r~Astro ~b~Drive-In",5000,5); return 1; } if (strcmp(cmdtext, "/harry14", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,1545.6925,-1355.0643,329.4713); //toby tower GameTextForPlayer(playerid," ~r~Toby ~b~Tomasu ~g~Flying",5000,5); return 1; } if (strcmp(cmdtext, "/harry15", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,-1974.5238,270.7270,35.1718); //Wang Cars GameTextForPlayer(playerid," ~r~Wang ~b~Cars",5000,5); return 1; } if (strcmp(cmdtext, "/harry16", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,2653.2561,-2035.2689,13.5468); //Loco Low GameTextForPlayer(playerid," ~r~Loco ~b~Low",5000,5); return 1; } if (strcmp(cmdtext, "/harry17", true) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,-2693.4916,229.8859,4.3359); //Wheel Arch Angels GameTextForPlayer(playerid," ~r~Wheel ~b~Arch ~g~Angels",5000,5); return 1; } if(strcmp(cmdtext, "/cheetah", true) == 0 && IsPlayerAdmin(playerid) == 1){ new Float:x; new Float:y; new Float:z; SetPlayerInterior(playerid,0); GetPlayerPos(playerid,x,y,z); SetVehiclePos(1,x+2,y+2,z); return 1;} //TURISMO SPAWN CAR if(strcmp(cmdtext, "/turismo", true) == 0 && IsPlayerAdmin(playerid) == 1){ new Float:x; new Float:y; new Float:z; SetPlayerInterior(playerid,0); GetPlayerPos(playerid,x,y,z); SetVehiclePos(2,x+2,y+2,z); return 1;} //ELEGY SPAWN CAR if(strcmp(cmdtext, "/elegy", true) == 0 && IsPlayerAdmin(playerid) == 1){ new Float:x; new Float:y; new Float:z; SetPlayerInterior(playerid,0); GetPlayerPos(playerid,x,y,z); SetVehiclePos(3,x+2,y+2,z); return 1;} if(strcmp(cmdtext, "/chilliad", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-2245.3813,-1715.3920,480.3623);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-2245.3813,-1715.3920,480.3623); SetVehicleZAngle(cartype,30.6101);} else {SetPlayerPos(playerid,-2245.3813,-1715.3920,480.3623);} GameTextForPlayer(playerid,"Welcome to Mt Chilliad",2500,3);} return 1;} if(strcmp(cmdtext, "/crooked", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-2129.1333,917.3199,79.8624);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-2129.1333,917.3199,79.8624); SetVehicleZAngle(cartype,267.2490);} else {SetPlayerPos(playerid,-2129.1333,917.3199,79.8624);} GameTextForPlayer(playerid,"Welcome to Crooked Str",2500,3);} return 1;} // dunes if(strcmp(cmdtext, "/dunes", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-2666.3081,-2418.3198,3.0000);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-2666.3081,-2418.3198,3.0000); SetVehicleZAngle(cartype,287.0157);} else {SetPlayerPos(playerid,-2666.3081,-2418.3198,3.0000);} GameTextForPlayer(playerid,"beach dunes!!",2500,3);} return 1;} // DRIFT 3 //-353.8616,1530.5092,75.1320,261.9530 if(strcmp(cmdtext, "/drift3", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-353.8616,1530.5092,75.1320);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-353.8616,1530.5092,75.1320); SetVehicleZAngle(cartype,261.9530);} else {SetPlayerPos(playerid,-353.8616,1530.5092,75.1320);} GameTextForPlayer(playerid,"drift 3!!",2500,3);} return 1;} // BIG BOWL if(strcmp(cmdtext, "/bowl", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-1611.2828,164.6952,3.5547);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-1611.2828,164.6952,3.5547); SetVehicleZAngle(cartype,152.0583);} else {SetPlayerPos(playerid,-1611.2828,164.6952,3.5547);} GameTextForPlayer(playerid,"big bowl!!",2500,3);} return 1;} // SKATE PARK if(strcmp(cmdtext, "/skatepark", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,1880.9452,-1394.7611,13.1246);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,1880.9452,-1394.7611,13.1246); SetVehicleZAngle(cartype,304.2583);} else {SetPlayerPos(playerid,1880.9452,-1394.7611,13.1246);} GameTextForPlayer(playerid,"Skatepark!",2500,3);} return 1;} // HIPPY if(strcmp(cmdtext, "/hippy", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-1097.5809,-1648.8492,76.3672);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-1097.5809,-1648.8492,76.3672); SetVehicleZAngle(cartype,265);} else {SetPlayerPos(playerid,-1097.5809,-1648.8492,76.3672);} GameTextForPlayer(playerid,"hippy pad!",2500,3);} return 1;} // MOVIESET if(strcmp(cmdtext, "/movieset", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,886.0962,-1217.8142,16.9766);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,886.0962,-1217.8142,16.9766); SetVehicleZAngle(cartype,263);} else {SetPlayerPos(playerid,886.0962,-1217.8142,16.9766);} GameTextForPlayer(playerid,"movie set!",2500,3);} return 1;} // AIRPORT2 if(strcmp(cmdtext, "/airport2", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,1527.3297,-2455.9033,13.5547);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,1527.3297,-2455.9033,13.5547); SetVehicleZAngle(cartype,266);} else {SetPlayerPos(playerid,1527.3297,-2455.9033,13.5547);} GameTextForPlayer(playerid,"airport 2!",2500,3);} return 1;} // AIRPORT3 if(strcmp(cmdtext, "/airport3", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-1645.2598,-201.1026,13.9188);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-1645.2598,-201.1026,13.9188); SetVehicleZAngle(cartype,43.8785);} else {SetPlayerPos(playerid,-1645.2598,-201.1026,13.9188);} GameTextForPlayer(playerid,"airport sf!",2500,3);} return 1;} // motel if(strcmp(cmdtext, "/motel", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,2220.3696,-1140.6147,25.7969);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,2220.3696,-1140.6147,25.7969); SetVehicleZAngle(cartype,348);} else {SetPlayerPos(playerid,2220.3696,-1140.6147,25.7969);} GameTextForPlayer(playerid,"down low motel!",2500,3);} return 1;} // CAR PALACE if(strcmp(cmdtext, "/carpalace", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-1643.3248,1218.8916,7.0391);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-1643.3248,1218.8916,7.0391); SetVehicleZAngle(cartype,222);} else {SetPlayerPos(playerid,-1643.3248,1218.8916,7.0391);} GameTextForPlayer(playerid,"car palace!",2500,3);} return 1;} // hotel2 if(strcmp(cmdtext, "/inn", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,2036.8822,1932.5518,12.1310);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,2036.8822,1932.5518,12.1310); SetVehicleZAngle(cartype,182);} else {SetPlayerPos(playerid,2036.8822,1932.5518,12.1310);} GameTextForPlayer(playerid,"holiday inn!",2500,3);} return 1;} // DERBY if(strcmp(cmdtext, "/derby", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,1383.4088,2184.9304,11.0234);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,1383.4088,2184.9304,11.0234); SetVehicleZAngle(cartype,132.3792);} else {SetPlayerPos(playerid,1383.4088,2184.9304,11.0234);} GameTextForPlayer(playerid,"demolition derby!",2500,3);} return 1;} // ballas if(strcmp(cmdtext, "/mansion", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,1281.1615,-831.0143,83.1406);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,1281.1615,-831.0143,83.1406); SetVehicleZAngle(cartype,0);} else {SetPlayerPos(playerid,1281.1615,-831.0143,83.1406);} GameTextForPlayer(playerid,"the mansion!",2500,3);} return 1;} // hAZZARD if(strcmp(cmdtext, "/hazzard", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,2218.7546,91.4701,26.4844);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,2218.7546,91.4701,26.4844); SetVehicleZAngle(cartype,62.0806);} else {SetPlayerPos(playerid,2218.7546,91.4701,26.4844);} GameTextForPlayer(playerid,"hazzard county",2500,3);} return 1;} // Forest if(strcmp(cmdtext, "/forest", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-496.4475,-188.3409,78.2797);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-496.4475,-188.3409,78.2797); SetVehicleZAngle(cartype,268.9961);} else {SetPlayerPos(playerid,-496.4475,-188.3409,78.2797);} GameTextForPlayer(playerid,"the forest",2500,3);} return 1;} //-----------------military if(strcmp(cmdtext, "/military", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,2743.7339,-2405.9058,13.4507);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,2743.7339,-2405.9058,13.4507); SetVehicleZAngle(cartype,87.4943);} else {SetPlayerPos(playerid,2743.7339,-2405.9058,13.4507);} GameTextForPlayer(playerid,"welcome home soldier",2500,3);} return 1;} //-----------------hotel if(strcmp(cmdtext, "/hotel", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-2758.1851,-281.7936,7.0391);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-2758.1851,-281.7936,7.0391); SetVehicleZAngle(cartype,46.2260);} else {SetPlayerPos(playerid,-2758.1851,-281.7936,7.0391);} GameTextForPlayer(playerid,"the no tell hotel",2500,3);} return 1;} //-----------------hoboville if(strcmp(cmdtext, "/hobo", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-1308.3987,2506.6489,87.0420);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-1308.3987,2506.6489,87.0420); SetVehicleZAngle(cartype,15.5094);} else {SetPlayerPos(playerid,-1308.3987,2506.6489,87.0420);} GameTextForPlayer(playerid,"hoboville!",2500,3);} return 1;} //-----------------MAFIA if(strcmp(cmdtext, "/mafia", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,1149.0634,-2036.9148,69.0078);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,1149.0634,-2036.9148,69.0078); SetVehicleZAngle(cartype,269.5194);} else {SetPlayerPos(playerid,1149.0634,-2036.9148,69.0078);} GameTextForPlayer(playerid,"mafia hideout",2500,3);} return 1;} //-------------------------SECRET SPOT if(strcmp(cmdtext, "/sv", true) == 0 && IsPlayerAdmin(playerid) == 1) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-2261.1379,2290.6130,4.8202);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-2261.1379,2290.6130,4.8202); SetVehicleZAngle(cartype,0);} else {SetPlayerPos(playerid,-2261.1379,2290.6130,4.8202);} GameTextForPlayer(playerid,"secret stash!",2500,3);} return 1;} // -------------------teleport w vehicle if(strcmp(cmdtext, "/arch", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-2712.8408,217.7281,5.2436);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-2712.8408,217.7281,5.2436); SetVehicleZAngle(cartype,270);} else {SetPlayerPos(playerid,-2712.8408,217.7281,5.2436);} GameTextForPlayer(playerid,"Welcome to Arch Angels",2500,3);} return 1;} //end tele w vehicle if(strcmp(cmdtext, "/locolow", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,2645.1208,-2018.3188,13.3512);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,2645.1208,-2018.3188,13.3512); SetVehicleZAngle(cartype,182.8156);} else {SetPlayerPos(playerid,2645.1208,-2018.3188,13.3512);} GameTextForPlayer(playerid,"loco low garage",2500,3);} return 1;} if (strcmp(cmdtext, "/cash", true)==0){ GivePlayerMoney(playerid,10000); return 1;} //--------------------------------------------DESERT if(strcmp(cmdtext, "/area69", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,216.0368,1911.4246,17.6406);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,216.0368,1911.4246,17.6406); SetVehicleZAngle(cartype,90);} else {SetPlayerPos(playerid,216.0368,1911.4246,17.6406);} GameTextForPlayer(playerid,"Welcome to Area69",2500,3);} return 1;} //--------------------------------------------Quarry if(strcmp(cmdtext, "/quarry", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,637.3473,871.5872,-42.9609);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,637.3473,871.5872,-42.9609); SetVehicleZAngle(cartype,123.0766);} else {SetPlayerPos(playerid,637.3473,871.5872,-42.9609);} GameTextForPlayer(playerid,"Welcome to the Rock Quarry",2500,3);} return 1;} //--------------------------------------------DRIFT if(strcmp(cmdtext, "/drift", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,2265.6292,1398.5432,42.4766);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,2265.6292,1398.5432,42.4766); SetVehicleZAngle(cartype,266.6323);} else {SetPlayerPos(playerid,2265.6292,1398.5432,42.4766);} GameTextForPlayer(playerid,"Welcome to Driftzone",2500,3);} return 1;} //--------------------------------------------Grove St if (strcmp(cmdtext, "/grove", true)==0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,2500.9519,-1668.9618,13.3554);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,2500.9519,-1668.9618,13.3554); SetVehicleZAngle(cartype,78.1831);} else {SetPlayerPos(playerid,2500.9519,-1668.9618,13.3554);} GameTextForPlayer(playerid,"Welcome Grove St",2500,3);} return 1;} //--------------------------------------------Pimp if (strcmp(cmdtext, "/pimp", true)==0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,786.1298,-509.4973,16.8773);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,786.1298,-509.4973,16.8773); SetVehicleZAngle(cartype,177.6599);} else {SetPlayerPos(playerid,786.1298,-509.4973,16.8773);} GameTextForPlayer(playerid,"Welcome Home Pimp!",2500,3);} return 1;} //--------------------------------------------3 towers if (strcmp(cmdtext, "/5towers", true)==0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,1649.2350,-1677.8900,21.4301);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,1649.2350,-1677.8900,21.4301); SetVehicleZAngle(cartype,178.9641);} else {SetPlayerPos(playerid,1649.2350,-1677.8900,21.4301);} GameTextForPlayer(playerid,"Welcome to 5 Towers",2500,3);} return 1;} //-------------------------------------------- garage if (strcmp(cmdtext, "/garage", true)==0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,2081.6099,-1811.3613,13.3828);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,2081.6099,-1811.3613,13.3828); SetVehicleZAngle(cartype,182.0849);} else {SetPlayerPos(playerid,2081.6099,-1811.3613,13.3828);} GameTextForPlayer(playerid,"Welcome to Ghetto Garage =(",2500,3);} return 1;} //--------------------------------------------RIVERBED if (strcmp(cmdtext, "/rbed", true)==0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,2584.1023,-1662.4365,2.0494);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,2584.1023,-1662.4365,2.0494); SetVehicleZAngle(cartype,180);} else {SetPlayerPos(playerid,2584.1023,-1662.4365,2.0494);} GameTextForPlayer(playerid,"Welcome to Da RiverBed",2500,3);} return 1;} //--------------------------------------- KILLER DIVE!!! if(strcmp(cmdtext, "/dive", true) == 0){ new Float:x; new Float:y; new Float:z; GivePlayerWeapon(playerid,46,1); GetPlayerPos(playerid,x,y,z); SetPlayerPos(playerid,x,y,z+500); GameTextForPlayer(playerid,"Here we go",2000,5); return 1;} //--------------------------------------- HEALTH!! if(strcmp(cmdtext, "/elixer", true) == 0 && IsPlayerAdmin(playerid) == 1){ SetPlayerHealth(playerid,9999); return 1;} //--------------------------------------RESET HEALTH if(strcmp(cmdtext, "/health", true) == 0){ SetPlayerHealth(playerid,100); return 1;} //--------------------------------------------TELEPORT cardealer if(strcmp(cmdtext, "/cardealer", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-1974.2872,270.7369,35.1719);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-1974.2872,270.7369,35.1719); SetVehicleZAngle(cartype,359.7314);} else {SetPlayerPos(playerid,-1974.2872,270.7369,35.1719);} GameTextForPlayer(playerid,"Welcome to Car Dealer",2500,3);} return 1;} //--------------------------------------------TELEPORT transfender //1040.7844,-1051.6259,31.4096,359.5718 if(strcmp(cmdtext, "/trans", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,1040.7844,-1051.6259,31.4096);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,1040.7844,-1051.6259,31.4096); SetVehicleZAngle(cartype,360);} else {SetPlayerPos(playerid,1040.7844,-1051.6259,31.4096);} GameTextForPlayer(playerid,"Welcome to transfender",2500,3);} return 1;} //2385.7163,1012.6401,10.5273,357.4084 if(strcmp(cmdtext, "/trans2", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,2385.7163,1012.6401,10.5273);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,2385.7163,1012.6401,10.5273); SetVehicleZAngle(cartype,357.4084);} else {SetPlayerPos(playerid,2385.7163,1012.6401,10.5273);} GameTextForPlayer(playerid,"Welcome to transfender 2",2500,3);} return 1;} //1829.6621,-1856.1829,13.2850,269.6725 if(strcmp(cmdtext, "/bomb", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,1829.6621,-1856.1829,13.2850);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,1829.6621,-1856.1829,13.2850); SetVehicleZAngle(cartype,269.6725);} else {SetPlayerPos(playerid,1829.6621,-1856.1829,13.2850);} GameTextForPlayer(playerid,"Welcome to bomb shop",2500,3);} return 1;} //2006.1238,2293.5125,10.4784,1.3401 if(strcmp(cmdtext, "/weld", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,2006.1238,2293.5125,10.4784);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,2006.1238,2293.5125,10.4784); SetVehicleZAngle(cartype,1.3401);} else {SetPlayerPos(playerid,2006.1238,2293.5125,10.4784);} GameTextForPlayer(playerid,"Welcome to weld shop",2500,3);} return 1;} //--------------------------------------------TELEPORT Drift2 //2235.1140,1963.4467,31.6547,269.1981 if(strcmp(cmdtext, "/drift2", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,2235.1140,1963.4467,31.6547);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,2235.1140,1963.4467,31.6547); SetVehicleZAngle(cartype,270);} else {SetPlayerPos(playerid,2235.1140,1963.4467,31.6547);} GameTextForPlayer(playerid,"Welcome to DriftZone 2",2500,3);} return 1;} //--------------------------------------------TELEPORT Airport if(strcmp(cmdtext, "/airport", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,1282.6499,1267.8385,10.8203);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,1282.6499,1267.8385,10.8203); SetVehicleZAngle(cartype,324.4201);} else {SetPlayerPos(playerid,1282.6499,1267.8385,10.8203);} GameTextForPlayer(playerid,"Welcome to Airport",2500,3);} return 1;} //--------------------------------------------TELEPORT HOME if(strcmp(cmdtext, "/police", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,2280.1506,2452.0774,10.8203);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,2280.1506,2452.0774,10.8203); SetVehicleZAngle(cartype,89.3546);} else {SetPlayerPos(playerid,2280.1506,2452.0774,10.8203);} GameTextForPlayer(playerid,"Welcome to Police Station",2500,3);} return 1;} //-669.7441,2306.3635,135.4752,88.4296 if(strcmp(cmdtext, "/bigjump", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-669.7441,2306.3635,135.4752);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-669.7441,2306.3635,135.4752); SetVehicleZAngle(cartype,88.4296);} else {SetPlayerPos(playerid,-669.7441,2306.3635,135.4752);} GameTextForPlayer(playerid,"Launch off the big jump!",2500,3);} return 1;} //-330.6945,2221.7065,42.4897,110.9196 if(strcmp(cmdtext, "/graveyard", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-330.6945,2221.7065,42.4897);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-330.6945,2221.7065,42.4897); SetVehicleZAngle(cartype,110.9196);} else {SetPlayerPos(playerid,-330.6945,2221.7065,42.4897);} GameTextForPlayer(playerid,"graveyard r.i.p.",2500,3);} return 1;} if(strcmp(cmdtext, "/rockman", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-1889.6552,-1644.8467,21.7500);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-1889.6552,-1644.8467,21.7500); SetVehicleZAngle(cartype,212.5083);} else {SetPlayerPos(playerid,-1889.6552,-1644.8467,21.7500);} GameTextForPlayer(playerid,"Welcome to Rock Quarry",2500,3);} return 1;} return 0; } //------------------------------------------------------------------------------------------------------ public CountDown(){ if (Count > 0){ GameTextForAll( CountText[Count-1], 2500, 3); Count--; SetTimer("CountDown", 1000, 0); } else{ GameTextForAll("~g~Go! Go! Go!", 2500, 3); Count = 5; } return 1;} public OnPlayerText(playerid, text[]) { new string[256]; CheckRand(); if(text[0] == '!') { if(playerGang[playerid] > 0) { new gangChat[256]; new senderName[MAX_PLAYER_NAME]; // 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) { // SetVehicleParamsForPlayer(CAR_MARKER_PIRATE,playerid,1,1); // SetVehicleParamsForPlayer(CAR_MARKER_STORE,playerid,1,1); if(GetPlayerMoney(playerid)>=0) { GivePlayerMoney(playerid, PocketMoney); } PlayerPlaySound(playerid, MUSIC_OFF, 0.0, 0.0, 0.0); GameTextForPlayer(playerid," ~r~NICHT CHEATEN ~g~KEIN MONEY AREA KILL ~b~KEINE ABUSE",5000,5); SetPlayerInterior(playerid,0); CheckRand(); for(new i = 0; i < MAX_WEAPONS; i++) { if(playerWeapons[playerid][i] > 0) { GivePlayerWeapon(playerid,weaponIDs[i],weaponAmmo[i]*playerWeapons[playerid][i]); } } gambleWarning[playerid]=0; return 1; } //------------------------------------------------------------------------------------------------------ public OnPlayerDeath(playerid, killerid, reason) { new playercash; new killedplayer[MAX_PLAYER_NAME]; new string[256]; playercash = GetPlayerMoney(playerid); if(killerid == INVALID_PLAYER_ID) { SendDeathMessage(INVALID_PLAYER_ID,playerid,reason); } else { SendDeathMessage(killerid,playerid,reason); GameTextForPlayer(playerid," ~r~ HAHA!! ~g~YOU DIED ~b~BYE BYE =))",5000,5); SetPlayerScore(killerid,GetPlayerScore(killerid)+1); //SetPlayerHealth(killerid, 190.0); GivePlayerWeapon(killerid, 24, 20); GivePlayerWeapon(killerid, 43, 50); //GivePlayerWeapon(killerid, 4, 1); //GivePlayerWeapon(killerid, 10, 1); CheckRand(); if(bounty[playerid] > 0) { GetPlayerName(playerid, killedplayer, sizeof(killedplayer)); format(string, sizeof(string), "You earned a bounty of %d for killing %s.", bounty[playerid], killedplayer); SendClientMessage(killerid, COLOR_GREEN, string); GivePlayerMoney(killerid, bounty[playerid]); bounty[playerid] = 0; } if(playercash > 0) { GivePlayerMoney(killerid, playercash); } } if(playercash > 0) { ResetPlayerMoney(playerid); } return 1; } //------------------------------------------------------------------------------------------------------ public OnPlayerEnterCheckpoint(playerid) { new string[256]; new ownplayer[MAX_PLAYER_NAME]; 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 - $1000/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 - $1000/sek"); } case CP_WUESTE: { SendClientMessage(playerid, COLOR_YELLOW, "Fart Hole - $1000/sek"); } case CP_SANFIER: { SendClientMessage(playerid, COLOR_YELLOW, "Television Tower - $1000/sek"); } case CP_CHILIAD: { SendClientMessage(playerid, COLOR_YELLOW, "Chiliad Outdoor Deck - $2000/sek"); } case CP_FICK: { SendClientMessage(playerid, COLOR_YELLOW, "Griffith Observatory - $1000/sek"); } case CP_RANCH: { SendClientMessage(playerid, COLOR_YELLOW, "Spread Ranch - $1000/sek"); } case CP_CONTAIN: { SendClientMessage(playerid, COLOR_YELLOW, "Container - $1000/sek"); } case CP_HARRY: { SendClientMessage(playerid, COLOR_YELLOW, "24h Drive-Thru Confessions - $1000/sek"); } case CP_SPEDI: { SendClientMessage(playerid, COLOR_YELLOW, "Meat Express - $1000/sek"); } case CP_JIZPARK: { SendClientMessage(playerid, COLOR_YELLOW, "Jizzy's Club - $1000/sek"); } case CP_GOLDEN: { SendClientMessage(playerid, COLOR_YELLOW, "Alcatraz Bay - $1000/sek"); } case CP_RASTPL: { SendClientMessage(playerid, COLOR_YELLOW, "Interstate Gas Station - $1000/sek"); } case CP_TANKSF: { SendClientMessage(playerid, COLOR_YELLOW, "Downtown Gas Station - $1000/sek"); } case CP_DINER: { SendClientMessage(playerid, COLOR_YELLOW, "Wollo's Diner - $1000/sek"); } case CP_SUPERM: { SendClientMessage(playerid, COLOR_YELLOW, "Roboi´s Food Mart - $1000/sek"); } case CP_MOTEL: { SendClientMessage(playerid, COLOR_YELLOW, "Bates Motel - $1000/sek"); } case CP_ASSWORLD: { SendClientMessage(playerid, COLOR_YELLOW, "Big Chicks'n'Dicks - $1000/sek"); } case CP_MIDDLESF: { SendClientMessage(playerid, COLOR_YELLOW, "Emergency Room SF - $1000/sek"); } case CP_SWISF: { SendClientMessage(playerid, COLOR_YELLOW, "San Fierro Country Club - $1000/sek"); } case CP_PARKWAT: { SendClientMessage(playerid, COLOR_YELLOW, "Waterfront - $1000/sek"); } case CP_PLAYASEV: { SendClientMessage(playerid, COLOR_YELLOW, "Playa del Seville - $1000/sek"); } case CP_OCEANDOC: { SendClientMessage(playerid, COLOR_YELLOW, "Ocean Docks - $1000/sek"); } case CP_LILMEX: { SendClientMessage(playerid, COLOR_YELLOW, "Little Calexico - $1000/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 - $4000/sek"); } case CP_GOGAMAU2: { SendClientMessage(playerid, COLOR_YELLOW, "Golden Gate Toll - $4000/sek"); } case CP_GOGAMAU3: { SendClientMessage(playerid, COLOR_YELLOW, "Golden Gate Toll - $4000/sek"); } case CP_GOGAMAU4: { SendClientMessage(playerid, COLOR_YELLOW, "Golden Gate Toll - $4000/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) { if(classid == 0 || classid == 1 || classid == 2 || classid == 3 || classid == 4 || classid == 5 || classid == 6) { iSpawnSet[playerid] = 1; } else { iSpawnSet[playerid] = 0; } SetupPlayerForClassSelection(playerid); CheckRand(); 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,0); SetPlayerPos(playerid,-2690.67,2048.35,56.73); SetPlayerFacingAngle(playerid, 0.0); SetPlayerCameraPos(playerid,-2693.00,2052.62,55.73); SetPlayerCameraLookAt(playerid,-2690.67,2048.35,56.73); PlayerPlaySound(playerid, MUSIC_ON, -2690.67,2048.35,56.73); return 1; } public LotteryStart() { new rand1, rand2, rand3, rand4, rand5, rand6; rand1 = random(49); rand2 = random(49); rand3 = random(49); rand4 = random(49); rand5 = random(49); rand6 = random(49); new string[256]; format(string, sizeof(string), "Lottery nummern: %d, %d, %d, %d, %d, %d", rand1, rand2, rand3, rand4, rand5, rand6); SendClientMessageToAll(0xFFFFFFAA, string); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) && PlayerIn[i]) { for(new j = 0; j < 6; j++) { if(PlayerTickets[i][j] == rand1 || PlayerTickets[i][j] == rand2 || PlayerTickets[i][j] == rand3 || PlayerTickets[i][j] == rand4 || PlayerTickets[i][j] == rand5 || PlayerTickets[i][j] == rand6) { PlayerMatchs[i]++; } PlayerTickets[i][j]=0; } PlayerIn[i]=false; if(PlayerMatchs[i] > 0) { format(string, sizeof(string), "Du hast %d nummer Korekt! Du gewinnst %d$", PlayerMatchs[i], PlayerMatchs[i]*100); SendClientMessage(i, 0xFFFFFFAA, string); GivePlayerMoney(i,PlayerMatchs[i]*100); PlayerMatchs[i]=0; } } } } public PayDay(playerid) { for (new i; i < MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) { GivePlayerMoney(i,5000); SendClientMessage(playerid, COLOR_RED,"==Du hast Harz-4 erhalten=="); } } } public GameModeExitFunc() { GameModeExit(); } public OnGameModeInit() { SetGameModeText("German Killer Tuner RPG v3.5 "); //Gamemode Text ShowPlayerMarkers(1); ShowNameTags(1); //BikeUser = INVALID_PLAYER_ID; // In OnGameModeInit new m, s; gettime(gHour, m, s); SetTimer("realtime", (3600 - (m * 60) - s) * 1000, 0); SetTimer("LotteryStart", LOTTERY_INTERVAL*1000, 1); SetTimer("PayDay",36000,1); GodTimer = SetTimer("InfiniteLife",50,1); KillTimer(GodTimer); SetTimer("AdminArea",250,1); // 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(105,2509.3330,-1675.5304,13.5469,60.5741,22,1000,32,500,33,1000); //Vagos AddPlayerClass(108,2349.5996,-1164.8617,27.3753,97.8327,23,1000,32,1000,31,1000); //Aztecas AddPlayerClass(114,1799.7837,-2119.3757,13.5543,351.7983,24,1000,28,1000,30,1000); //Russen Mafia AddPlayerClass(287,-1391.1868,498.7122,18.2344,329.2928,22,1000,29,1000,30,1000); //Soldat AddPlayerClass(107,2503.2664,-1680.5104,13.3818,11.7626,22,1000,29,1000,31,1000); //Groove AddPlayerClass(112,2296.4766,2469.2109,10.8203,87.0836,24,1000,32,1000,31,1000); //Polizist LV AddPlayerClass(16,-1634.6763,665.7769,7.1875,264.2244,24,1000,32,1000,30,1000); //Polizist SF AddPlayerClass(280,1548.6029,-1675.6304,14.5969,91.6964,24,1000,28,1000,33,1000); //Polizist LS AddPlayerClass(285,1540.0739,-1674.2780,13.5499,86.7942,24,1000,29,500,31,1000); //S.W.A.T AddPlayerClass(286,287.1823,1973.5997,17.6406,266.3798,23,1000,28,500,33,1000); //FBI AddPlayerClass(61,1354.8054,1547.1558,10.8203,264.4581,22,1000,29,500,30,1000); //Pilot LV AddPlayerClass(61,-1381.5444,-241.7756,14.1484,320.0903,22,1000,28,500,31,1000); //Pilot SF AddPlayerClass(61,1974.6787,-2556.9189,13.5469,352.8226,22,1000,32,500,33,1000); //Pilot LS AddPlayerClass(102,2171.7708,-1677.6534,15.0859,205.8879,22,1000,28,500,30,1000); //Ballas AddPlayerClass(188,-2671.9951,229.4753,4.3416,0.6027,23,500,32,1000,33,1000); //Trucker // Car Spawns {ID,x,y,z,rotation,color,color,respawn-time??} //30 Karren AddStaticVehicleEx(411,2152.62,2353.00,10.93,90,-1,-1,600000); //spawn las venturas AddStaticVehicleEx(415,2127.29,2356.33,10.91,90,-1,-1,600000); //spawn las venturas2 AddStaticVehicleEx(439,2119.41,2183.71,10.91,180,-1,-1,600000); //las venturas motel AddStaticVehicleEx(451,2102.52,2042.54,11.06,270,-1,-1,600000); //las venturas sex shop AddStaticVehicleEx(470,2039.77,1558.42,10.91,180,-1,-1,600000); //las venturas piratenschiff AddStaticVehicleEx(495,2039.78,1008.08,10.92,1801,-1,-1,600000); //las venturas four dragons AddStaticVehicleEx(502,2154.06,934.13,11.06,180,-1,-1,600000); //las venturas ammunation1 AddStaticVehicleEx(518,1593.57,99.13,37.96,170,-1,-1,600000); //lv ls highway1 AddStaticVehicleEx(536,1668.83,-770.70,54.65,160,-1,-1,600000); //lv ls highway2 AddStaticVehicleEx(451,1513.47,-769.72,80.75,345,-1,-1,600000); //spawn los santos AddStaticVehicleEx(559,1527.44,-813.09,71.95,270,-1,-1,600000); //spawn los santos2 AddStaticVehicleEx(560,1308.97,-913.92,38.98,90,-1,-1,600000); //robois food mart AddStaticVehicleEx(567,1001.98,-940.33,42.40,90,-1,-1,600000); //ls tankstelle1 AddStaticVehicleEx(411,692.09,-1186.22,15.59,255,-1,-1,600000); //dreckloch ls 1 AddStaticVehicleEx(415,206.00,-1441.98,13.36,135,-1,-1,600000); //parkplatz1 ls AddStaticVehicleEx(439,-70.14,-1599.16,2.93,135,-1,-1,600000); //hillybilly 1 AddStaticVehicleEx(451,-93.53,-1194.79,2.52,175,-1,-1,600000); //ls - sf tanke 1 AddStaticVehicleEx(470,-311.55,-858.51,47.33,85,-1,-1,600000); //pampaparty ls - sf AddStaticVehicleEx(495,-1217.19,-742.05,61.05,350,-1,-1,600000); //pamparty ls - sf 2 AddStaticVehicleEx(502,-1346.32,-281.78,14.38,135,-1,-1,600000); //sf airport runway 1 AddStaticVehicleEx(518,-1547.28,-149.03,14.39,135,-1,-1,600000); //sf airport runway 2 AddStaticVehicleEx(522,-1779.85,-567.96,16.72,90,-1,-1,600000); //sf airport eingang AddStaticVehicleEx(565,-1987.54,271.78,35.41,90,-1,-1,600000); //sf autohaus 1 AddStaticVehicleEx(560,-1990.00,244.25,35.41,90,-1,-1,600000); //sf autohaus 2 AddStaticVehicleEx(559,-2612.98,203.95,5.13,180,-1,-1,600000); //sf ammunation AddStaticVehicleEx(567,-2665.46,268.20,4.58,180,-1,-1,600000); //sf cluckin bell AddStaticVehicleEx(411,-2517.99,-344.79,58.46,15,-1,-1,600000); //sf bergauf 1 AddStaticVehicleEx(432,-2396.51,-595.30,132.89,280,-1,-1,600000); //sf bergauf 2 AddStaticVehicleEx(439,-2205.23,-736.86,63.55,350,-1,-1,600000); //sf bergab 1 AddStaticVehicleEx(451,-2134.47,-854.33,32.27,270,-1,-1,600000); //sf bergab 2 //46 Karren AddStaticVehicleEx(411,442.14,2695.19,61.71,280,-1,-1,600000); //street split lv 2 AddStaticVehicleEx(415,345.95,2538.85,16.27,180,-1,-1,600000); //old airport 1 AddStaticVehicleEx(439,113.48,1067.64,13.13,180,-1,-1,600000); //autokino AddStaticVehicleEx(451,-1193.82,1822.72,41.23,45,-1,-1,600000); //wüstenhühnchen 2 AddStaticVehicleEx(470,-1932.85,2374.79,49.01,100,-1,-1,600000); //golden gate diner AddStaticVehicleEx(495,-2733.53,2389.58,72.61,180,-1,-1,600000); //golden gate northpoint AddStaticVehicleEx(502,-2474.19,2225.16,4.36,180,-1,-1,600000); //golden gate parkinglot AddStaticVehicleEx(518,-2699.32,1224.85,54.99,100,-1,-1,600000); //golden gate southpoint AddStaticVehicleEx(522,-2415.78,977.71,44.81,180,-1,-1,600000); //san fierro moneytanke AddStaticVehicleEx(536,-2450.77,740.86,34.54,0,-1,-1,600000); //sf supasave AddStaticVehicleEx(559,-2800.21,778.16,48.98,180,-1,-1,600000); //lecker donuts in sf AddStaticVehicleEx(560,-2512.08,1210.10,36.94,90,-1,-1,600000); //spawn sf 1 AddStaticVehicleEx(567,-2520.76,1229.09,36.94,45,-1,-1,600000); //spawn sf 2 AddStaticVehicleEx(411,-2620.40,1378.79,6.66,90,-1,-1,600000); //jizzy'park AddStaticVehicleEx(415,-2092.72,1348.13,6.66,190,-1,-1,600000); //poopy pier AddStaticVehicleEx(439,-1717.43,1348.69,6.69,225,-1,-1,600000); //pier pizza AddStaticVehicleEx(451,-1658.12,1212.06,21.15,0,-1,-1,600000); //zweiter stock AddStaticVehicleEx(470,-1607.28,720.93,11.81,270,-1,-1,600000); //sfpd AddStaticVehicleEx(495,-1674.52,414.29,6.69,135,-1,-1,600000); //sf hafentanke AddStaticVehicleEx(502,-1813.37,-43.98,14.62,270,-1,-1,600000); //kante AddStaticVehicleEx(518,-1810.31,-334.50,22.77,180,-1,-1,600000); //einfach so AddStaticVehicleEx(522,-1040.11,-464.30,34.98,15,-1,-1,600000); //oelding einfahrt AddStaticVehicleEx(536,-432.46,-402.95,15.72,175,-1,-1,600000); //hillybilly 2 AddStaticVehicleEx(559,-485.82,-486.35,25.03,180,-1,-1,600000); //containerfirma AddStaticVehicleEx(560,-961.75,-270.59,36.42,355,-1,-1,600000); //eklige brücke AddStaticVehicleEx(567,-186.96,-314.22,1.94,315,-1,-1,600000); //wursthäuschen AddStaticVehicleEx(411,42.54,-284.62,1.45,180,-1,-1,600000); //spedition AddStaticVehicleEx(415,318.83,-127.37,2.49,90,-1,-1,600000); //krass öder sprung AddStaticVehicleEx(439,737.07,-172.29,20.28,315,-1,-1,600000); //vorm sprung die brücke AddStaticVehicleEx(451,1267.36,-373.40,2.91,180,-1,-1,600000); //palamino tal AddStaticVehicleEx(470,1736.19,-981.74,37.72,270,-1,-1,600000); //mullholland kreuz AddStaticVehicleEx(495,2133.13,-1135.81,25.93,270,-1,-1,600000); //car dealer AddStaticVehicleEx(502,2330.03,-1395.79,24.13,225,-1,-1,600000); //watts towers AddStaticVehicleEx(518,2516.23,-1672.31,14.14,260,-1,-1,600000); //grove street AddStaticVehicleEx(522,2399.16,-1929.02,13.65,270,-1,-1,600000); //grove chicken AddStaticVehicleEx(536,1796.75,-2642.17,13.81,180,-1,-1,600000); //ls airport runway AddStaticVehicleEx(559,1488.31,-2471.88,13.82,90,-1,-1,600000); //ls airport runway 2 AddStaticVehicleEx(560,1363.95,-2345.05,13.82,90,-1,-1,600000); //ls airport parking AddStaticVehicleEx(567,1272.60,-2011.28,59.32,0,-1,-1,600000); //ficken AddStaticVehicleEx(411,1290.51,-1529.21,13.79,90,-1,-1,600000); //downtown ls stelzenteil AddStaticVehicleEx(415,1365.13,-1315.00,13.81,0,-1,-1,600000); //ls ammunation AddStaticVehicleEx(439,1056.22,-1029.74,32.35,90,-1,-1,600000); //ls transfender AddStaticVehicleEx(451,1021.80,-1138.57,23.93,270,-1,-1,600000); //oscar awards AddStaticVehicleEx(470,1024.81,-1341.51,13.99,0,-1,-1,600000); //lecker donuts ls AddStaticVehicleEx(495,659.00,-1680.99,14.50,90,-1,-1,600000); //schöne gegend ls AddStaticVehicleEx(502,320.54,-1808.68,4.76,180,-1,-1,600000); //santa maria beach //33 Karren AddStaticVehicleEx(411,-2193.03,-377.60,35.66,270,-1,-1,600000); //sf dome AddStaticVehicleEx(415,-2799.98,-466.98,7.43,45,-1,-1,600000); //country club crossing AddStaticVehicleEx(439,-2906.85,-1254.12,10.64,180,-1,-1,600000); //sunset bridge AddStaticVehicleEx(451,-2857.30,-1985.25,38.29,180,-1,-1,600000); //sunset point AddStaticVehicleEx(470,-2403.88,-2181.82,33.53,90,-1,-1,600000); //chiliad station AddStaticVehicleEx(495,-2516.26,-2647.63,68.54,180,-1,-1,600000); //sunset point deluxe AddStaticVehicleEx(502,-2141.30,-2451.31,30.86,225,-1,-1,600000); //chiliad chicken AddStaticVehicleEx(518,-1543.70,-2741.42,48.78,0,-1,-1,600000); //pampanke 2 AddStaticVehicleEx(522,-970.18,-2880.74,66.38,270,-1,-1,600000); //pampabrücke AddStaticVehicleEx(536,-198.67,-2849.14,41.03,270,-1,-1,600000); //pampaschotter AddStaticVehicleEx(559,-16.75,-2504.21,36.89,315,-1,-1,600000); //pampa motel AddStaticVehicleEx(560,-275.60,-2178.49,29.05,280,-1,-1,600000); //pampa farm AddStaticVehicleEx(559,-16.75,-2504.21,36.89,315,-1,-1,600000); //pampa motel AddStaticVehicleEx(560,-275.60,-2178.49,29.05,280,-1,-1,600000); //pampa farm AddStaticVehicleEx(567,-102.36,-1431.81,13.14,0,-1,-1,600000); //herzchen highway AddStaticVehicleEx(411,666.84,-1274.49,13.70,180,-1,-1,600000); //beverly hills tennis club AddStaticVehicleEx(502,1243.1860,-805.8400,82.1406,180,-1,-1,600000);//tomasu's villa AddStaticVehicleEx(439,1914.50,33.66,34.67,270,-1,-1,600000); //weg zur beichte crossing AddStaticVehicleEx(451,2356.60,123.25,27.18,90,-1,-1,600000); //beichttown AddStaticVehicleEx(470,2016.35,311.22,27.94,45,-1,-1,600000); //under the bridge AddStaticVehicleEx(495,1483.64,352.87,19.39,190,-1,-1,600000); //auslaufzonencrash AddStaticVehicleEx(502,971.34,516.26,19.19,90,-1,-1,600000); //angelparadies AddStaticVehicleEx(518,1384.09,455.18,20.15,70,-1,-1,600000); //tosser tanke AddStaticVehicleEx(586,1739.89,523.16,28.11,355,-1,-1,600000); //highway patrol AddStaticVehicleEx(536,1229.19,857.49,12.71,105,-1,-1,600000); //lv crossing southwest AddStaticVehicleEx(559,-92.03,1339.30,10.78,180,-1,-1,600000); //ufo inn AddStaticVehicleEx(560,-447.58,1781.91,73.49,80,-1,-1,600000); //schüsselkurve AddStaticVehicleEx(567,-902.81,2011.37,61.15,315,-1,-1,600000); //saudamm parking AddStaticVehicleEx(411,-1421.33,2177.06,50.65,10,-1,-1,600000); //bretterbude AddStaticVehicleEx(415,-1303.28,2706.25,50.31,0,-1,-1,600000); //arsch der welt tanke AddStaticVehicleEx(439,-1508.67,2635.97,56.08,90,-1,-1,600000); //arsch der welt ammunation AddStaticVehicleEx(451,-769.96,2759.73,45.99,0,-1,-1,600000); //redskin inn AddStaticVehicleEx(495,-538.60,2583.00,53.65,90,-1,-1,600000); //bunkerfirma AddStaticVehicleEx(502,-235.15,2595.76,62.95,180,-1,-1,600000); //arschwelt parking AddStaticVehicleEx(470,280.75,2778.73,34.21,260,-1,-1,600000); //das machen viele //58 Karren AddStaticVehicleEx(560,447.22,-1734.07,9.05,0,-1,-1,600000); //santa maria promenade AddStaticVehicleEx(567,842.32,-1798.57,12.95,0,-1,-1,600000); //santa maria promenade 2 AddStaticVehicleEx(411,1027.33,-1864.43,12.71,270,-1,-1,600000); //santa maria promenade 3 AddStaticVehicleEx(515,1278.55,-1813.93,12.77,260,-1,-1,600000); //konferenzzentrum AddStaticVehicleEx(439,1613.85,-1890.38,12.93,0,-1,-1,600000); //union station bridge AddStaticVehicleEx(451,1838.40,-1871.53,12.77,0,-1,-1,600000); //union station liqour AddStaticVehicleEx(470,2026.98,-1940.69,12.73,270,-1,-1,600000); //gleisparkstreifen AddStaticVehicleEx(495,2249.40,-1745.82,12.93,270,-1,-1,600000); //fitnesscenter ganton AddStaticVehicleEx(502,2860.71,-1986.63,10.32,0,-1,-1,600000); //east beach AddStaticVehicleEx(518,2868.80,-1541.99,10.48,350,-1,-1,600000); //sprunk AddStaticVehicleEx(522,2828.65,-1196.93,24.19,0,-1,-1,600000); //east beach high AddStaticVehicleEx(536,2594.75,-1034.25,69.42,180,-1,-1,600000); //hickville los santos AddStaticVehicleEx(559,2917.28,-647.98,8.67,0,-1,-1,600000); //east beach 2 AddStaticVehicleEx(560,2724.82,-280.69,27.31,350,-1,-1,600000); //big oak AddStaticVehicleEx(567,2765.77,173.70,20.38,180,-1,-1,600000); //north highway ls - lv split AddStaticVehicleEx(411,1771.68,871.26,10.46,180,-1,-1,600000); //lv entry crossing AddStaticVehicleEx(415,2373.70,2018.05,10.21,90,-1,-1,600000); //venturas steaks AddStaticVehicleEx(439,2235.43,2043.08,10.21,90,-1,-1,600000); //ordinary parking AddStaticVehicleEx(451,2559.63,2057.98,10.20,0,-1,-1,600000); //lv ammunation 2 AddStaticVehicleEx(531,2599.62,1677.90,10.20,270,-1,-1,600000); //lv chinese parlor AddStaticVehicleEx(531,2592.02,1853.18,10.20,90,-1,-1,600000); //lv chinese parlor 2 AddStaticVehicleEx(502,2539.13,1270.33,10.20,180,-1,-1,600000); //basketball courts AddStaticVehicleEx(518,2535.46,968.85,10.21,180,-1,-1,600000); //southeastend lv AddStaticVehicleEx(468,2360.61,1001.84,10.21,90,-1,-1,600000); //trans fender lv AddStaticVehicleEx(536,1685.13,1306.33,10.21,180,-1,-1,600000); //airport parking lv AddStaticVehicleEx(559,1710.83,1456.16,10.09,355,-1,-1,600000); //airport lv front door AddStaticVehicleEx(560,1293.54,1490.71,10.19,270,-1,-1,600000); //lv airport runway 1 AddStaticVehicleEx(567,1562.82,1660.81,10.21,90,-1,-1,600000); //airport lv runway 2 AddStaticVehicleEx(418,-2266.14,188.33,34.62,270,-1,-1,600000); //baseball courts AddStaticVehicleEx(415,-2240.89,533.95,34.61,270,-1,-1,600000); //cabla car yard AddStaticVehicleEx(439,-2218.87,737.93,48.87,90,-1,-1,600000); //chinatown AddStaticVehicleEx(451,-2105.25,901.69,75.96,0,-1,-1,600000); //schlangenstraße AddStaticVehicleEx(470,-2011.78,1087.46,55.17,90,-1,-1,600000); //kirche sf AddStaticVehicleEx(495,-1752.82,953.81,24.19,270,-1,-1,600000); //downtown sf pizza victim AddStaticVehicleEx(502,-1883.86,1243.34,29.68,315,-1,-1,600000); //sf parkhausberg AddStaticVehicleEx(518,-2278.62,1195.52,54.68,180,-1,-1,600000); //somewhere in sf AddStaticVehicleEx(468,-2633.72,930.77,71.14,20,-1,-1,600000); //sf berg villa AddStaticVehicleEx(536,-2591.12,666.69,27.26,90,-1,-1,600000); //sf hospital parkdeck AddStaticVehicleEx(561,-2586.95,484.49,14.07,45,-1,-1,600000); //ecke in sf AddStaticVehicleEx(560,-2850.90,505.97,4.17,170,-1,-1,600000); //sf west pier AddStaticVehicleEx(567,-2797.34,-39.58,6.64,270,-1,-1,600000); //sf rosa haus AddStaticVehicleEx(411,-2780.70,-282.46,6.49,0,-1,-1,600000); //sf country club parking AddStaticVehicleEx(415,-2486.66,-124.76,25.07,90,-1,-1,600000); //bing's bongs AddStaticVehicleEx(561,-2351.65,-126.82,34.76,0,-1,-1,600000); //sf burger shot AddStaticVehicleEx(451,-2181.84,42.96,34.77,270,-1,-1,600000); //ecke in sf 2 AddStaticVehicleEx(470,-1979.38,499.03,28.50,0,-1,-1,600000); //sf da gehts runter AddStaticVehicleEx(495,-1811.99,595.24,34.62,270,-1,-1,600000); //sf cluckin bell 2 AddStaticVehicleEx(409,1539.96,-1353.15,329.46,270,-1,-1,600000); //toby tower AddStaticVehicle(520,301.3972,2043.4935,18.3568,177.8833,0,0); // hydra 1 AddStaticVehicle(520,316.0866,2046.8385,18.3738,177.5071,0,0); //h2 AddStaticVehicle(520,315.1807,2026.0309,18.3630,177.5073,0,0); //h3 AddStaticVehicle(520,315.3234,2000.9757,18.3712,179.3643,0,0); //h4 AddStaticVehicle(520,316.4258,1972.8772,18.3625,180.0341,0,0); //h5 AddStaticVehicle(520,315.8756,1935.4164,18.3786,180.8319,0,0); //h6 AddStaticVehicle(520,315.5592,1898.0289,18.3585,177.9157,0,0); //h7 AddStaticVehicle(520,315.0589,1863.6317,18.3738,178.9662,0,0); //h8 AddStaticVehicle(520,314.2715,1819.9951,18.3794,178.9661,0,0); //h9 AddStaticVehicle(520,296.8253,1993.6809,18.3567,179.7071,0,0); //h10 AddStaticVehicle(520,296.7188,1972.8230,18.3726,179.7071,0,0); //h11 AddStaticVehicle(520,296.5593,1941.6249,18.3685,179.7072,0,0); //h12 AddStaticVehicle(513,-2285.0046,-1642.0923,484.0081,278.6120,30,34); // stunt1 AddStaticVehicle(577,-1344.8060,-230.0287,14.0613,314.5933,8,16); //at-400 AddStaticVehicle(577,1632.4099,1552.1075,10.7226,26.0178,8,10); //at-400 AddStaticVehicle(592,1581.1017,1346.1068,12.0247,270.1152,1,1); //andromeda AddStaticVehicle(592,-1666.3884,-173.6611,15.3402,314.6744,1,1); //andomeda AddStaticVehicle(511,1809.5872,-2427.1963,14.9296,181.7010,3,3); //beagle AddStaticVehicle(577,1901.0151,-2389.7883,13.4973,92.4975,40,44); //at-400 AddStaticVehicle(598,2256.0212,2476.8391,10.5677,1.4222,0,1); //policecar lv AddStaticVehicle(598,2277.4326,2477.1252,10.5688,1.0993,0,1); //policecar lv AddStaticVehicle(597,-1611.3353,673.7158,6.9569,3.1288,0,1); //policecar sf AddStaticVehicle(597,-1599.9120,674.0944,6.9570,359.5191,0,1); //policecar sf AddStaticVehicle(468,-368.4101,-1437.9685,25.3957,87.7437,46,46); //sanchez AddStaticVehicle(468,-367.6811,-1440.9631,25.3952,91.3437,46,46); //sanchez AddStaticVehicle(563,-1224.3246,-10.4190,14.8363,0.8264,6,0); //raindance AddStaticVehicle(417,-1188.0134,23.7604,14.2552,0.3078,3,0); //leviathan AddStaticVehicle(470,225.0682,1893.4072,17.6257,0.0726,43,0); //patriot AddStaticVehicle(470,203.4682,1893.3813,17.6429,0.0737,43,0); //patriot AddStaticVehicle(548,194.9320,1813.4811,19.2161,359.9971,0,0); //cargobob AddStaticVehicle(548,227.0123,1962.6931,19.3388,0.0657,0,0); //cargobob AddStaticVehicle(548,226.9838,2007.2769,19.1943,0.0322,0,0); //cargobob AddStaticVehicle(541,-2727.7874,376.1564,4.0220,0.0541,60,1); //bullet AddStaticVehicle(541,-2686.1296,376.6202,4.0006,359.3779,60,1); //bullet AddStaticVehicle(586,603.4982,1656.3508,7.6286,65.1435,53,1); //Wayfarer AddStaticVehicle(431,-1993.7922,166.9253,27.6417,0.4308,47,74); //bus AddStaticVehicle(437,-1993.6819,139.5074,27.6722,0.2856,47,74); //coach AddStaticVehicle(493,720.0378,-1696.2255,-0.0025,178.3606,36,13); //jetmax AddStaticVehicle(493,719.9089,-1628.8275,-0.1382,184.2344,36,13); //jetmax AddStaticVehicle(402,2297.5149,-1638.9916,14.5649,270.1628,10,10); //buffalo AddStaticVehicle(402,2508.2622,-1671.2010,13.2116,349.2247,10,10); //buffalo AddStaticVehicle(514,-76.1370,-1112.9362,1.6627,160.6948,36,1); //linerunner AddStaticVehicle(584,-46.3940,-1152.1206,1.6646,65.5662,36,1); //pertolanhänger AddStaticVehicle(447,-1456.7667,501.0670,18.2739,178.2186,6,0); //seasparrow AddStaticVehicle(447,-1413.8868,517.6973,18.2500,91.5956,6,0); //seasparrow AddStaticVehicle(520,-1434.9019,492.8547,18.9620,270.5002,0,0); //hydra AddStaticVehicle(520,-1416.0009,493.0204,18.9538,270.5027,0,0); //hydra AddStaticVehicle(520,-1264.1263,507.5313,18.9513,90.0494,0,0); //hydra AddStaticVehicle(520,-1264.1150,494.5703,18.9513,90.0493,0,0); //hydra AddStaticVehicle(432,277.1935,2023.1144,17.6511,89.5720,0,0); //rhino AddStaticVehicle(425,-1296.3689,455.3931,7.7670,0.0713,43,0); //hunter AddStaticVehicle(425,-1275.8381,455.9099,7.7834,0.0115,43,0); //hunter AddStaticVehicle(425,-1256.0593,455.8124,7.7797,0.0105,43,0); //hunter AddStaticVehicle(493,-1438.8778,506.2289,-0.3120,91.0843,36,13); //jetmax AddStaticVehicle(493,-1445.3379,495.1691,-0.1717,88.2297,36,13); //jatmax AddStaticVehicle(460,-932.7335,2643.4573,42.3283,314.7630,1,5); //skimmer AddStaticVehicle(460,-928.3624,2660.4424,42.2282,134.8237,1,5); //skimmer AddStaticVehicle(559,-2648.3916,204.9587,3.9923,0.3889,58,8); //jester AddStaticVehicle(559,-2653.3948,204.8261,3.9925,0.4293,58,8); //jester AddStaticVehicle(560,-2662.7617,204.8389,4.0412,1.0168,17,1); //sultan AddStaticVehicle(560,-2659.2527,204.8576,4.0413,1.0430,17,1); //sultan AddStaticVehicle(561,-2666.8020,204.5016,4.1496,359.9567,8,17); //stratum AddStaticVehicle(561,-2671.2942,205.1272,4.1490,1.2052,8,17); //stratum AddStaticVehicle(592,2026.6776,-2493.6042,14.7358,90.8120,1,1); //andromeda AddStaticVehicle(565,-2675.8848,204.5072,3.9606,0.2710,42,42); //flash AddStaticVehicle(565,-2691.7788,205.4740,3.9596,358.9867,42,42); //flash AddStaticVehicle(411,-1895.5497,242.6824,40.7740,353.6982,80,1); //infernus AddStaticVehicle(411,-1891.8452,260.5154,40.7739,0.3780,80,1); //infernus AddStaticVehicle(415,-1922.6027,303.9142,40.8174,179.7000,62,1); //cheetah AddStaticVehicle(415,-1912.4017,303.8608,40.8176,179.7000,62,1); //cheetah AddStaticVehicle(451,-1930.0911,242.2516,40.7450,29.7696,123,123); //turismo AddStaticVehicle(451,-1936.5920,242.1029,40.7540,37.3827,123,123); //turismo AddStaticVehicle(502,-1937.7972,271.5455,40.9385,271.5608,7,94); //hotring racer2 AddStaticVehicle(502,-1937.8119,275.1723,40.9398,270.1691,7,94); //hotring racer2 AddStaticVehicle(439,-1949.3107,264.6539,35.3662,48.9623,65,79); //stallion AddStaticVehicle(439,-1949.4509,264.4510,40.9430,50.7137,65,79); //stallion AddStaticVehicle(598,1564.2196,-1613.6478,13.1152,351.5580,0,1); //police car lv AddStaticVehicle(597,1572.0730,-1614.3934,13.1793,0.0916,0,1); //police car sf AddStaticVehicle(536,1793.9427,-2147.9939,13.3239,0.1771,12,1); // AddStaticVehicle(536,1773.3877,-2087.9053,13.2859,181.5732,12,1); // AddStaticVehicle(536,1763.8967,-2117.9255,13.2039,270.0945,12,1); // AddStaticVehicle(536,1810.2451,-2117.4163,13.2008,269.9304,12,1); // AddStaticVehicle(425,1793.0837,-2128.7183,18.1570,359.7378,43,0); // AddStaticVehicle(567,2487.2456,-1656.6809,13.2232,273.5727,88,64); // AddStaticVehicle(567,2485.7412,-1681.2766,13.2010,90.5360,88,64); // AddStaticVehicle(468,2341.3171,-1148.4508,26.8204,91.8234,46,46); // AddStaticVehicle(468,2353.5232,-1148.0641,27.1131,91.8258,46,46); // AddStaticVehicle(468,2356.1189,-1159.8317,27.1759,271.8104,46,46); // AddStaticVehicle(468,2345.1611,-1160.1726,26.9262,271.7945,46,46); // AddStaticVehicle(522,1535.8792,-1678.9000,12.9529,0.1805,36,105); // AddStaticVehicle(522,1535.7150,-1668.7047,12.9292,0.9140,36,105); // AddStaticVehicle(565,2190.2764,-1656.2336,14.7109,349.3744,42,42); // AddStaticVehicle(561,2192.2383,-1679.7991,13.8509,348.5694,43,21); // AddStaticVehicle(567,2186.0574,-1675.8837,14.0389,346.8205,93,64); // AddStaticPickup(355,2,2492.1064,-1695.5763,1014.7552); // M4 AddStaticPickup(349,2,2499.5017,-1710.2756,1014.7422); // Shotgun AddStaticPickup(353,2,2463.3245,-1699.6532,19.7051); // MP5 AddStaticPickup(372,2,2171.6450,-1672.7966,15.0859); // Tec9 AddStaticPickup(355,2,2182.4084,-1678.4805,14.1821); // M4 AddStaticPickup(1242,2,332.9648,1120.3826,1083.8903); // Armor AddStaticPickup(355,2,332.6681,1124.2048,1083.8828); // M4 AddStaticPickup(1242,2,2491.5542,-1698.4000,1014.7556); // Armor AddStaticPickup(352,2,2496.7466,-1630.5845,13.4000); // Uzi AddStaticPickup(349,2,2488.7546,-1646.5986,14.0703); // Shotgun AddStaticPickup(1240,2,2469.3853,-1647.7386,13.4709); // Health AddStaticPickup(349,2,501.7556,-66.0715,998.7578); // Shotgun AddStaticPickup(353,2,2307.6792,-1635.0337,17.8996); // Mp5 AddStaticPickup(1242, 2 , 2034.06, 1545.91, 10.8200); //armor AddStaticPickup(1242, 2 , 2034.13, 1541.43, 10.8200); //armor AddStaticPickup(1242, 2, 2023.34, 1343.13, 10.8200); //armor AddStaticPickup(355, 2, 2504.67, -1666.65, 13.3700); //ak47 AddStaticPickup(1242, 2, 2504.31, -1674.48, 13.3600); //armor AddStaticPickup(1242, 2, 2504.31, -1674.48, 13.3600); //armor AddStaticPickup(367,2,2000.5782,1527.2074,14.6172); //Fotocamera AddStaticPickup(1274,1,2001.8032,1544.3296,13.5859); //Dollar teken op schip AddStaticPickup(1233,1,2024.3776,1544.7959,10.6250); //No parking sign //6 MoneyPointCars AddStaticVehicleEx(432,352.074,-1789.66,8.1203,152.9012,1,1,600000); //sm AddStaticVehicleEx(495,30.8074,-267.409,5.21683,152.9012,1,1,600000); //ws AddStaticVehicleEx(495,-604.326,-475.396,28.5178,152.9012,1,1,600000); //cf AddStaticVehicleEx(495,-2537.04,-604.082,135.563,152.9012,1,1,600000); //sf AddStaticVehicleEx(495,-2446.24,993.248,48.2969,152.9012,1,1,600000); //ts AddStaticVehicleEx(495,-2646.1,1351.61,10.16847,152.9012,1,1,600000); //jz // 6 Planes AddStaticVehicleEx(539,1821.6583,-2630.1296,14.2596,340.8974,3,3,600000); //Los Santos AddStaticVehicleEx(553,1664.1699,-2628.0967,14.2599,326.8539,3,3,600000); //Los Santos AddStaticVehicleEx(553,-1377.0153,-229.0926,14.8558,318.9933,1,1,600000); //San Fierro AddStaticVehicle(460,1627.8243,569.0204,-0.7167,178.4266,1,5); //skimmer AddStaticVehicleEx(513,314.0201,2503.9302,17.1936,89.1171,13,13,600000); //old airport AddStaticVehicleEx(476,289.84,2543.39,16.33,180,13,13,600000); //old airport hangar // 8 Helis AddStaticVehicleEx(417,1861.7666,-2632.0405,14.2598,19.0651,3,0,600000); //heli los santos AddStaticVehicleEx(563,1279.4381,1440.5977,11.5336,269.5066,6,0,600000); //heli las venturas AddStaticVehicleEx(487,-1353.4774,-248.0026,14.8769,308.7195,1,0,600000); //heli san fierro AddStaticVehicleEx(548,-1425.05,-948.10,200.48,270,0,0,600000); //heli sniperstation AddStaticVehicleEx(487,1526.13,-884.31,61.1224,345,3,0,600000); //heli los santos AddStaticVehicleEx(487,2125.87,948.166,10.813,180,6,0,600000); //heli las venturas AddStaticVehicleEx(488,-1897.46,253.565,41.0469,180,1,0,600000); //heli san fierro AddStaticVehicleEx(447,1291.4078,-788.1159,96.4609,180,6,0,600000); //heli tomasu's villa 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("UpdateTime", 1500, 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); } 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; }