Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * VIP Systém v6
- * © 2008 - 2012 by Denis 'QWER' Granec
- * "Prišiel som, Videl som, Vyhral som..."
- * "Najvačší okamžik života je úspech"
- *
- * Licencia MIT
- *
- * SVK:
- *
- * Užívateľ získava neobmedzené právo kopírovať, používať a
- * modifikovať program, redistribuovať modifikované verzie
- * programu za predpokladu uvedenia autora a informácií o licencii,
- * spolu s upozornením na zrieknutie sa zodpovednosti za dielo.
- * Prijatím tejto licencie sa užívateľ vzdá práva na podanie žaloby
- * na správcu kódu.
- *
- * ANG:
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
- //============ INCLUDE
- #include <a_samp>
- //============ DEFINE
- #define SCM SendClientMessage
- #define SCMTA SendClientMessageToAll
- #define WEB "www.blackshadows.4fan.cz"
- // BRONZE , SILVER , GOLD
- #define LEVELS 0 // ak chceš levely, nastav 1 ak chceš iba 1 level, nechaj 0
- #define ZAKAZANE_AUTA 1 // ak chceš zakáza? autá ako "tank,hydra,hunter" tak nechaj 1 ak ich chceš povoli?, nastav 0
- #define DIALOG_NEON 667
- #define DIALOG_SUNGLASS 668
- #define DIALOG_CAPS 669
- #define DIALOG_BACKCAPS 700
- #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
- #define MAX_STRING 256
- #define COLOR_RED 0xFF0000AA
- #define COLOR_GREEN 0x40FF40FF
- #define COLOR_DARKGREEN 0x33AA33AA
- #define COLOR_PINK 0xFF40FFFF
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_VIOLET 0xEE82EEFF
- #define COLOR_DARKVIOLET 0x9400D3FF
- #define COLOR_DARKRED 0x8B0000FF
- #define COLOR_LIGHTBLUE 0x00FFFFAA
- #define COLOR_ORANGE 0xFFA500FF
- #define COLOR_DARKORANGE 0xFF8C00FF
- #define COLOR_BLUE 0x0000BBAA
- #define COLOR_GREY 0xAFAFAFAA
- #define WHITE 0xFFFFFFAA
- #define COLOR_BLACK 0x00000000
- #define COLOR_MODRA 0x0000BBAA
- #define COLOR_MODRA2 0x4682B4AA
- #define COLOR_MODRA3 0x4169FFAA
- #define COLOR_SVMODRA 0x33CCFFAA
- #define COLOR_ZELENA 0x008000AA
- #define COLOR_CYAN 0x00FFFFAA
- #define COLOR_TMAVACYAN 0x008B8BAA
- #define COLOR_BILA 0xFFFFFFAA
- #define COLOR_ZLUTA 0xFFFF00AA
- #define COLOR_HNEDA 0xA52A2AAA
- #define COLOR_HNEDA2 0xBC8F8FAA
- #define COLOR_COKOLADA 0xD2691EAA
- #define COLOR_CERVENA 0xFF0000AA
- #define COLOR_SEDA 0x808080AA
- #define COLOR_FIALOVA 0x800080AA
- #define COLOR_RUZOVA 0xFFC0CBAA
- #define COLOR_CHARTR 0x7FFF00AA
- #define COLOR_ORANZCERV 0xFF4500AA
- #define COLOR_ORANZOVA 0xFF8C00AA
- #define COLOR_CIERNA 0x0B0606AA
- #define COLOR_SYSTEM 0xEFEFF7AA
- #define COLOR_GOLD 0xffd700AA
- //============ PRAGMA
- #pragma tabsize 0
- #undef MAX_PLAYERS
- #define MAX_PLAYERS 70
- //============ NEWS
- new bool:ZAKAZ;
- new bool:kokos[MAX_PLAYERS];
- new Menu:Farby;
- new Neon1[MAX_PLAYERS] = {-1,...};
- new Neon2[MAX_PLAYERS] = {-1,...};
- new Sunglass[MAX_PLAYERS] = {-1,...};
- new Caps[MAX_PLAYERS] = {-1,...};
- new RemoveTime[MAX_PLAYERS];
- new autacky[15][MAX_PLAYERS];
- new vip[MAX_PLAYERS];
- new bool:message[MAX_PLAYERS];
- new bool:VIPZBRANE[MAX_PLAYERS];
- new Text3D:vehicletext[MAX_PLAYERS];
- new bool:pozicia[MAX_PLAYERS];
- new bool:heal[MAX_PLAYERS];
- new bool:many[MAX_PLAYERS];
- new bool:zbrane[MAX_PLAYERS];
- new bool:nnitro[MAX_PLAYERS];
- new bool:vload[MAX_PLAYERS];
- new bool:afkspam[MAX_PLAYERS];
- new bool:flashcar[MAX_PLAYERS];
- new bool:flashnick[MAX_PLAYERS];
- new Float:xx[MAX_PLAYERS];
- new Float:yy[MAX_PLAYERS];
- new Float:zz[MAX_PLAYERS];
- new bool:vgoto[MAX_PLAYERS];
- new AFK[MAX_PLAYERS];
- new flasht1[MAX_PLAYERS];
- new flasht2[MAX_PLAYERS];
- new Float:GlassSkins[300][7] = {
- {0.098771, 0.030772, -0.000335, 85.342658, 84.122947, 4.236968 }, // - 0
- {0.100766, 0.028630, -0.003521, 87.936676, 82.110870, 4.236968 }, // - 1
- {0.083712, 0.033132, -0.003521, 87.936676, 82.110870, 4.236968 }, // - 2
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 3
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 4
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 5
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 6
- {0.090066, 0.043458, -0.006523, 87.936676, 82.110870, 4.236968 }, // - 7
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 8
- {0.070977, 0.028663, 0.000147, 81.164970, 92.128402, 4.236968 }, // - 9
- {0.072317, 0.032179, -0.002934, 86.843269, 84.196006, 4.236968 }, // - 10
- {0.072317, 0.035465, -0.002201, 86.843269, 84.196006, 4.236968 }, // - 11
- {0.072317, 0.028100, -0.002201, 86.843269, 84.196006, 4.236968 }, // - 12
- {0.076569, 0.028100, -0.002201, 86.843269, 84.196006, 4.236968 }, // - 13
- {0.091310, 0.049169, -0.002201, 86.843269, 84.196006, 4.236968 }, // - 14
- {0.073734, 0.006292, -0.002755, 86.843269, 84.196006, 4.236968 }, // - 15
- {0.092845, 0.040331, 0.000183, 86.843269, 82.864280, 4.236968 }, // - 16
- {0.088241, 0.030184, -0.000157, 86.843269, 82.864280, 4.236968 }, // - 17
- {0.061677, 0.029596, -0.007398, 86.843269, 82.864280, 4.236968 }, // - 18
- {0.079911, 0.029596, -0.002934, 86.843269, 82.864280, 4.236968 }, // - 19
- {0.095079, 0.029596, -0.001718, 85.261871, 86.296562, 4.236968 }, // - 20
- {0.093728, 0.042083, -0.005781, 85.261871, 81.636192, 4.236968 }, // - 21
- {0.079585, 0.042083, -0.005781, 85.261871, 81.636192, 4.236968 }, // - 22
- {0.090786, 0.041737, -0.005263, 85.261871, 81.636192, 4.236968 }, // - 23
- {0.085247, 0.026941, -0.000317, 85.261871, 81.636192, 4.236968 }, // - 24
- {0.081646, 0.031448, -0.001113, 89.393653, 81.665985, 4.236968 }, // - 25
- {0.083700, 0.033814, -0.001960, 86.436462, 81.665985, 4.236968 }, // - 26
- {0.092498, 0.037321, -0.001960, 86.436462, 85.568023, 4.236968 }, // - 27
- {0.097068, 0.041360, -0.007881, 86.771400, 85.568023, 4.236968 }, // - 28
- {0.083456, 0.050595, 0.001011, 86.771400, 77.201461, 4.236968 }, // - 29
- {0.076983, 0.047168, -0.006161, 86.771400, 74.329719, 4.236968 }, // - 30
- {0.083798, 0.042184, -0.001869, 86.771400, 83.181861, 4.236968 }, // - 31
- {0.053021, -0.000587, -0.001869, 86.771400, 66.859710, 4.236968 },// - 32
- {0.034386, 0.013324, -0.001869, 86.771400, 80.314460, 4.236968 }, // - 33
- {0.104669, 0.037365, -0.001403, 86.771400, 87.178382, 4.236968 }, // - 34
- {0.102659, 0.037465, -0.000829, 86.771400, 93.020492, 4.236968 }, // - 35
- {0.107638, 0.037465, -0.000829, 86.771400, 93.020492, 4.236968 }, // - 36
- {0.107638, 0.035879, -0.000829, 86.771400, 93.020492, 4.236968 }, // - 37
- {0.107638, 0.041106, -0.000829, 86.771400, 93.020492, 4.236968 }, // - 38
- {0.080326, 0.035634, -0.000829, 86.771400, 93.020492, 4.236968 }, // - 39
- {0.080326, 0.027371, -0.000829, 86.771400, 93.020492, 4.236968 }, // - 40
- {0.084617, 0.039613, -0.001620, 86.771400, 93.020492, 4.236968 }, // - 41
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 42
- {0.040075, 0.025445, -0.000974, 86.771400, 92.964149, 4.236968 }, // - 43
- {0.077369, 0.028469, -0.000974, 86.771400, 78.435791, 4.236968 }, // - 44
- {0.064145, 0.028684, -0.000974, 86.771400, 84.762802, 4.236968 }, // - 45
- {0.091993, 0.056559, -0.000974, 86.771400, 84.762802, 4.236968 }, // - 46
- {0.084582, 0.051277, -0.005034, 86.771400, 84.762802, 4.236968 }, // - 47
- {0.092182, 0.042095, -0.003533, 86.771400, 84.762802, 4.236968 }, // - 48
- {0.086866, 0.032203, -0.001021, 86.771400, 84.762802, 4.236968 }, // - 49
- {0.099350, 0.009422, -0.005899, 86.771400, 84.762802, 4.236968 }, // - 50
- {0.099350, 0.030598, -0.005899, 86.771400, 84.762802, 4.236968 }, // - 51
- {0.099350, 0.030598, -0.003575, 86.771400, 84.762802, 4.236968 }, // - 52
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 53
- {0.079123, 0.030598, -0.003575, 86.771400, 84.762802, 4.236968 }, // - 54
- {0.063159, 0.029641, -0.003575, 86.771400, 84.762802, 4.236968 }, // - 55
- {0.070293, 0.029641, -0.000570, 86.771400, 84.762802, 4.236968 }, // - 56
- {0.111305, 0.045368, -0.000570, 86.771400, 84.458084, 4.236968 }, // - 57
- {0.084901, 0.020965, -0.000570, 86.771400, 79.542411, 4.236968 }, // - 58
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 59
- {0.090164, 0.044163, -0.004754, 86.771400, 79.542411, 4.236968 }, // - 60
- {0.087151, 0.041447, -0.000885, 90.928329, 89.598678, 0.000000 }, // - 61
- {0.094350, 0.041447, 0.005717, 90.928329, 89.598678, 0.000000 }, // - 62
- {0.075534, 0.041447, -0.001751, 90.928329, 89.598678, 0.000000 }, // - 63
- {0.075534, 0.041447, -0.001751, 90.928329, 89.598678, 0.000000 }, // - 64
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 65
- {0.104148, 0.034787, 0.001341, 90.928329, 89.598678, 0.000000 }, // - 66
- {0.104148, 0.034787, 0.001341, 90.928329, 89.598678, 0.000000 }, // - 67
- {0.087317, 0.039646, -0.004032, 90.928329, 89.598678, 0.000000 }, // - 68
- {0.074873, 0.039646, -0.003072, 90.928329, 89.598678, 0.000000 }, // - 69
- {0.090391, 0.042364, 0.005494, 90.928329, 89.598678, 0.000000 }, // - 70
- {0.090391, 0.022298, -0.001170, 90.928329, 89.598678, 0.000000 }, // - 71
- {0.090391, 0.039580, -0.001170, 90.928329, 89.598678, 0.000000 }, // - 72
- {0.090391, 0.038224, -0.001170, 90.928329, 89.598678, 0.000000 }, // - 73
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 74
- {0.083113, 0.038224, -0.001170, 90.928329, 89.598678, 0.000000 }, // - 75
- {0.072957, 0.028956, -0.001170, 90.928329, 89.598678, 0.000000 }, // - 76
- {0.069398, 0.039981, -0.001170, 90.928329, 89.598678, 0.000000 }, // - 77
- {0.105738, 0.010001, 0.004508, 90.928329, 79.030494, 0.000000 }, // - 78
- {0.078264, 0.019668, 0.004508, 90.928329, 79.030494, 0.000000 }, // - 79
- {0.087377, 0.022096, -0.001993, 90.928329, 79.030494, 0.000000 }, // - 80
- {0.087377, 0.022096, -0.001635, 90.928329, 79.030494, 0.000000 }, // - 81
- {0.100623, 0.043063, -0.001635, 90.928329, 87.672645, 0.000000 }, // - 82
- {0.092528, 0.027493, -0.001635, 90.928329, 87.672645, 0.000000 }, // - 83
- {0.102086, 0.027493, -0.001635, 90.928329, 87.672645, 0.000000 }, // - 84
- {0.081954, 0.041672, -0.001635, 90.928329, 87.672645, 0.000000 }, // - 85
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 86
- {0.077010, 0.046925, -0.003438, 90.928329, 91.590301, 0.000000 }, // - 87
- {0.069952, 0.042635, -0.003438, 90.928329, 86.722587, 0.000000 }, // - 88
- {0.093827, 0.019258, -0.003438, 90.928329, 86.722587, 0.000000 }, // - 89
- {0.066464, 0.035685, -0.000843, 90.928329, 86.722587, 0.000000 }, // - 90
- {0.066464, 0.035685, -0.000843, 90.928329, 86.722587, 0.000000 }, // - 91
- {0.066464, 0.038135, -0.000843, 90.928329, 86.722587, 0.000000 }, // - 92
- {0.066464, 0.038135, -0.001690, 90.928329, 86.722587, 0.000000 }, // - 93
- {0.048124, 0.010598, -0.001690, 90.928329, 86.722587, 0.000000 }, // - 94
- {0.084997, 0.006773, -0.001690, 90.928329, 86.722587, 0.000000 }, // - 95
- {0.100076, 0.026633, -0.001690, 90.928329, 80.020179, 0.000000 }, // - 96
- {0.061686, 0.027537, -0.001690, 90.928329, 80.020179, 0.000000 }, // - 97
- {0.098318, 0.053993, -0.001690, 90.928329, 89.237678, 0.000000 }, // - 98
- {0.098318, 0.033702, -0.001690, 90.928329, 89.237678, 0.000000 }, // - 99
- {0.086149, 0.042526, -0.001690, 90.928329, 77.587478, 0.000000 }, // - 100
- {0.081864, 0.030555, -0.001690, 90.928329, 78.145759, 0.000000 }, // - 101
- {0.081864, 0.047914, -0.005079, 90.928329, 78.145759, 0.000000 }, // - 102
- {0.089607, 0.036717, -0.005079, 90.928329, 78.145759, 0.000000 }, // - 103
- {0.079655, 0.042021, -0.005079, 90.928329, 78.145759, 0.000000 }, // - 104
- {0.091779, 0.037620, -0.005079, 90.928329, 78.145759, 0.000000 }, // - 105
- {0.084179, 0.035251, -0.005079, 90.928329, 78.145759, 0.000000 }, // - 106
- {0.089387, 0.040297, -0.006006, 90.928329, 78.145759, 0.000000 }, // - 107
- {0.081930, 0.030756, 0.001523, 90.928329, 78.145759, 0.000000 }, // - 108
- {0.092857, 0.043070, -0.006084, 90.928329, 85.326652, 0.000000 }, // - 109
- {0.092857, 0.043070, -0.006084, 90.928329, 85.326652, 0.000000 }, // - 110
- {0.106601, 0.028021, -0.003537, 90.928329, 90.217376, 0.000000 }, // - 111
- {0.096335, 0.015873, -0.003537, 90.928329, 90.217376, 0.000000 }, // - 112
- {0.105827, 0.046620, -0.001395, 90.928329, 90.217376, 0.000000 }, // - 113
- {0.097520, 0.044296, -0.007286, 90.928329, 90.217376, 0.000000 }, // - 114
- {0.097408, 0.043470, -0.007286, 90.928329, 90.217376, 0.000000 }, // - 115
- {0.092588, 0.049832, -0.007286, 90.928329, 90.217376, 0.000000 }, // - 116
- {0.081444, 0.037602, -0.003125, 90.928329, 90.217376, 0.000000 }, // - 117
- {0.078678, 0.037602, -0.001816, 90.928329, 90.217376, 0.000000 }, // - 118
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 119
- {0.089214, 0.029291, -0.000784, 90.928329, 84.624763, 0.000000 }, // - 120
- {0.086825, 0.033424, -0.000784, 90.928329, 77.233818, 0.000000 }, // - 121
- {0.082869, 0.030783, -0.000950, 90.928329, 77.233818, 0.000000 }, // - 122
- {0.096117, 0.048957, -0.006245, 90.928329, 87.579650, 0.000000 }, // - 123
- {0.103663, 0.040022, 0.000449, 90.928329, 87.579650, 0.000000 }, // - 124
- {0.099326, 0.031202, -0.001180, 90.928329, 87.579650, 0.000000 }, // - 125
- {0.099326, 0.031132, -0.001180, 90.928329, 87.579650, 0.000000 }, // - 126
- {0.099326, 0.039279, -0.001180, 90.928329, 87.579650, 0.000000 }, // - 127
- {0.099326, 0.047422, -0.001180, 90.928329, 87.579650, 0.000000 }, // - 128
- {0.088817, 0.021210, 0.000730, 90.928329, 87.579650, 0.000000 }, // - 129
- {0.025784, 0.028323, 0.000730, 90.928329, 59.394767, 0.000000 }, // - 130
- {0.068455, 0.031841, -0.004470, 90.928329, 79.979003, 0.000000 }, // - 131
- {0.012930, 0.008392, -0.004470, 90.928329, 72.129173, 0.000000 }, // - 132
- {0.102457, 0.032260, -0.003338, 90.928329, 84.534217, 0.000000 }, // - 133
- {0.085976, 0.014956, -0.003338, 90.928329, 80.308830, 0.000000 }, // - 134
- {0.071574, 0.028186, -0.001588, 90.928329, 80.308830, 0.000000 }, // - 135
- {0.085219, 0.016666, -0.000738, 90.928329, 80.308830, 0.000000 }, // - 136
- {0.065114, 0.009318, -0.000738, 90.928329, 80.308830, 0.000000 }, // - 137
- {0.066890, 0.040024, -0.000738, 90.928329, 87.341934, 0.000000 }, // - 138
- {0.072037, 0.036141, -0.000702, 90.928329, 87.341934, 0.000000 }, // - 139
- {0.069108, 0.042194, -0.000436, 90.928329, 87.341934, 0.000000 }, // - 140
- {0.058717, 0.043547, -0.000436, 90.928329, 87.209770, 0.000000 }, // - 141
- {0.104196, 0.039601, -0.005481, 90.928329, 87.209770, 0.000000 }, // - 142
- {0.090929, 0.045881, -0.012780, 90.928329, 87.209770, 0.000000 }, // - 143
- {0.098291, 0.042464, -0.006952, 90.928329, 83.081665, 0.000000 }, // - 144
- {0.080087, 0.030122, 0.000606, 90.928329, 83.081665, 0.000000 }, // - 145
- {0.093500, 0.030690, -0.001545, 90.928329, 83.081665, 0.000000 }, // - 146
- {0.079566, 0.020138, 0.004838, 90.928329, 73.715591, 0.000000 }, // - 147
- {0.073564, 0.028430, -0.000527, 90.928329, 88.295433, 0.000000 }, // - 148
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 149
- {0.073564, 0.028430, -0.000527, 90.928329, 88.295433, 0.000000 }, // - 150
- {0.083426, 0.032359, -0.005717, 90.928329, 88.295433, 0.000000 }, // - 151
- {0.072349, 0.019623, -0.000747, 90.928329, 82.624351, 0.000000 }, // - 152
- {0.075065, 0.015351, 0.006545, 90.928329, 71.041442, 0.000000 }, // - 153
- {0.062227, 0.029731, -0.004938, 90.928329, 84.602760, 0.000000 }, // - 154
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 155
- {0.079936, 0.049000, -0.000304, 90.928329, 82.926010, 0.000000 }, // - 156
- {0.067550, 0.035686, -0.000017, 90.928329, 82.926010, 0.000000 }, // - 157
- {0.090676, 0.039383, -0.001726, 90.928329, 88.667900, 0.000000 }, // - 158
- {0.090676, 0.039383, -0.003532, 90.928329, 88.667900, 0.000000 }, // - 159
- {0.098662, 0.017441, -0.001589, 90.928329, 88.667900, 0.000000 }, // - 160
- {0.105388, 0.038409, 0.003155, 90.928329, 88.667900, 0.000000 }, // - 161
- {0.097415, 0.036904, -0.000525, 90.928329, 88.667900, 0.000000 }, // - 162
- {0.088934, 0.023302, -0.004153, 90.928329, 80.393875, 0.000000 }, // - 163
- {0.088934, 0.023302, -0.004153, 90.928329, 80.393875, 0.000000 }, // - 164
- {0.087018, 0.051364, 0.000484, 90.928329, 94.584838, 0.000000 }, // - 165
- {0.087018, 0.051364, 0.000484, 90.928329, 94.584838, 0.000000 }, // - 166
- {0.095996, 0.038787, 0.000484, 90.928329, 84.315711, 0.000000 }, // - 167
- {0.089094, 0.034001, -0.006451, 90.928329, 84.315711, 0.000000 }, // - 168
- {0.075700, 0.028082, -0.006451, 90.928329, 84.315711, 0.000000 }, // - 169
- {0.093751, 0.041968, -0.005545, 90.928329, 84.315711, 0.000000 }, // - 170
- {0.090124, 0.031055, -0.000505, 90.928329, 84.315711, 0.000000 }, // - 171
- {0.066033, 0.032915, -0.002713, 90.928329, 84.315711, 0.000000 }, // - 172
- {0.088287, 0.045350, -0.005384, 90.928329, 84.315711, 0.000000 }, // - 173
- {0.087750, 0.042129, -0.005384, 90.928329, 84.315711, 0.000000 }, // - 174
- {0.092384, 0.039294, -0.005384, 90.928329, 84.315711, 0.000000 }, // - 175
- {0.097661, 0.039065, -0.006344, 90.928329, 80.736480, 0.000000 }, // - 176
- {0.097114, 0.039641, -0.006692, 90.928329, 80.736480, 0.000000 }, // - 177
- {0.069354, 0.039641, -0.000474, 90.928329, 80.736480, 0.000000 }, // - 178
- {0.091414, 0.039641, -0.005617, 90.928329, 80.736480, 0.000000 }, // - 179
- {0.094914, 0.039641, -0.005617, 90.928329, 80.736480, 0.000000 }, // - 180
- {0.117232, 0.033217, -0.001099, 90.928329, 82.396362, 0.000000 }, // - 181
- {0.082569, 0.032748, -0.003248, 90.928329, 87.394371, 0.000000 }, // - 182
- {0.095527, 0.027237, -0.001960, 90.928329, 86.443649, 0.000000 }, // - 183
- {0.095527, 0.040994, -0.006878, 90.928329, 86.443649, 0.000000 }, // - 184
- {0.085663, 0.030601, -0.002345, 90.928329, 81.496513, 0.000000 }, // - 185
- {0.085663, 0.030601, -0.001015, 90.928329, 81.496513, 0.000000 }, // - 186
- {0.076527, 0.027211, 0.008500, 90.928329, 74.401092, 0.000000 }, // - 187
- {0.096669, 0.032578, 0.001662, 90.928329, 83.502502, 0.000000 }, // - 188
- {0.098753, 0.032129, -0.001659, 90.928329, 90.153724, 0.000000 }, // - 189
- {0.092821, 0.035572, -0.001659, 90.928329, 90.153724, 0.000000 }, // - 190
- {0.092821, 0.035572, -0.001132, 90.928329, 90.153724, 0.000000 }, // - 191
- {0.092821, 0.035572, -0.001132, 90.928329, 90.153724, 0.000000 }, // - 192
- {0.092821, 0.035572, -0.001132, 90.928329, 90.153724, 0.000000 }, // - 193
- {0.092821, 0.035572, -0.001132, 90.928329, 90.153724, 0.000000 }, // - 194
- {0.092821, 0.035572, -0.001132, 90.928329, 90.153724, 0.000000 }, // - 195
- {0.092821, 0.035572, -0.001132, 90.928329, 90.153724, 0.000000 }, // - 196
- {0.100630, 0.020568, -0.001132, 90.928329, 90.153724, 0.000000 }, // - 197
- {0.077905, 0.028523, 0.000000, 89.675476, 89.270309, 0.000000 }, // - 198
- {0.099095, 0.022463, 0.000000, 89.675476, 89.270309, 0.000000 }, // - 199
- {0.103182, 0.031106, 0.000000, 89.675476, 89.270309, 0.000000 }, // - 200
- {0.078426, 0.038546, 0.000000, 89.675476, 89.270309, 0.000000 }, // - 201
- {0.101092, 0.035797, -0.002997, 89.675476, 82.081153, 0.000000 }, // - 202
- {0.092009, 0.042780, -0.005841, 89.675476, 84.463294, 0.000000 }, // - 203
- {0.092009, 0.042780, -0.005841, 89.675476, 84.463294, 0.000000 }, // - 204
- {0.092969, 0.027782, -0.002959, 89.675476, 84.463294, 0.000000 }, // - 205
- {0.105109, 0.036128, -0.000471, 89.675476, 84.463294, 0.000000 }, // - 206
- {0.066892, 0.024410, -0.002792, 89.675476, 84.463294, 0.000000 }, // - 207
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 208
- {0.084046, 0.013608, -0.002792, 89.675476, 81.667831, 0.000000 }, // - 209
- {0.084046, 0.013608, -0.001034, 89.675476, 81.667831, 0.000000 }, // - 210
- {0.067610, 0.033777, -0.001034, 89.675476, 85.214485, 0.000000 }, // - 211
- {0.094159, 0.020717, 0.000715, 89.675476, 85.214485, 0.000000 }, // - 212
- {0.098744, 0.036786, -0.001770, 89.675476, 85.214485, 0.000000 }, // - 213
- {0.068755, 0.036786, -0.001770, 89.675476, 85.214485, 0.000000 }, // - 214
- {0.068755, 0.026863, -0.001770, 89.675476, 85.214485, 0.000000 }, // - 215
- {0.068755, 0.026863, -0.001770, 89.675476, 85.214485, 0.000000 }, // - 216
- {0.095765, 0.030034, -0.001770, 89.675476, 85.214485, 0.000000 }, // - 217
- {0.085486, 0.039427, -0.003311, 89.675476, 85.214485, 0.000000 }, // - 218
- {0.068874, 0.027850, -0.001021, 89.675476, 85.214485, 0.000000 }, // - 219
- {0.052931, 0.050390, -0.002062, 89.675476, 88.113647, 0.000000 }, // - 220
- {0.094479, 0.034432, 0.000875, 89.675476, 83.572830, 0.000000 }, // - 221
- {0.094479, 0.034432, -0.000596, 89.675476, 83.572830, 0.000000 }, // - 222
- {0.094479, 0.062073, -0.003098, 89.675476, 83.572830, 0.000000 }, // - 223
- {0.064458, 0.029760, -0.001460, 89.675476, 83.572830, 0.000000 }, // - 224
- {0.064458, 0.029760, -0.001460, 89.675476, 83.572830, 0.000000 }, // - 225
- {0.072095, 0.029760, -0.001460, 89.675476, 83.572830, 0.000000 }, // - 226
- {0.110619, 0.043037, -0.001466, 89.675476, 86.927627, 0.000000 }, // - 227
- {0.099446, 0.050772, -0.001466, 89.675476, 85.103805, 0.000000 }, // - 228
- {0.078635, 0.023680, -0.000275, 89.675476, 73.445220, 0.000000 }, // - 229
- {0.043357, 0.028726, -0.000275, 89.675476, 73.445220, 0.000000 }, // - 230
- {0.092488, 0.049972, -0.000275, 89.675476, 88.981941, 0.000000 }, // - 231
- {0.092488, 0.016739, -0.000275, 89.675476, 88.981941, 0.000000 }, // - 232
- {0.071677, 0.037055, -0.002878, 89.675476, 88.981941, 0.000000 }, // - 233
- {0.082745, 0.004209, -0.002878, 89.675476, 88.981941, 0.000000 }, // - 234
- {0.057909, 0.021331, -0.002878, 89.675476, 88.981941, 0.000000 }, // - 235
- {0.079016, 0.021331, -0.000419, 89.675476, 77.678733, 0.000000 }, // - 236
- {0.074572, 0.021331, -0.000419, 89.675476, 84.527442, 0.000000 }, // - 237
- {0.074572, 0.038346, -0.001500, 89.675476, 84.527442, 0.000000 }, // - 238
- {0.111645, 0.011549, 0.006237, 89.675476, 84.527442, 0.000000 }, // - 239
- {0.090766, 0.044221, -0.000423, 89.675476, 89.461883, 0.000000 }, // - 240
- {0.069491, 0.049021, -0.000423, 89.675476, 89.461883, 0.000000 }, // - 241
- {0.059706, 0.031911, -0.000423, 89.675476, 89.461883, 0.000000 }, // - 242
- {0.065242, 0.031911, -0.000423, 89.675476, 89.461883, 0.000000 }, // - 243
- {0.065242, 0.051077, -0.001103, 89.675476, 89.461883, 0.000000 }, // - 244
- {0.082393, 0.038233, 0.000410, 89.675476, 89.461883, 0.000000 }, // - 245
- {0.079338, 0.044859, -0.002535, 89.675476, 89.461883, 0.000000 }, // - 246
- {0.101566, 0.037019, 0.000750, 89.675476, 83.514060, 0.000000 }, // - 247
- {0.091887, 0.047776, -0.000040, 89.675476, 83.514060, 0.000000 }, // - 248
- {0.089745, 0.044044, 0.004071, 89.675476, 83.514060, 0.000000 }, // - 249
- {0.094214, 0.044044, -0.007274, 89.675476, 83.514060, 0.000000 }, // - 250
- {0.072282, 0.044044, -0.001468, 89.675476, 90.444763, 0.000000 }, // - 251
- {0.095764, 0.034224, -0.000264, 89.675476, 82.959915, 0.000000 }, // - 252
- {0.087454, 0.026208, -0.000264, 89.675476, 82.959915, 0.000000 }, // - 253
- {0.099198, 0.037362, -0.000264, 89.675476, 82.959915, 0.000000 }, // - 254
- {0.070845, 0.019943, 0.003505, 89.675476, 73.529716, 0.000000 }, // - 255
- {0.065373, 0.033656, -0.001141, 89.675476, 83.002151, 0.000000 }, // - 256
- {0.070077, 0.033656, -0.001141, 89.675476, 83.002151, 0.000000 }, // - 257
- {0.089536, 0.041904, 0.000715, 89.675476, 83.002151, 0.000000 }, // - 258
- {0.084822, 0.041904, 0.000715, 89.675476, 83.002151, 0.000000 }, // - 259
- {0.093009, 0.031491, -0.001568, 89.675476, 83.002151, 0.000000 }, // - 260
- {0.093009, 0.015023, -0.001477, 89.675476, 83.002151, 0.000000 }, // - 261
- {0.076580, 0.039782, -0.001477, 89.675476, 88.620780, 0.000000 }, // - 262
- {0.076580, 0.028967, -0.001477, 89.675476, 88.620780, 0.000000 }, // - 263
- {0.075424, 0.043059, -0.001477, 89.675476, 88.620780, 0.000000 }, // - 264
- {0.089655, 0.021726, -0.001477, 89.675476, 88.620780, 0.000000 }, // - 265
- {0.096792, 0.014114, -0.003062, 89.675476, 85.166038, 0.000000 }, // - 266
- {0.094886, 0.024989, -0.003184, 89.675476, 85.166038, 0.000000 }, // - 267
- {0.094886, 0.024989, -0.003184, 89.675476, 85.166038, 0.000000 }, // - 268
- {0.102252, 0.024989, -0.003184, 89.675476, 85.166038, 0.000000 }, // - 269
- {0.102252, 0.024989, 0.000529, 89.675476, 85.166038, 0.000000 }, // - 270
- {0.096134, 0.025462, 0.000529, 89.675476, 79.225112, 0.000000 }, // - 271
- {0.099226, 0.032663, 0.000529, 89.675476, 79.225112, 0.000000 }, // - 272
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 273
- {0.089833, 0.022466, -0.001590, 89.675476, 88.636062, 0.000000 }, // - 274
- {0.089833, 0.022466, -0.001590, 89.675476, 88.636062, 0.000000 }, // - 275
- {0.089833, 0.022466, -0.001590, 89.675476, 88.636062, 0.000000 }, // - 276
- {0.082718, 0.062596, -0.000201, 89.675476, 88.636062, 0.000000 }, // - 277
- {0.082718, 0.062596, -0.000201, 89.675476, 88.636062, 0.000000 }, // - 278
- {0.087652, 0.059379, -0.000201, 89.675476, 88.636062, 0.000000 }, // - 279
- {0.087652, 0.023702, -0.003091, 89.675476, 88.636062, 0.000000 }, // - 280
- {0.087652, 0.023702, -0.003091, 89.675476, 88.636062, 0.000000 }, // - 281
- {0.090877, 0.026643, -0.003091, 89.675476, 88.636062, 0.000000 }, // - 282
- {0.090877, 0.026643, -0.003091, 89.675476, 88.636062, 0.000000 }, // - 283
- {0.090877, 0.053674, 0.009879, 89.675476, 88.636062, 0.000000 }, // - 284
- {0.104320, 0.041487, 0.008021, 89.675476, 88.636062, 0.000000 }, // - 285
- {0.087062, 0.021779, -0.003307, 89.675476, 88.636062, 0.000000 }, // - 286
- {0.073173, 0.048856, 0.005337, 89.675476, 92.561180, 0.000000 }, // - 287
- {0.090294, 0.027592, -0.003497, 89.675476, 92.561180, 0.000000 }, // - 288
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, // - 289
- {0.086562, 0.042698, -0.000612, 89.675476, 92.561180, 0.000000 }, // - 290
- {0.096768, 0.039233, -0.000612, 89.675476, 83.550270, 0.000000 }, // - 291
- {0.079939, 0.020731, -0.005162, 89.675476, 83.550270, 0.000000 }, // - 292
- {0.097107, 0.027826, -0.005162, 89.675476, 88.505996, 0.000000 }, // - 293
- {0.097107, 0.037636, 0.000618, 89.675476, 88.505996, 0.000000 }, // - 294
- {0.079985, 0.035006, -0.000826, 89.675476, 87.533462, 0.000000 }, // - 295
- {0.088445, 0.024209, -0.002076, 89.675476, 73.285072, 0.000000 }, // - 296
- {0.094039, 0.035411, 0.000490, 89.675476, 84.277572, 0.000000 }, // - 297
- {0.099553, 0.024683, -0.002919, 89.675476, 84.277572, 0.000000 }, // - 298
- {0.099553, 0.044356, -0.000285, 89.675476, 84.277572, 0.000000 } // - 299
- };
- new Float: CapsSkins[299][6] = {
- {0.135928, 0.002891, -0.008518, 0.000000, 0.000000, 347.188201},//Skin - 0
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 1
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 2
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 3
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 4
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 5
- {0.155785, 0.005998, -0.014326, 0.000000, 0.000000, 347.188201},//Skin - 6
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 7
- {0.131067, -0.013737, -0.008518, 0.000000, 0.000000, 347.188201},//Skin - 8
- {0.118922, -0.015322, -0.008518, 0.000000, 0.000000, 347.188201},//Skin - 9
- {0.125779, -0.001459, -0.008518, 0.000000, 0.000000, 347.188201},//Skin - 10
- {0.129249, -0.014101, -0.008518, 0.000000, 0.000000, 347.188201},//Skin - 11
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 12
- {0.161076, -0.015624, -0.006768, 0.000000, 0.000000, 347.188201},//Skin - 13
- {0.112204, -0.023196, -0.006768, 0.000000, 0.000000, 347.188201},//Skin - 14
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 15
- {0.150166, -0.008718, -0.006768, 0.000000, 0.000000, 347.188201},//Skin - 16
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 17
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 18
- {0.153609, -0.003207, -0.007717, 0.000000, 0.000000, 357.608825},//Skin - 19
- {0.143831, 0.001813, -0.010588, 0.000000, 0.000000, 357.608825}, //Skin - 20
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 21
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 22
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 23
- {0.127352, 0.009877, -0.006845, 0.726156, 359.666778, 348.825012},//Skin - 24
- {0.124666, -0.029373, -0.006845, 0.726156, 359.666778, 329.940704},//Skin - 25
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 26
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 27
- {0.128768, 0.041474, -0.007667, 0.726156, 359.666778, 355.429199}, //Skin - 28
- {0.166457, -0.006228, -0.012669, 0.726156, 359.666778, 354.612152},//Skin - 29
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 30
- {0.096077, -0.023233, -0.009101, 0.726156, 359.666778, 343.094055},//Skin - 31
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 32
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 33
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 34
- {0.155565, 0.014400, -0.009101, 0.726156, 359.666778, 6.131487}, //Skin - 35
- {0.156485, 0.013641, -0.009101, 0.726156, 359.666778, 6.131487}, //Skin - 36
- {0.144815, 0.013641, -0.009374, 0.726156, 359.666778, 350.562103}, //Skin - 37
- {0.113347, -0.006682, -0.009374, 0.726156, 359.666778, 350.562103},//Skin - 38
- {0.147231, -0.014448, -0.004786, 0.726156, 359.666778, 357.303253},//Skin - 39
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 40
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 41
- {0.082446, 0.004202, -0.004786, 0.726156, 359.666778, 357.303253}, //Skin - 42
- {0.104901, 0.004013, -0.004786, 0.726156, 359.666778, 342.983184}, //Skin - 43
- {0.116172, -0.001954, -0.004786, 0.726156, 359.666778, 357.100677},//Skin - 44
- {0.153321, 0.025744, -0.008666, 0.726156, 359.666778, 10.704365}, //Skin - 45
- {0.160556, 0.007781, -0.010438, 0.726156, 359.666778, 0.991972}, //Skin - 46
- {0.179010, -0.035613, -0.010438, 0.726156, 359.666778, 347.956573},//Skin - 47
- {0.123363, 0.008694, -0.010438, 0.726156, 359.666778, 347.956573}, //Skin - 48
- {0.167061, -0.037899, -0.010438, 0.726156, 359.666778, 347.775817},//Skin - 49
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 50
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 51
- {0.129040, 0.016069, -0.010438, 0.726156, 359.666778, 347.775817}, //Skin - 52
- {0.129040, 0.016069, -0.006084, 0.726156, 359.666778, 347.775817}, //Skin - 53
- {0.137743, -0.016369, -0.011731, 0.726156, 359.666778, 355.812011},//Skin - 54
- {0.137743, -0.016369, -0.011731, 0.726156, 359.666778, 355.812011},//Skin - 55
- {0.174539, -0.000662, -0.007289, 0.726156, 359.666778, 352.847045},//Skin - 56
- {0.109382, -0.002955, -0.007289, 0.726156, 359.666778, 352.847045},//Skin - 57
- {0.152276, -0.029331, -0.008357, 0.726156, 359.666778, 332.070648},//Skin - 58
- {0.129599, -0.019172, -0.012204, 0.726156, 359.666778, 332.070648},//Skin - 59
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 60
- {0.130350, 0.000897, -0.000747, 0.726156, 359.666778, 332.070648}, //Skin - 61
- {0.150659, -0.035485, -0.006299, 0.726156, 359.666778, 341.617431},//Skin - 62
- {0.119340, -0.006483, -0.006299, 0.726156, 359.666778, 341.617431},//Skin - 63
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 64
- {0.133055, -0.000092, -0.006299, 0.726156, 359.666778, 341.617431},//Skin - 65
- {0.129061, -0.006499, -0.006299, 0.726156, 359.666778, 341.617431},//Skin - 66
- {0.127292, 0.010318, -0.006299, 0.726156, 359.666778, 341.617431}, //Skin - 67
- {0.138791, -0.025311, -0.006299, 0.726156, 359.666778, 341.617431},//Skin - 68
- {0.148132, 0.003970, -0.002304, 0.726156, 359.666778, 340.120025}, //Skin - 69
- {0.129753, 0.006469, -0.006376, 0.726156, 359.666778, 354.029815}, //Skin - 70
- {0.125663, 0.015428, -0.006376, 0.726156, 359.666778, 354.029815}, //Skin - 71
- {0.125663, 0.015428, -0.009030, 0.726156, 359.666778, 354.029815}, //Skin - 72
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 73
- {0.135729, -0.018656, -0.013554, 0.000000, 0.000000, 337.893737}, //Skin - 74
- {0.141888, -0.042810, -0.006206, 0.000000, 0.000000, 337.893737}, //Skin - 75
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 76
- {0.124348, -0.017813, -0.006206, 0.000000, 0.000000, 346.786865}, //Skin - 77
- {0.124348, 0.000583, -0.006206, 0.000000, 0.000000, 346.786865}, //Skin - 78
- {0.102654, -0.010906, -0.006206, 0.000000, 0.000000, 346.786865}, //Skin - 79
- {0.102654, -0.010906, -0.006206, 0.000000, 0.000000, 346.786865}, //Skin - 81
- {0.167928, 0.031601, -0.006206, 0.000000, 0.000000, 17.955888}, //Skin - 82
- {0.159998, 0.023540, -0.006206, 0.000000, 0.000000, 17.955888}, //Skin - 83
- {0.169630, 0.019315, -0.006206, 0.000000, 0.000000, 17.955888}, //Skin - 84
- {0.163052, -0.039735, -0.006206, 0.000000, 0.000000, 341.169891}, //Skin - 85
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 86
- {0.144811, -0.007521, -0.014207, 0.000000, 0.000000, 341.169891}, //Skin - 87
- {0.129932, -0.007521, -0.007289, 0.000000, 0.000000, 341.169891}, //Skin - 88
- {0.151147, -0.038608, -0.009597, 0.000000, 0.000000, 343.694549}, //Skin - 89
- {0.147416, -0.031632, -0.009597, 0.000000, 0.000000, 343.694549}, //Skin - 90
- {0.157728, -0.009677, -0.009597, 0.000000, 0.000000, 0.934848}, //Skin - 91
- {0.136577, -0.015592, -0.009597, 0.000000, 0.000000, 341.013824}, //Skin - 92
- {0.143821, 0.000631, -0.008385, 0.000000, 0.000000, 358.808868}, //Skin - 93
- {0.100521, 0.003151, -0.007624, 0.000000, 0.000000, 358.808868}, //Skin - 94
- {0.122833, -0.006031, -0.007624, 0.000000, 0.000000, 358.808868}, //Skin - 95
- {0.145296, 0.003959, -0.007624, 0.000000, 0.000000, 358.808868}, //Skin - 96
- {0.141658, 0.016474, -0.007624, 0.000000, 0.000000, 9.683902}, //Skin - 97
- {0.145276, -0.002846, -0.007624, 0.000000, 0.000000, 340.239593}, //Skin - 98
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 99
- {0.161745, -0.010244, -0.007624, 0.000000, 0.000000, 351.499267}, //Skin - 100
- {0.151006, -0.030994, -0.005366, 0.000000, 0.000000, 340.428894}, //Skin - 101
- {0.147111, 0.003794, -0.012433, 0.000000, 0.000000, 358.069244}, //Skin - 102
- {0.154213, -0.052348, -0.003511, 356.299316, 0.000000, 336.751647},//Skin - 103
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 104
- {0.153814, -0.039614, -0.006756, 356.299316, 0.000000, 336.930084},//Skin - 105
- {0.153638, -0.039614, -0.013630, 356.299316, 0.000000, 336.930084},//Skin - 106
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 107
- {0.140473, -0.026201, -0.000469, 0.390689, 355.405181, 335.554260},//Skin - 108
- {0.140904, -0.007227, -0.008114, 0.390689, 355.405181, 335.554260},//Skin - 109
- {0.140904, -0.007227, -0.008114, 0.390689, 355.405181, 335.554260},//Skin - 110
- {0.134860, 0.001485, -0.010145, 0.390689, 358.632415, 347.730010},//Skin - 111
- {0.124823, 0.001485, -0.009402, 0.390689, 358.632415, 347.730010},//Skin - 112
- {0.157999, -0.012039, -0.006082, 0.390689, 358.632415, 347.730010},//Skin - 113
- {0.144906, -0.005139, -0.009654, 0.390689, 358.632415, 336.830108},//Skin - 114
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 116
- {0.152829, -0.009735, -0.009654, 0.390689, 358.632415, 336.830108},//Skin - 117
- {0.113804, 0.009252, -0.009654, 0.390689, 358.632415, 345.244384},//Skin - 118
- {0.113804, 0.009252, -0.009654, 0.390689, 358.632415, 345.244384},//Skin - 119
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin -120
- {0.154275, -0.037484, -0.009654, 0.390689, 358.632415, 337.676666},//Skin - 121
- {0.155674, -0.015613, -0.004339, 0.390689, 358.632415, 350.571228},//Skin - 122
- {0.136433, -0.019181, -0.004339, 0.390689, 358.632415, 340.261840},//Skin - 123
- {0.163258, -0.032386, -0.013128, 0.390689, 358.632415, 340.261840},//Skin - 124
- {0.153242, -0.029651, -0.002434, 0.390689, 358.632415, 333.367614},//Skin - 125
- {0.127978, -0.001961, -0.008867, 0.390689, 358.632415, 347.279052},//Skin - 126
- {0.160856, -0.025356, -0.004428, 0.390689, 358.632415, 347.279052},//Skin - 127
- {0.150266, -0.009032, -0.006781, 0.390689, 358.632415, 347.223754},//Skin - 128
- {0.158060, 0.022907, -0.006781, 0.390689, 358.632415, 349.378875},//Skin - 129
- {0.111739, 0.012673, -0.006781, 0.390689, 358.632415, 349.378875},//Skin - 130
- {0.091638, -0.011600, -0.008686, 0.390689, 358.632415, 336.674468},//Skin - 131
- {0.125788, 0.000635, -0.005915, 0.390689, 358.632415, 343.007751},//Skin - 132
- {0.031324, -0.014154, -0.005915, 0.390689, 358.632415, 343.007751},//Skin - 133
- {0.142321, 0.015417, -0.005915, 0.243191, 358.632415, 350.329559},//Skin - 133
- {0.128780, -0.030750, 0.006687, 173.184967, 358.632415, 27.422966},//Skin - 134
- {0.115882, -0.004931, -0.003807, 358.837646, 358.632415, 346.206237},//Skin - 135
- {0.127531, -0.008916, -0.003807, 358.837646, 358.632415, 346.206237},//Skin - 136
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 137
- {0.148992, -0.017748, -0.006509, 358.837646, 358.632415, 350.742156},//Skin - 138
- {0.148992, -0.017748, -0.006509, 358.837646, 358.632415, 350.742156},//Skin - 139
- {0.147315, 0.001708, -0.006509, 358.837646, 358.632415, 354.390045},//Skin - 140
- {0.144315, -0.013571, -0.006509, 358.837646, 358.632415, 354.390045},//Skin - 141
- {0.144315, -0.002729, -0.010357, 358.837646, 358.632415, 354.390045},//Skin - 142
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 143
- {0.177516, -0.070868, -0.009114, 358.837646, 358.632415, 331.679321},//Skin - 144
- {0.139578, -0.008750, -0.004405, 358.837646, 358.632415, 343.319335},//Skin - 145
- {0.139578, -0.014406, -0.004405, 358.837646, 358.632415, 343.319335},//Skin - 146
- {0.115592, -0.010754, -0.004405, 358.837646, 358.632415, 343.319335},//Skin - 147
- {0.150735, -0.000459, -0.004405, 358.837646, 358.632415, 9.362450},//Skin - 148
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 149
- {0.149485, -0.008709, -0.006168, 358.837646, 358.632415, 2.276566},//Skin - 150
- {0.168162, -0.009708, -0.012160, 359.504821, 4.442328, 355.348114},//Skin - 151
- {0.156369, -0.024521, -0.012160, 359.504821, 0.415596, 355.348114},//Skin - 152
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 153
- {0.119297, -0.016080, -0.010776, 359.504821, 0.415596, 341.522827},//Skin - 154
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 155
- {0.172295, -0.065549, -0.007187, 359.504821, 0.415596, 336.175567},//Skin - 156
- {0.126340, -0.030764, -0.007187, 359.504821, 0.415596, 336.175567},//Skin - 157
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 158
- {0.154280, 0.002166, -0.010436, 359.504821, 0.415596, 357.792144},//Skin - 159
- {0.121469, -0.007383, -0.010436, 359.504821, 0.415596, 341.538574},//Skin - 160
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 161
- {0.139495, -0.007383, -0.010436, 359.504821, 0.415596, 341.538574},//Skin - 162
- {0.113212, -0.005302, -0.010436, 359.504821, 0.415596, 341.538574},//Skin - 163
- {0.120208, 0.003533, -0.010436, 359.504821, 0.415596, 341.538574},//Skin - 164
- {0.135111, 0.005091, -0.006407, 359.504821, 0.415596, 352.954559},//Skin - 165
- {0.122118, 0.005091, -0.006407, 359.504821, 0.415596, 352.954559},//Skin - 166
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 167
- {0.125229, 0.005091, -0.013084, 359.504821, 0.415596, 352.954559},//Skin - 168
- {0.153451, -0.018119, -0.013276, 359.504821, 0.415596, 358.219451},//Skin - 169
- {0.141395, -0.009131, -0.013276, 359.504821, 0.415596, 347.866027},//Skin - 170
- {0.157631, -0.028753, -0.006450, 359.504821, 0.415596, 339.935516},//Skin - 171
- {0.152687, -0.027057, -0.007731, 359.504821, 0.415596, 344.054809},//Skin - 172
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 173
- {0.165146, 0.015393, -0.007731, 359.504821, 0.415596, 344.001678},//Skin - 174
- {0.162788, -0.019696, -0.007731, 359.504821, 0.415596, 344.001678},//Skin - 175
- {0.157728, -0.027188, -0.012891, 359.504821, 0.415596, 345.804748},//Skin - 176
- {0.187507, 0.010472, -0.012891, 359.504821, 0.415596, 12.315887},//Skin - 177
- {0.153901, -0.027720, -0.007884, 359.504821, 0.415596, 344.553527},//Skin - 178
- {0.137445, -0.009757, -0.012987, 359.504821, 0.415596, 344.553527},//Skin - 179
- {0.173041, -0.006323, -0.012987, 359.504821, 0.415596, 3.267552},//Skin - 180
- {0.143467, 0.016897, -0.007831, 359.504821, 0.415596, 349.504974},//Skin - 181
- {0.114480, 0.006202, -0.007831, 359.504821, 0.415596, 349.504974},//Skin - 182
- {0.114480, 0.008813, -0.007831, 359.504821, 0.415596, 349.504974},//Skin - 183
- {0.128122, -0.012152, -0.013144, 359.504821, 0.415596, 336.326538},//Skin - 184
- {0.156171, 0.007268, -0.013144, 359.504821, 0.415596, 10.805211},//Skin - 185
- {0.156409, -0.034861, -0.007927, 359.504821, 0.415596, 336.978668},//Skin - 186
- {0.118034, -0.024105, -0.002947, 359.504821, 0.415596, 336.978668},//Skin - 187
- {0.128686, -0.029632, -0.002947, 358.201873, 0.415596, 329.325042},//Skin - 188
- {0.172639, -0.026749, -0.012705, 358.201873, 0.415596, 349.092590},//Skin - 189
- {0.180897, -0.026749, -0.007224, 358.201873, 0.415596, 349.092590},//Skin - 190
- {0.180897, -0.026749, -0.007224, 358.201873, 0.415596, 349.092590},//Skin - 191
- {0.178725, -0.010278, -0.007224, 358.201873, 0.415596, 354.053405},//Skin - 192
- {0.172020, -0.010278, -0.010734, 358.201873, 0.415596, 354.053405},//Skin - 193
- {0.172020, -0.010278, -0.010734, 358.201873, 0.415596, 354.053405},//Skin - 194
- {0.176089, -0.032526, -0.005110, 358.201873, 0.415596, 341.814422},//Skin - 195
- {0.118042, 0.007002, -0.005110, 358.201873, 0.415596, 341.814422},//Skin - 196
- {0.143840, -0.042712, -0.007556, 358.201873, 0.415596, 341.814422},//Skin - 197
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 198
- {0.148060, -0.032384, -0.009754, 358.201873, 0.415596, 333.484924},//Skin - 199
- {0.148060, -0.032384, -0.009754, 358.201873, 0.415596, 333.484924},//Skin - 200
- {0.140799, 0.025145, -0.009754, 358.201873, 0.415596, 5.040688},//Skin - 201
- {0.140799, 0.015851, -0.009754, 358.201873, 0.415596, 349.796478},//Skin - 202
- {0.140799, -0.004372, -0.013685, 358.201873, 0.415596, 349.796478},//Skin - 203
- {0.154274, 0.006245, -0.013685, 358.201873, 0.415596, 2.035465},//Skin - 204
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 205
- {0.154274, 0.016669, -0.013685, 358.201873, 0.415596, 2.035465},//Skin - 206
- {0.106604, 0.004805, -0.011840, 358.201873, 0.415596, 2.035465},//Skin - 207
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 208
- {0.148378, -0.003807, -0.011840, 358.201873, 0.415596, 2.035465},//Skin - 209
- {0.113854, 0.001969, -0.011840, 358.201873, 0.415596, 343.826263},//Skin - 210
- {0.149539, -0.028623, -0.009621, 358.201873, 0.415596, 331.587280},//Skin - 211
- {0.104024, -0.014549, -0.009621, 358.201873, 0.415596, 331.587280},//Skin - 212
- {0.145820, -0.029160, -0.009621, 358.201873, 0.415596, 331.587280},//Skin - 213
- {0.148646, -0.008515, -0.009621, 358.201873, 0.415596, 1.360260},//Skin - 214
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 215
- {0.148646, -0.005935, -0.004058, 358.201873, 0.415596, 1.360260},//Skin - 216
- {0.148646, -0.015611, -0.004058, 358.201873, 0.415596, 340.374938},//Skin - 217
- {0.133952, -0.030138, -0.009880, 358.201873, 0.415596, 340.374938},//Skin - 218
- {0.140503, -0.033425, -0.005693, 358.201873, 0.415596, 340.374938},//Skin - 219
- {0.114608, 0.009020, -0.009135, 358.201873, 0.415596, 352.932006},//Skin - 220
- {0.186516, -0.044762, -0.009135, 358.201873, 0.415596, 344.217132},//Skin - 221
- {0.186516, -0.044762, -0.009135, 358.201873, 0.415596, 344.217132},//Skin - 222
- {0.179908, -0.010779, -0.009135, 358.201873, 0.415596, 344.217132},//Skin - 223
- {0.156689, -0.015437, -0.009135, 358.201873, 0.415596, 352.741638},//Skin - 224
- {0.156689, -0.015437, -0.009135, 358.201873, 0.415596, 352.741638},//Skin - 225
- {0.134990, -0.034685, -0.009135, 358.201873, 0.415596, 340.812927},//Skin - 226
- {0.151760, 0.002680, -0.009135, 358.201873, 0.415596, 340.812927},//Skin - 227
- {0.167410, -0.028664, -0.009135, 358.201873, 0.415596, 340.250427},//Skin - 228
- {0.127699, -0.015571, -0.006103, 358.201873, 0.415596, 347.232238},//Skin - 229
- {0.100555, -0.007753, -0.006103, 358.201873, 0.415596, 347.232238},//Skin - 230
- {0.126940, 0.016886, -0.006103, 358.201873, 0.415596, 347.232238},//Skin - 231
- {0.132949, -0.017515, -0.008594, 358.201873, 0.415596, 347.232238},//Skin - 232
- {0.146124, -0.008425, -0.008594, 358.201873, 0.415596, 347.232238},//Skin - 233
- {0.125714, -0.021018, -0.008594, 358.201873, 0.415596, 347.232238},//Skin - 234
- {0.084982, -0.009809, -0.008594, 358.201873, 0.415596, 347.232238},//Skin - 235
- {0.114669, -0.005190, -0.008594, 358.201873, 0.415596, 351.301177},//Skin - 236
- {0.123264, -0.014946, -0.008594, 358.201873, 0.415596, 351.301177},//Skin - 237
- {0.146656, -0.023925, -0.006749, 358.201873, 0.415596, 334.356781},//Skin - 238
- {0.133769, -0.007373, -0.006749, 358.201873, 0.415596, 343.105895},//Skin - 239
- {0.165378, -0.020173, -0.005869, 358.201873, 0.415596, 348.352233},//Skin - 240
- {0.143331, -0.133577, -0.011472, 358.201873, 0.415596, 312.328857},//Skin - 241
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 242
- {0.098602, 0.002084, -0.011472, 358.201873, 0.415596, 348.195495},//Skin - 243
- {0.124240, -0.011682, -0.006423, 358.201873, 0.415596, 341.555999},//Skin - 244
- {0.158155, -0.044311, -0.005439, 358.201873, 0.415596, 336.024902},//Skin - 245
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 246
- {0.164307, -0.040974, -0.006797, 358.201873, 0.415596, 337.067047},//Skin - 247
- {0.191578, -0.040435, -0.010605, 358.201873, 0.415596, 340.908203},//Skin - 248
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 249
- {0.135208, -0.015243, -0.011916, 358.201873, 0.415596, 340.908203},//Skin - 250
- {0.134272, -0.027377, -0.006035, 358.201873, 0.415596, 333.416168},//Skin - 251
- {0.158813, -0.038977, -0.006035, 358.201873, 0.415596, 336.013519},//Skin - 252
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 253
- {0.165106, -0.048880, -0.009719, 358.201873, 0.415596, 331.050933},//Skin - 254
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 255
- {0.142586, 0.020829, -0.008549, 358.201873, 0.415596, 2.765411},//Skin - 256
- {0.134018, -0.024462, -0.008549, 358.201873, 0.415596, 339.642486},//Skin - 257
- {0.147750, -0.042854, -0.008114, 0.951334, 0.415596, 330.441131},//Skin - 258
- {0.147750, -0.042854, -0.008114, 0.951334, 0.415596, 330.441131},//Skin - 259
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 260
- {0.134710, 0.006798, -0.008114, 358.188964, 0.415596, 352.703582},//Skin - 261
- {0.111691, 0.006798, -0.008114, 358.188964, 0.415596, 352.703582},//Skin - 262
- {0.146077, -0.005195, -0.008114, 358.188964, 0.415596, 3.866970},//Skin - 263
- {0.135858, -0.157842, -0.008114, 358.188964, 0.415596, 314.852203},//Skin - 264
- {0.127964, 0.000132, -0.008114, 358.188964, 0.415596, 352.699432},//Skin - 265
- {0.127964, -0.002646, -0.008114, 358.188964, 0.415596, 352.699432},//Skin - 266
- {0.132329, -0.014261, -0.007384, 1.504234, 0.415596, 352.699432},//Skin - 267
- {0.145951, -0.043442, -0.010053, 1.504234, 0.415596, 320.469390},//Skin - 268
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 269
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 270
- {0.141851, -0.034538, -0.010580, 1.504234, 0.415596, 340.349456},//Skin - 271
- {0.136473, -0.057088, -0.008204, 1.504234, 0.415596, 318.134399},//Skin - 272
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 273
- {0.124270, 0.003252, -0.008204, 1.504234, 0.415596, 346.744995},//Skin - 274
- {0.131583, 0.007682, -0.008204, 1.504234, 0.415596, 346.744995},//Skin - 275
- {0.131583, 0.007682, -0.008204, 1.504234, 0.415596, 346.744995},//Skin - 276
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 277
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 278
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 279
- {0.131583, 0.007682, -0.008204, 1.504234, 0.415596, 346.744995},//Skin - 280
- {0.131583, 0.007682, -0.008204, 1.504234, 0.415596, 346.744995},//Skin - 281
- {0.140515, 0.009018, -0.008204, 1.504234, 0.415596, 346.744995},//Skin - 282
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 283
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 284
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 285
- {0.140515, 0.001933, -0.008204, 1.504234, 0.415596, 346.744995}, //Skin - 286
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 287
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 288
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 289
- {0.128789, -0.014062, -0.007850, 1.504234, 0.415596, 340.341094},//Skin - 290
- {0.158929, -0.027358, -0.010655, 1.504234, 0.415596, 337.298858},//Skin - 291
- {0.113309, -0.012434, -0.010655, 1.504234, 0.415596, 337.298858},//Skin - 292
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}, //Skin - 293
- {0.158438, -0.023891, -0.007217, 1.504234, 0.415596, 337.298858},//Skin - 294
- {0.145000, -0.032054, -0.007217, 1.504234, 0.415596, 336.385589},//Skin - 295
- {0.139293, -0.069554, -0.010619, 1.504234, 0.415596, 320.746429},//Skin - 296
- {0.148252, -0.066463, -0.010619, 1.504234, 0.415596, 320.729705},//Skin - 297
- {0.126423, -0.066463, -0.010619, 1.504234, 0.415596, 320.729705},//Skin - 298
- {0.144949, -0.040691, -0.008599, 1.504234, 0.415596, 320.729705}//Skin - 299
- };
- new Float: BackSkins[300][6] = {
- {0.152561, 0.009771, -0.003578, 0.000000, 0.000000, 0.000000}, // CapBack1 - capblack 0
- {0.154740, -0.000088, -0.007099, 0.000000, 0.000000, 353.034423}, // CapBack1 - 1
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.171452, 0.020331, -0.009405, 0.000000, 0.000000, 0.328186}, // CapBack1 - 7
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.165115, -0.006727, -0.005117, 0.000000, 0.000000, 350.829223}, // CapBack1 - 9
- {0.139765, -0.006727, -0.008035, 0.000000, 0.000000, 350.829223}, // CapBack1 - 10
- {0.164338, 0.010682, -0.006304, 0.000000, 0.000000, 1.317132}, // CapBack5 - 11
- {0.168692, -0.012686, -0.006304, 0.000000, 0.000000, 2.620430}, // CapBack5 - 12
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.180397, -0.037633, -0.003055, 0.000000, 0.000000, 334.995819}, // CapBack5 - 14
- {0.138529, -0.023847, -0.006882, 0.000000, 0.000000, 349.513183}, // CapBack5 - 15
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.165150, 0.008241, -0.002468, 0.000000, 0.000000, 359.865356}, // CapBack5 - 17
- {0.125999, -0.006320, -0.007210, 0.000000, 0.000000, 351.895660}, // CapBack5 - 18
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.178122, -0.005292, -0.007210, 0.000000, 0.000000, 357.589874}, // CapBack5 - 20
- {0.171341, -0.012229, -0.009898, 0.000000, 0.000000, 351.194061}, // CapBack5 - 21
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.157626, -0.029724, -0.004464, 0.000000, 0.000000, 331.973846}, // CapBack5 - 25
- {0.152022, -0.029724, -0.004464, 0.000000, 0.000000, 331.973846}, // CapBack5 - 26
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.180999, -0.032568, -0.011626, 0.000000, 0.000000, 340.068969}, // CapBack5 - 30
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.127392, -0.045833, -0.011626, 0.000000, 0.000000, 332.066528}, // CapBack5 - 39
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.106016, -0.009698, -0.005557, 0.000000, 0.000000, 352.879241}, // CapBack5 - 43
- {0.123384, -0.003855, -0.005557, 0.000000, 0.000000, 339.552703}, // CapBack5 - 44
- {0.133027, -0.010028, -0.005557, 0.000000, 0.000000, 351.249084}, // CapBack5 - 45
- {0.187303, 0.009308, -0.007567, 0.000000, 0.000000, 354.531066}, // CapBack5 - 46
- {0.181427, -0.029691, -0.009906, 0.000000, 0.000000, 340.553741}, // CapBack5 - 47
- {0.202131, -0.033994, -0.008840, 0.000000, 0.000000, 349.174133}, // CapBack5 - 48
- {0.144064, -0.046047, -0.005176, 0.000000, 0.000000, 327.833953}, // CapBack5 - 49
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.156962, -0.014533, -0.005744, 0.000000, 0.000000, 339.649780}, // CapBack5 - 53
- {0.170897, 0.032927, -0.004505, 0.000000, 0.000000, 4.658165}, // CapBack5 - 54
- {0.170897, 0.000525, -0.008647, 0.000000, 0.000000, 4.658165}, // CapBack5 - 55
- {0.170897, 0.000525, -0.008647, 0.000000, 0.000000, 4.658165}, // CapBack5 - 56
- {0.204822, 0.013232, -0.007975, 0.000000, 0.000000, 358.332122}, // CapBack5 - 57
- {0.137341, 0.002028, -0.007975, 0.000000, 0.000000, 358.332122}, // CapBack5 - 58
- {0.186327, 0.028765, -0.006357, 0.000000, 0.000000, 9.349652}, // CapBack5 - 59
- {0.167387, -0.014165, -0.010267, 0.000000, 0.000000, 347.202239}, // CapBack5 - 60
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.153622, 0.026057, 0.001912, 0.000000, 0.000000, 1.657262}, // CapBack5 - 62
- {0.180733, 0.004340, -0.005340, 0.000000, 0.000000, 0.000000}, // CapBack1 - 63
- {0.135751, 0.000370, -0.005340, 0.000000, 0.000000, 351.369049}, // CapBack1 - 64
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.151557, 0.003149, -0.004474, 0.000000, 0.000000, 343.369781}, // CapBack2 - 66
- {0.148032, -0.000815, -0.004474, 0.000000, 0.000000, 347.334899}, // CapBack2 - 67
- {0.148032, 0.018842, -0.007647, 0.000000, 0.000000, 355.218048}, // CapBack2 - 68
- {0.169898, 0.006962, -0.006380, 0.000000, 0.000000, 4.303595}, // CapBack2 - 69
- {0.153013, 0.012083, 0.000254, 0.000000, 0.000000, 348.646881}, // CapBack2 - 70
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.150600, 0.005597, -0.006945, 0.000000, 0.000000, 348.646881}, // CapBack2 - 72
- {0.151958, 0.007609, -0.007373, 0.000000, 0.000000, 352.321228}, // CapBack2 - 73
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.164638, -0.009942, -0.007373, 0.000000, 0.000000, 347.293334}, // CapBack2 - 75
- {0.174797, -0.027673, -0.002500, 0.000000, 0.000000, 347.293334}, // CapBack2 - 76
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.145512, -0.005392, 0.000265, 0.000000, 0.000000, 349.725921}, // CapBack2 - 79
- {0.135133, -0.015628, -0.005431, 0.000000, 0.000000, 349.725921}, // CapBack2 - 80
- {0.135133, -0.015628, -0.005431, 0.000000, 0.000000, 349.725921}, // CapBack2 - 81
- {0.208755, -0.028677, -0.005431, 0.000000, 0.000000, 335.827545}, // CapBack2 - 82
- {0.198342, -0.028677, -0.005431, 0.000000, 0.000000, 335.827545}, // CapBack2 - 83
- {0.207749, -0.028677, -0.005431, 0.000000, 0.000000, 335.827545}, // CapBack2 - 84
- {0.186061, -0.017886, -0.009003, 0.000000, 0.000000, 342.158477}, // CapBack2 - 85
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.162129, -0.029754, -0.009792, 0.000000, 0.000000, 335.401397}, // CapBack2 - 87
- {0.162129, 0.006584, -0.005103, 0.000000, 0.000000, 350.173980}, // CapBack2 - 88
- {0.173523, -0.018237, -0.008053, 0.000000, 0.000000, 1.074956}, // CapBack2 - 89
- {0.173523, 0.004939, -0.005089, 0.000000, 0.000000, 1.074956}, // CapBack2 - 90
- {0.173523, -0.002368, -0.005089, 0.000000, 0.000000, 1.074956}, // CapBack2 - 91
- {0.191579, -0.039141, -0.005089, 0.000000, 0.000000, 353.232330}, // CapBack2 - 92
- {0.190105, 0.007120, -0.005089, 0.000000, 0.000000, 8.263933}, // CapBack2 - 93
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.140587, -0.020173, -0.002521, 0.000000, 0.000000, 354.900054}, // CapBack2 - 95
- {0.166945, -0.018467, -0.006057, 0.000000, 0.000000, 340.769165}, // CapBack2 - 96
- {0.149077, -0.028112, -0.006057, 0.000000, 0.000000, 340.769165}, // CapBack2 - 97
- {0.169777, -0.007985, -0.006057, 0.000000, 0.000000, 340.769165}, // CapBack2 - 98
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.196824, -0.009257, -0.006057, 0.000000, 0.000000, 356.336090}, // CapBack2 - 100
- {0.177550, -0.027981, -0.006057, 0.000000, 0.000000, 343.939056}, // CapBack2 - 101
- {0.174734, 0.009933, -0.009756, 0.000000, 0.000000, 3.055547}, // CapBack2 - 102
- {0.188160, -0.013580, -0.004421, 0.000000, 0.000000, 356.492431}, // CapBack2 - 103
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.190762, -0.013580, -0.004421, 0.000000, 0.000000, 356.492431}, // CapBack2 - 105
- {0.187602, -0.025435, -0.010075, 0.000000, 0.000000, 346.004516}, // CapBack2 - 106
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.175870, -0.003954, -0.007077, 0.000000, 0.000000, 346.004516}, // CapBack2 - 108
- {0.172407, -0.013431, -0.010775, 0.000000, 0.000000, 346.004516}, // CapBack2 - 109
- {0.172407, -0.013431, -0.010775, 0.000000, 0.000000, 346.004516}, // CapBack2 - 110
- {0.150013, 0.003311, -0.006409, 0.000000, 0.000000, 352.270080}, // CapBack2 - 111
- {0.141717, -0.009559, -0.006409, 0.000000, 0.000000, 352.270080}, // CapBack2 - 112
- {0.185393, -0.023785, -0.004980, 0.000000, 0.000000, 345.606567}, // CapBack2 - 113
- {0.185393, -0.000169, -0.010926, 0.000000, 0.000000, 351.197326}, // CapBack2 - 114
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.182650, 0.004789, -0.010926, 0.000000, 0.000000, 357.257171}, // CapBack2 - 116
- {0.134004, 0.017698, -0.005831, 0.000000, 0.000000, 357.257171}, // CapBack2 - 117
- {0.134004, 0.017698, -0.005831, 0.000000, 0.000000, 357.257171}, // CapBack2 - 118
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.178981, -0.028772, -0.004536, 0.000000, 0.000000, 346.605316}, // CapBack2 - 120
- {0.183907, -0.011432, -0.004536, 0.000000, 0.000000, 355.820770}, // CapBack2 - 121
- {0.165320, -0.005021, -0.004536, 0.000000, 0.000000, 355.820770}, // CapBack2 - 122
- {0.200145, -0.002194, -0.008751, 0.000000, 0.000000, 358.896423}, // CapBack2 - 123
- {0.182011, 0.001444, -0.002327, 0.000000, 0.000000, 357.818420}, // CapBack2 - 124
- {0.151200, 0.008420, -0.005776, 0.000000, 0.000000, 357.818420}, // CapBack2 - 125
- {0.187609, 0.001857, -0.004008, 0.000000, 0.000000, 7.271462}, // CapBack2 - 126
- {0.188872, -0.010934, -0.006273, 0.000000, 0.000000, 354.714599}, // CapBack2 - 127
- {0.187277, -0.010814, -0.012647, 0.000000, 0.000000, 342.365417}, // CapBack2 - 128
- {0.133478, 0.005174, -0.012647, 0.000000, 0.000000, 358.076538}, // CapBack2 - 129
- {0.096691, -0.040395, -0.006268, 0.000000, 0.000000, 328.075073}, // CapBack2 - 130
- {0.159023, -0.001297, -0.003358, 0.000000, 0.000000, 354.126007}, // CapBack2 - 131
- {0.052064, -0.014930, -0.003462, 0.000000, 0.000000, 345.376892}, // CapBack2 - 132
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.165563, -0.013992, -0.003462, 0.000000, 0.000000, 356.365600}, // CapBack2 - 134
- {0.146837, -0.006449, -0.006697, 0.000000, 0.000000, 349.979614}, // CapBack2 - 135
- {0.146837, -0.001257, -0.006697, 0.000000, 0.000000, 353.938903}, // CapBack2 - 136
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.179458, 0.018936, -0.006697, 0.000000, 0.000000, 13.018135}, // CapBack2 - 138
- {0.179458, 0.018936, -0.006697, 0.000000, 0.000000, 13.018135}, // CapBack2 - 139
- {0.182565, 0.010967, -0.006697, 0.000000, 0.000000, 13.018135}, // CapBack2 - 140
- {0.182565, 0.009535, -0.006697, 0.000000, 0.000000, 13.018135}, // CapBack2 - 141
- {0.182565, -0.002640, -0.006697, 0.000000, 0.000000, 359.800872}, // CapBack2 - 142
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.228769, -0.002640, -0.011189, 0.000000, 0.000000, 359.800872}, // CapBack2 - 144
- {0.171856, 0.000946, -0.001703, 0.000000, 0.000000, 359.800872}, // CapBack2 - 145
- {0.154141, -0.004233, -0.008664, 0.000000, 0.000000, 355.798858}, // CapBack2 - 146
- {0.149305, -0.024469, 0.000980, 0.000000, 0.000000, 351.391906}, // CapBack2 - 147
- {0.176194, -0.021742, -0.003060, 0.000000, 0.000000, 351.391906}, // CapBack2 - 148
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.187446, -0.014221, -0.003060, 0.000000, 0.000000, 2.834435}, // CapBack2 - 150
- {0.197199, 0.001229, -0.003060, 0.000000, 0.000000, 2.834435}, // CapBack2 - 151
- {0.172892, -0.015298, -0.003060, 0.000000, 0.000000, 2.834435}, // CapBack2 - 152
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.138590, 0.002724, -0.005538, 0.000000, 0.000000, 2.834435}, // CapBack2 - 154
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.219108, -0.037769, -0.001686, 0.000000, 0.000000, 354.529266}, // CapBack2 - 156
- {0.155086, 0.003292, 0.001146, 0.000000, 0.000000, 354.529266}, // CapBack2 - 157
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.145796, -0.011042, -0.004201, 0.000000, 0.000000, 354.529266}, // CapBack2 - 160
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.158876, 0.012828, -0.008527, 0.000000, 0.000000, 354.529266}, // CapBack2 - 162
- {0.137763, -0.001837, -0.008527, 0.000000, 0.000000, 345.313812}, // CapBack2 - 163
- {0.146060, -0.013492, -0.008527, 0.000000, 0.000000, 345.313812}, // CapBack2 - 164
- {0.163246, -0.012942, -0.004973, 0.000000, 0.000000, 344.333374}, // CapBack2 - 165
- {0.140111, 0.007943, -0.004973, 0.000000, 0.000000, 349.497924}, // CapBack2 - 166
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.141848, 0.007943, -0.010143, 0.000000, 0.000000, 349.497924}, // CapBack2 - 168
- {0.165495, 0.006009, -0.005755, 0.000000, 0.000000, 10.909480}, // CapBack2 - 169
- {0.172246, 0.002606, -0.011039, 0.000000, 0.000000, 0.820177}, // CapBack2 - 170
- {0.179460, -0.000000, -0.006654, 0.000000, 0.000000, 359.487091}, // CapBack2 - 171
- {0.179460, -0.000000, -0.006654, 0.000000, 0.000000, 359.487091}, // CapBack2 - 172
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.208994, -0.007943, -0.006654, 0.000000, 0.000000, 345.862579}, // CapBack2 - 174
- {0.178250, -0.007943, -0.009599, 0.000000, 0.000000, 345.862579}, // CapBack2 - 175
- {0.188804, -0.008412, -0.010471, 0.000000, 0.000000, 357.926025}, // CapBack2 - 176
- {0.215245, -0.046786, -0.010471, 0.000000, 0.000000, 333.935485}, // CapBack2 - 177
- {0.196470, 0.024980, -0.006861, 0.000000, 0.000000, 9.335173}, // CapBack2 - 178
- {0.170804, 0.017931, -0.009900, 0.000000, 0.000000, 9.335173}, // CapBack2 - 179
- {0.202440, -0.022104, -0.009900, 0.000000, 0.000000, 350.458648}, // CapBack2 - 180
- {0.170491, -0.001973, -0.004454, 0.000000, 0.000000, 350.458648}, // CapBack2 - 181
- {0.139138, 0.009438, -0.007567, 0.000000, 0.000000, 350.458648}, // CapBack2 - 182
- {0.144261, 0.006484, -0.005938, 0.000000, 0.000000, 350.458648}, // CapBack2 - 183
- {0.173439, 0.008749, -0.009442, 0.000000, 0.000000, 4.531515}, // CapBack2 - 184
- {0.178510, -0.005743, -0.003814, 0.000000, 0.000000, 354.167968}, // CapBack2 - 185
- {0.182519, -0.013562, -0.003814, 0.000000, 0.000000, 354.167968}, // CapBack2 - 186
- {0.146338, -0.063390, -0.001417, 0.000000, 0.000000, 331.099212}, // CapBack2 - 187
- {0.149057, -0.028143, -0.001417, 0.000000, 0.000000, 331.099212}, // CapBack2 - 188
- {0.190356, -0.030107, -0.001417, 0.000000, 0.000000, 343.327667}, // CapBack2 - 189
- {0.202054, -0.040251, -0.001417, 0.000000, 0.000000, 343.327667}, // CapBack2 - 190
- {0.197020, -0.033725, -0.006150, 0.000000, 0.000000, 343.327667}, // CapBack2 - 191
- {0.193556, -0.001809, -0.006150, 0.000000, 0.000000, 355.718383}, // CapBack2 - 192
- {0.196684, -0.004270, -0.006150, 0.000000, 0.000000, 355.718383}, // CapBack2 - 193
- {0.196684, -0.004270, -0.006150, 0.000000, 0.000000, 355.718383}, // CapBack2 - 194
- {0.206905, 0.000445, -0.006150, 0.000000, 0.000000, 7.253017}, // CapBack2 - 195
- {0.134116, 0.009748, -0.006150, 0.000000, 0.000000, 1.506720}, // CapBack2 - 196
- {0.179956, -0.001632, -0.006150, 0.000000, 0.000000, 1.506720}, // CapBack2 - 197
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.168909, -0.005808, -0.006150, 0.000000, 0.000000, 1.506720}, // CapBack2 - 199
- {0.174613, 0.018596, -0.006150, 0.000000, 0.000000, 8.241870}, // CapBack2 - 200
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.186252, 0.025931, -0.006150, 359.226074, 0.000000, 16.592515}, // CapBack2 - 203
- {0.163428, 0.002381, -0.010481, 1.199788, 0.000000, 354.398010}, // CapBack2 - 204
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.163428, 0.008872, -0.010481, 1.199788, 0.000000, 354.398010}, // CapBack2 - 206
- {0.112955, 0.013557, -0.004934, 1.199788, 0.000000, 354.398010}, // CapBack2 - 207
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.160963, 0.002805, -0.004934, 1.199788, 0.000000, 359.006042}, // CapBack2 - 209
- {0.128493, -0.003984, -0.004934, 1.199788, 0.000000, 359.006042}, // CapBack2 - 210
- {0.176982, 0.023702, -0.004934, 1.199788, 0.000000, 14.166459}, // CapBack2 - 211
- {0.128467, -0.008255, -0.004934, 1.199788, 0.000000, 343.645538}, // CapBack2 - 212
- {0.185985, -0.003673, -0.005680, 1.199788, 0.000000, 358.541107}, // CapBack2 - 213
- {0.176328, -0.009473, -0.004319, 1.199788, 0.000000, 358.541107}, // CapBack2 - 214
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.181434, 0.009004, -0.004319, 1.199788, 0.000000, 10.780131}, // CapBack2 - 216
- {0.161066, -0.037283, -0.004319, 1.199788, 0.000000, 328.898590}, // CapBack2 - 217
- {0.149989, 0.001034, -0.007441, 1.199788, 0.000000, 352.247955}, // CapBack2 - 218
- {0.158134, 0.033803, -0.004034, 1.199788, 0.000000, 23.654287}, // CapBack2 - 219
- {0.137110, -0.021979, -0.006172, 1.199788, 0.000000, 336.757873}, // CapBack2 - 220
- {0.221894, 0.006963, -0.006172, 1.199788, 0.000000, 7.847995}, // CapBack2 - 221
- {0.204477, -0.043676, -0.006172, 1.199788, 0.000000, 350.189361}, // CapBack2 - 222
- {0.207657, -0.008146, -0.006172, 1.199788, 0.000000, 350.189361}, // CapBack2 - 223
- {0.190393, 0.000228, 0.001606, 1.199788, 0.000000, 11.879378}, // CapBack2 - 224
- {0.190393, 0.000228, 0.001606, 1.199788, 0.000000, 11.879378}, // CapBack2 - 225
- {0.163592, 0.006964, -0.009153, 1.199788, 0.000000, 11.879378}, // CapBack2 - 226
- {0.182670, 0.016327, -0.005560, 1.199788, 0.000000, 359.033477}, // CapBack2 - 227
- {0.200009, -0.013580, -0.005560, 1.199788, 0.000000, 347.257019}, // CapBack2 - 228
- {0.151536, -0.004985, -0.003730, 1.199788, 0.000000, 1.332237}, // CapBack2 - 229
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.162618, 0.025505, -0.006327, 1.199788, 0.000000, 1.332237}, // CapBack2 - 231
- {0.162618, -0.021187, -0.006327, 1.199788, 0.000000, 1.332237}, // CapBack2 - 232
- {0.184628, 0.009246, -0.006327, 1.199788, 0.000000, 9.318798}, // CapBack2 - 233
- {0.138607, -0.007896, -0.002440, 1.199788, 0.000000, 357.667327}, // CapBack2 - 234
- {0.102028, -0.007896, -0.002440, 1.199788, 0.000000, 357.667327}, // CapBack2 - 235
- {0.141433, 0.001568, -0.007129, 1.199788, 0.000000, 357.667327}, // CapBack2 - 236
- {0.171422, 0.003976, -0.007129, 1.199788, 0.000000, 14.896168}, // CapBack2 - 237
- {0.162112, -0.033918, -0.009757, 1.199788, 0.000000, 329.660644}, // CapBack2 - 238
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.195676, -0.000346, -0.009059, 1.199788, 0.000000, 359.219635}, // CapBack2 - 240
- {0.225913, -0.093273, -0.009059, 1.199788, 0.000000, 338.582885}, // CapBack2 - 241
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.119849, 0.008509, -0.004875, 1.199788, 0.000000, 351.250366}, // CapBack2 - 243
- {0.142359, -0.007982, -0.002139, 1.199788, 0.000000, 338.201110}, // CapBack2 - 244
- {0.213636, 0.020328, -0.002139, 1.199788, 0.000000, 9.539301}, // CapBack2 - 245
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.191313, -0.025602, -0.008449, 1.199788, 0.000000, 345.625457}, // CapBack2 - 247
- {0.218937, -0.025602, -0.008449, 1.199788, 0.000000, 345.625457}, // CapBack2 - 248
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.171738, -0.008147, -0.009720, 1.199788, 0.000000, 351.946502}, // CapBack2 - 250
- {0.171738, -0.008147, -0.004024, 1.199788, 0.000000, 351.946502}, // CapBack2 - 251
- {0.191814, -0.018688, -0.001956, 1.199788, 0.000000, 351.946502}, // CapBack2 - 252
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.191814, -0.018688, -0.001956, 1.199788, 0.000000, 349.399566}, // CapBack2 - 254
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.172645, -0.018688, -0.001956, 1.199788, 0.000000, 349.399566}, // CapBack2 - 256
- {0.164325, -0.017981, -0.006244, 1.199788, 0.000000, 339.549896}, // CapBack2 - 257
- {0.182589, -0.038286, -0.006244, 1.199788, 0.000000, 339.549896}, // CapBack2 - 258
- {0.185917, -0.047972, -0.006244, 1.199788, 0.000000, 339.549896}, // CapBack2 - 259
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.128629, 0.020902, -0.006244, 1.199788, 0.000000, 358.125885}, // CapBack2 - 262
- {0.179700, 0.011040, 0.000088, 1.199788, 0.000000, 12.603851}, // CapBack2 - 263
- {0.216605, -0.099891, 0.000088, 1.199788, 0.000000, 342.666625}, // CapBack2 - 264
- {0.147310, -0.000934, -0.005484, 1.199788, 0.000000, 357.229003}, // CapBack2 - 265
- {0.158313, -0.000955, -0.006872, 1.199788, 0.000000, 357.229003}, // CapBack2 - 266
- {0.166343, -0.003141, -0.006872, 1.199788, 0.000000, 2.876371}, // CapBack2 - 267
- {0.171693, -0.050949, -0.009712, 1.199788, 0.000000, 340.129333}, // CapBack2 - 268
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.178678, -0.035822, -0.005613, 1.199788, 0.000000, 334.835510}, // CapBack2 - 272
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.143802, -0.005543, -0.005613, 1.199788, 0.000000, 342.616333}, // CapBack2 - 274
- {0.143802, -0.002142, -0.006920, 1.199788, 0.000000, 342.616333}, // CapBack2 - 275
- {0.143802, -0.002142, -0.006920, 1.199788, 0.000000, 342.616333}, // CapBack2 - 276
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.154324, 0.004585, -0.006920, 1.199788, 0.000000, 342.616333}, // CapBack2 - 280
- {0.141513, -0.001361, -0.006920, 1.199788, 0.000000, 342.616333}, // CapBack2 - 281
- {0.178879, -0.032552, -0.007550, 1.199788, 0.000000, 339.513275}, // CapBack2 - 282
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.148372, 0.012662, -0.003643, 1.199788, 0.000000, 352.562530}, // CapBack2 - 286
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.169198, -0.008094, -0.004952, 1.199788, 0.000000, 355.882568}, // CapBack2 - 290
- {0.197062, -0.010244, -0.008868, 1.199788, 0.000000, 347.195098}, // CapBack2 - 291
- {0.129213, -0.005561, -0.008868, 1.199788, 0.000000, 347.195098}, // CapBack2 - 292
- {0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
- {0.184856, -0.017724, -0.004568, 1.199788, 0.000000, 340.720977}, // CapBack2 - 294
- {0.164693, -0.035874, -0.004568, 1.199788, 0.000000, 338.932373}, // CapBack2 - 295
- {0.162584, -0.071738, -0.009352, 1.199788, 0.000000, 324.114501}, // CapBack2 - 296
- {0.201801, 0.013063, -0.004067, 1.199788, 0.000000, 11.497174}, // CapBack2 - 297
- {0.170668, 0.000798, -0.008211, 1.199788, 0.000000, 0.166477}, // CapBack2 - 298
- {0.189388, -0.034348, -0.008211, 1.199788, 0.000000, 338.146575} // CapBack2 - 299
- };
- //================== FORWARD
- forward spam(playerid);
- forward vloadd(playerid);
- forward Heal(playerid);
- forward Zbrane(playerid);
- forward Many(playerid);
- forward Nitroo(playerid);
- forward afkk(playerid);
- forward Timer1();
- forward Timer2();
- forward Timer3();
- forward DateRepair();
- forward FlashTimer1(playerid);
- forward FlashTimer2(playerid);
- forward AntiSPAM(playerid);
- //============ STOCK
- stock Jmeno(playerid)
- {
- new pName[MAX_PLAYER_NAME];
- if(IsPlayerConnected(playerid))
- {
- GetPlayerName(playerid, pName, sizeof(pName));
- }
- return pName;
- }
- //============================================ PUBLIC ON FILTER SCRIPT INIT
- public OnFilterScriptInit()
- {
- SCMTA(COLOR_BILA, "{FFFFFF}VIP Systém {00ff00}v6 {FFFFFF}by {0000FF}QWER");
- Farby = CreateMenu("~r~[VIP] ~w~Barvy", 1, 50.0, 180.0, 280.0, 200.0);
- AddMenuItem(Farby, 0, "Modra Barva");
- AddMenuItem(Farby, 0, "Zelena Barva");
- AddMenuItem(Farby, 0, "Oranzova Barva");
- AddMenuItem(Farby, 0, "Fialova Barva");
- AddMenuItem(Farby, 0, "Hneda Barva");
- AddMenuItem(Farby, 0, "Cervena Barva");
- AddMenuItem(Farby, 0, "Cierna Barva");
- AddMenuItem(Farby, 0, "Konec");
- SetTimer("DateRepair",180000,true);
- return 1;
- }
- //============================================ PUBLIC ON PLAYER SELECTED MENU ROW
- public DateRepair(){
- for(new i; i < GetMaxPlayers();i++){
- if(vip[i] > 0){
- new file[50],string[12];
- format(file,sizeof(file),"VIP/%s.ini",Jmeno(i));
- if(RemoveTime[i] < gettime()){
- format(string,128,"{FF0000}[ VIP ]{FFFFFF} Tvoj VIP Account vypršal %s, Kúp si nový na %s",date(RemoveTime[i],1),WEB);
- SCM(i,0xFFFFFF,string);
- dini_Remove(file);
- vip[i] = 0;
- }
- }
- }
- return true;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- new Menu:Current = GetPlayerMenu(playerid);
- if (Current == Farby ) {
- switch(row) {
- case 0:{SCM(playerid, WHITE, "{FF0000}[ VIP ]{FFFFFF}: Tvoje barva nicku je Modrá !");
- SetPlayerColor(playerid, COLOR_MODRA);
- }
- case 1:{SCM(playerid, WHITE, "{FF0000}[ VIP ]{FFFFFF}: Tvoje barva nicku je Zelená !");
- SetPlayerColor(playerid, COLOR_ZELENA);
- }
- case 2:{SCM(playerid, WHITE, "{FF0000}[ VIP ]{FFFFFF}: Tvoje barva nicku je Oranžová !");
- SetPlayerColor(playerid, COLOR_ORANZOVA);
- }
- case 3:{SCM(playerid, WHITE, "{FF0000}[ VIP ]{FFFFFF}: Tvoje barva nicku je Fialová !");
- SetPlayerColor(playerid, COLOR_FIALOVA);
- }
- case 4:{SCM(playerid, WHITE, "{FF0000}[ VIP ]{FFFFFF}: Tvoje barva nicku je Hnidá !");
- SetPlayerColor(playerid, COLOR_HNEDA);
- }
- case 5:{SCM(playerid, WHITE, "{FF0000}[ VIP ]{FFFFFF}: Tvoje barva nicku je Eervená !");
- SetPlayerColor(playerid, WHITE);
- }
- case 6:{SCM(playerid, WHITE, "{FF0000}[ VIP ]{FFFFFF}: Tvoje barva nicku je Eerná !");
- SetPlayerColor(playerid, COLOR_CIERNA);
- }}}
- return 1;
- }
- //============================================ PUBLIC ON FILTER SCRIPT EXIT
- public OnFilterScriptExit()
- {
- SCMTA(COLOR_BILA, "{FFFFFF}VIP Systém {00ff00}v6 {FFFFFF}by {0000FF}QWER {FFFFFF}sa vypol");
- return 1;
- }
- //============================================ PUBLIC ON PLAYER SPAWN
- public OnPlayerSpawn(playerid)
- {
- if(vip[playerid] ==0){
- KillTimer(flasht1[playerid]);
- KillTimer(flasht2[playerid]);
- }
- if(vip[playerid] > 0 && VIPZBRANE[playerid] == true && ZAKAZ){
- GivePlayerWeapon(playerid, 9, 1);
- GivePlayerWeapon(playerid, 30, 700);
- GivePlayerWeapon(playerid, 27, 370);
- GivePlayerWeapon(playerid, 24, 453);
- SetPlayerArmour(playerid,100);
- SCM(playerid, WHITE, "{FF0000}[ VIP ]{FFFFFF}: Jako VIP hráe po spawnu si obdržel pár zbraní a vestu !");
- }
- return 1;
- }
- //============================================ PUBLIC ON PLAYER DEATH
- public OnPlayerDeath(playerid, killerid, reason)
- {
- if(vip[playerid] > 0 && VIPZBRANE[playerid]){
- new Float:X,Float:Y,Float:Z;
- GetPlayerPos(playerid, X,Y,Z);
- CreateExplosion(X,Y,Z,4,10);
- }
- return 1;
- }
- //============================================ PUBLIC ON PLAYER DISCONNECT
- public OnPlayerDisconnect(playerid, reason)
- {
- KillTimer(flasht1[playerid]);
- KillTimer(flasht2[playerid]);
- for(new i = 0; i < 15; i++){
- DestroyVehicle(autacky[i][playerid]);
- autacky[i][playerid] = 0;
- }
- return 1;
- }
- //============================================ PUBLIC ON PLAYER TEXT
- public OnPlayerText(playerid, text[]){
- if(vip[playerid] > 0){
- new str[128];
- format(str,128,"%s",ColouredText(text));
- SendPlayerMessageToAll(playerid,str);
- return 0;
- }
- return 1;
- }
- stock ColouredText(text[])
- {
- enum
- colorEnum
- {
- colorName[16],
- colorID[7]
- }
- ;
- new
- colorInfo[][colorEnum] =
- {
- { "BLUE", "1B1BE0" },
- { "PINK", "E81CC9" },
- { "YELLOW", "DBED15" },
- { "LIGHTGREEN", "8CED15" },
- { "LIGHTBLUE", "15D4ED" },
- { "RED", "FF0000" },
- { "GREY", "BABABA" },
- { "WHITE", "FFFFFF" },
- { "ORANGE", "DB881A" },
- { "GREEN", "37DB45" },
- { "CYAN", "00FFFF" },
- { "MAGENTA", "FF00FF" },
- { "GOLD", "FFd700" },
- { "PURPLE", "7340DB" }
- },
- string[(128 + 32)],
- tempString[16],
- pos = -1,
- x
- ;
- strmid(string, text, 0, 128, sizeof(string));
- for( ; x != sizeof(colorInfo); ++x)
- {
- format(tempString, sizeof(tempString), "#%s", colorInfo[x][colorName]);
- while((pos = strfind(string, tempString, true, (pos + 1))) != -1)
- {
- new
- tempLen = strlen(tempString),
- tempVar,
- i = pos
- ;
- format(tempString, sizeof(tempString), "{%s}", colorInfo[x][colorID]);
- if(tempLen < 8)
- {
- for(new j; j != (8 - tempLen); ++j)
- {
- strins(string, " ", pos);
- }
- }
- for( ; ((string[i] != 0) && (tempVar != 8)) ; ++i, ++tempVar)
- {
- string[i] = tempString[tempVar];
- }
- if(tempLen > 8)
- {
- strdel(string, i, (i + (tempLen - 8)));
- }
- x = -1;
- }
- }
- return string;
- }
- //============================================ PUBLIC ON PLAYER CONNECT
- public OnPlayerConnect(playerid)
- {
- kokos[playerid] = false;
- many[playerid] = false;
- vload[playerid] = false;
- vip[playerid] = false;
- heal[playerid] = false;
- zbrane[playerid] = false;
- pozicia[playerid] = false;
- AFK[playerid] = false;
- afkspam[playerid] = false;
- SCM(playerid, COLOR_BILA, "Server použivá VIP System {0000FF}v6 {FFFFFF}by {FF0000}QWER{FFFFFF} Viz {FF0000}/vcredits");
- SCM(playerid, COLOR_BILA, "Viac informácii nájdete na {00FF00}/vhelp");
- flashcar[playerid] = false;
- flashnick[playerid] = false;
- KillTimer(flasht1[playerid]);
- KillTimer(flasht2[playerid]);
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- new pname[MAX_PLAYER_NAME],file[128],string[128];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(file,sizeof(file),"VIP/%s.ini",pname);
- if(fexist(file)){
- RemoveTime[playerid] = dini_Int(file,"Time");
- if(RemoveTime[playerid] < gettime()){
- if(!fexist(file)) return 0;
- format(string,128,"{FF0000}[ VIP ]{FFFFFF} Tvoj VIP Account vypršal %s, Kúp si nový na %s",date(RemoveTime[playerid],1),WEB);
- SCM(playerid,0xFFFFFF,string);
- dini_Remove(file);
- vip[playerid] = 0;
- }else{
- vip[playerid] = dini_Int(file,"VIP");
- SCM(playerid,COLOR_GREEN, "Vitaj VIP Hráe");
- }
- }else{
- vip[playerid] = 0;
- }
- if(vip[playerid] ==0){
- KillTimer(flasht1[playerid]);
- KillTimer(flasht2[playerid]);
- }
- return 1;
- }
- public Heal(playerid)
- {
- heal[playerid] = false;
- SCM(playerid,COLOR_GREEN, "Eas vypršel, poíkaz /vheal jde znovu použit !");
- return 1;
- }
- public Zbrane(playerid)
- {
- zbrane[playerid] = false;
- SCM(playerid,COLOR_GREEN, "Eas vypršel, poíkaz /vzbrane jde znovu použit !");
- return 1;
- }
- public Many(playerid)
- {
- many[playerid] = false;
- SCM(playerid,COLOR_GREEN, "Eas vypršel, poíkaz /vmany jde znovu použit !");
- return 1;
- }
- public vloadd(playerid)
- {
- vload[playerid] = false;
- SCM(playerid,COLOR_GREEN, "Eas vypršel, poíkaz /vload jde znovu použit !");
- return 1;
- }
- public Nitroo(playerid)
- {
- nnitro[playerid] = false;
- SCM(playerid,COLOR_GREEN, "Eas vypršel, poíkaz /vnitro jde znovu použit !");
- return 1;
- }
- public spam(playerid)
- {
- message[playerid] = false;
- return 1;
- }
- //============================================ PUBLIC ON PLAYER COMMAND TEXT
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- dcmd(vip,3,cmdtext);
- dcmd(vnitro,6,cmdtext);
- dcmd(vme,3,cmdtext);
- dcmd(vcar,4,cmdtext);
- dcmd(vflip,5,cmdtext);
- dcmd(vdcar,5,cmdtext);
- dcmd(vheal,5,cmdtext);
- dcmd(vspawn,6,cmdtext);
- dcmd(vskin,5,cmdtext);
- dcmd(vinvisible,10,cmdtext);
- dcmd(vsave,5,cmdtext);
- dcmd(vload,5,cmdtext);
- dcmd(vgoto,5,cmdtext);
- dcmd(vzbrane,7,cmdtext);
- dcmd(vhydraulics,11,cmdtext);
- dcmd(vflashcar,9,cmdtext);
- dcmd(vflashnick,10,cmdtext);
- dcmd(vrepair,7,cmdtext);
- dcmd(vcolor,6,cmdtext);
- dcmd(vcolors,7,cmdtext);
- dcmd(vchatcolor,10,cmdtext);
- dcmd(vglasses,8,cmdtext);
- dcmd(vcaps,5,cmdtext);
- dcmd(vbackcaps,9,cmdtext);
- dcmd(vneon,5,cmdtext);
- dcmd(vhelp,5,cmdtext);
- dcmd(setvip,6,cmdtext);
- dcmd(azbrane,7,cmdtext);
- dcmd(vcredits,8,cmdtext);
- dcmd(vmany,5,cmdtext);
- return 0;
- }
- //================================== VREGISTER
- dcmd_vchatcolor(playerid, params[]){
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- SCM(playerid,WHITE,"{FF0000}[ VIP ]{FFFFFF} {E81CC9}Chceš {FFFFFF}písa? {FF00FF}v chate farebne {00FFFF}ako {00FF00}to {0000FF}vidíš {99FFCC}tu ?");
- SCM(playerid,WHITE,"{FF0000}[ VIP ]{FFFFFF} {FFFFFF}Tak do chatu napíš tieto existujúce farby:");
- SCM(playerid,WHITE,"{FF0000}[ VIP ]{FFFFFF} {E81CC9}#PINK {DBED15}#YELLOW {8CED15}#LIGHTGREEN {15D4ED}#LIGHTBLUE {FF0000}#RED {BABABA}#GREY {1B1BE0}#BLUE");
- SCM(playerid,WHITE,"{FF0000}[ VIP ]{FFFFFF} {DB881A}#ORANGE {37DB45}#GREEN {00FFFF}#CYAN {FF00FF}#MAGENTA {FFD700}#GOLD {7340DB}#PURPLE {FFFFFF}#WHITE");
- SCM(playerid,WHITE,"{FF0000}[ VIP ]{FFFFFF} Výsledný text by mal vyzera? '{FFFFFF}#REDAhojte #GREENUž som#WHITE tu{FF0000}'");
- return 1;
- }
- dcmd_vinvisible(playerid, params[]){
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,2)) return true;
- #endif
- SetPVarInt(playerid, "OldColor", GetPlayerColor(playerid));
- SetPlayerColor(playerid,0xFFFFFF00);
- SCM(playerid,WHITE,"{FF0000}[ VIP ]{FFFFFF} Si neviditelný na radaru, za 2 minuty se staneš opit viditelným !");
- SetTimerEx("VisiblePlayer",60000,false,"i",playerid);
- return 1;
- }
- forward VisiblePlayer(playerid);
- public VisiblePlayer(playerid){
- if(vip[playerid] == 0) return 0;
- SetPlayerColor(playerid, GetPVarInt(playerid, "OldColor"));
- SCM(playerid,WHITE,"{FF0000}[ VIP ]{FFFFFF} Poíkaz /vinvisible právi vypršel, nyní jsi viditelný na radaru !");
- return 1;
- }
- dcmd_vflip(playerid, params[]){
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- new Float:z;
- if(IsPlayerInAnyVehicle(playerid)){
- GetVehicleZAngle(GetPlayerVehicleID(playerid),z);
- SetVehicleZAngle(GetPlayerVehicleID(playerid),z);
- SCM(playerid,WHITE,"{FF0000}[ VIP ]{FFFFFF} Auto úspišni otoeené zpátky na kolesa !");
- }else{
- SCM(playerid,WHITE,"{FF0000}[ VIP ]{FFFFFF} Nejsi ve vozidle !");
- }
- return 1;
- }
- //================================== SET VIP
- dcmd_setvip(playerid, params[])
- {
- new string[128];
- if(!IsPlayerAdmin(playerid)) return SCM(playerid,WHITE ,"Pouze Hlavní Administrátor poihlášený poez Rcon muže nastavit VIP úeet !");
- new ID,DEN,level;
- if(!IsPlayerAdmin(playerid)) return SCM(playerid, 0xFFFFFFFF, "Neisi admin !");
- if(sscanf(params, "iii", ID,level,DEN)) return SCM(playerid, 0xFFFFFFFF, "/setvip [playerid] [level] [den]");
- if(!IsPlayerConnected(ID)) return SCM(playerid, 0xFFFFFFFF, "ID nieje online!");
- #if LEVELS == 0
- if(level < 0 || level > 1) return SCM(playerid, WHITE, "Zlý level !");
- #else
- if(level < 0 || level > 3) return SCM(playerid, WHITE, "Zlý level !");
- #endif
- new DATE = gettime()+mktime(0,0,0,DEN,0,0);
- new file[128];
- format(file,sizeof(file),"VIP/%s.ini",Jmeno(ID));
- if(level > 0) {
- if(fexist(file)) return SCM(playerid, WHITE, "Tento hráe už VIP level má !");
- #if LEVELS == 0
- format(string, sizeof(string), "Hlavný Administrátor %s nastavil hráeovy %s VIP úeet do %s !", Jmeno(playerid),Jmeno(ID),date(DATE,1));
- #else
- if(level == 1) format(string, 128, "Admin %s nastavil hráeovy %s VIP {CD7F32}BRONZE{FF0000} úeet do %s !",Jmeno(playerid),Jmeno(ID),date(DATE,1));
- else if(level == 2) format(string, 128, "Admin %s nastavil hráeovy %s VIP {C0C0C0}SILVER{FF0000} úeet do %s !",Jmeno(playerid),Jmeno(ID),date(DATE,1));
- else if(level == 3) format(string, 128, "Admin %s nastavil hráeovy %s VIP {FFD700}GOLD{FF0000} úeet do %s !",Jmeno(playerid),Jmeno(ID),date(DATE,1));
- #endif
- RemoveTime[playerid] = DATE;
- dini_Create(file);
- dini_IntSet(file,"Time",DATE);
- dini_IntSet(file,"VIP",level);
- SCMTA(0xFF0000AA, string);
- }
- else if(level == 0){
- if(!fexist(file)) return SCM(playerid, WHITE, "Tento hráe nemá VIP level!");
- format(string, sizeof(string), "Hlavný Administrátor %s zobral hráeovy %s VIP úeet !", Jmeno(playerid),Jmeno(ID));
- dini_Remove(file);
- SCMTA(0xFF0000AA, string);
- }
- vip[ID] = level;
- return true;
- }
- //================================== VIP
- dcmd_vcredits(playerid,params[]){
- #pragma unused params
- ShowPlayerDialog(playerid,DIALOG_NEON-1,0,"{FFFFFF}VIP Systém {FF0000}Credits","{0000FF}QWER{FFFFFF} = Tvorca\n{00FF00}Ryder{FFFFFF} = Farebný chat\n{00FF00}TheWroxx{FFFFFF} = Nápady & Farby\n{00FF00}hospoda96{FFFFFF} = Nápady\n{00FF00}ADO{FFFFFF} aka{00FF00} ED.E{FFFFFF} = Nápady & Bugy\nIakujem že ste sa rozhodli pre tento {FF0000}VIP {FFFFFF}Systém {00FF00}v6","Ok","");
- }
- dcmd_vip(playerid, params[]){
- #pragma unused params
- new string[128];
- SCM(playerid,WHITE ,"{FF0000}[ VIP ]{FFFFFF} On-Line hráei...");
- for(new i=0;i<=MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- if(vip[i] > 0)
- {
- #if LEVELS == 0
- format(string, 128, "[ VIP hráe ] %s ",Jmeno(i));
- #else
- if(vip[i] == 1) format(string, 128, "{FF0000}[ VIP hráe ]{FFFFFF} %s [{CD7F32}BRONZE{FFFFFF}]",Jmeno(i));
- else if(vip[i] == 2) format(string, 128, "{FF0000}[ VIP hráe ]{FFFFFF} %s [{C0C0C0}SILVER{FFFFFF}]",Jmeno(i));
- else if(vip[i] == 3) format(string, 128, "{FF0000}[ VIP hráe ]{FFFFFF} %s [{FFD700}GOLD{FFFFFF}]",Jmeno(i));
- #endif
- SCM(playerid,WHITE,string);
- }
- }
- }
- return 1;
- }
- dcmd_vneon(playerid,params[]){
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SCM(playerid, WHITE,"{FF0000}[ VIP ]{FFFFFF} Niesi vodie !");
- if(!Nitro(GetPlayerVehicleID(playerid))) return SCM(playerid, WHITE,"{FF0000}[ VIP ]{FFFFFF} Toto vozidlo nepodporuje neony !");
- ShowPlayerDialog(playerid,DIALOG_NEON,2,"{FFFFFF}VIP Systém {00ff00}v6 {FFFFFF}by {0000FF}QWER","{0000FF}Blue\n{00FF00}Green\n{FFFF00}Yellow\n{FFFFFF}White\n{FF40FF}Pink\n{FF0000}Zmaza?","Prida?","Zruši?");
- return true;
- }
- dcmd_vglasses(playerid,params[]){
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,2)) return true;
- #endif
- ShowPlayerDialog(playerid,DIALOG_SUNGLASS,1,"{FFFFFF}VIP Systém {00ff00}v6 {FFFFFF}by {0000FF}QWER","{FFFFFF}Napíš ID okuliarov id je od {FF0000}1{FFFFFF}-{FF0000}33{FFFFFF} a zadaj \"{FF0000}0{FFFFFF}\" pre {FF0000}zrušenie {FFFFFF}okuliarov","Zobra?","Zruši?");
- return true;
- }
- dcmd_vcaps(playerid,params[]){
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- ShowPlayerDialog(playerid,DIALOG_CAPS,1,"{FFFFFF}VIP Systém {00ff00}v6 {FFFFFF}by {0000FF}QWER","{FFFFFF}Napíš ID eiapky id je od {FF0000}1{FFFFFF}-{FF0000}9{FFFFFF} a zadaj \"{FF0000}0{FFFFFF}\" pre {FF0000}zrušenie {FFFFFF}eiapky","Zobra?","Zruši?");
- return true;
- }
- dcmd_vbackcaps(playerid,params[]){
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,3)) return true;
- #endif
- ShowPlayerDialog(playerid,DIALOG_BACKCAPS,1,"{FFFFFF}VIP Systém {00ff00}v6 {FFFFFF}by {0000FF}QWER","{FFFFFF}Napíš ID eiapky id je od {FF0000}1{FFFFFF}-{FF0000}5{FFFFFF} a zadaj \"{FF0000}0{FFFFFF}\" pre {FF0000}zrušenie {FFFFFF}eiapky","Zobra?","Zruši?");
- return true;
- }
- /*
- new Neon[MAX_PLAYERS][2] = {-1,...};
- new Sunglass[MAX_PLAYERS] = {-1,...};
- new Caps[MAX_PLAYERS] = {-1,...};
- */
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){
- if(dialogid == DIALOG_NEON && response){
- switch(listitem){
- case 0:{
- if(Neon1[playerid] != -1 && Neon2[playerid] != -1) return SCM(playerid,WHITE,"Už máš jeden neon, zmaž ho !");
- Neon1[playerid] = CreateObject(18648,0,0,0,0,0,0);
- Neon2[playerid] = CreateObject(18648,0,0,0,0,0,0);
- AttachObjectToVehicle(Neon1[playerid], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
- AttachObjectToVehicle(Neon2[playerid], GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
- SCM(playerid,WHITE,"Modrý neon pridaný !");
- }
- case 1:{
- if(Neon1[playerid] != -1 && Neon2[playerid] != -1) return SCM(playerid,WHITE,"Už máš jeden neon, zmaž ho !");
- Neon1[playerid] = CreateObject(18649,0,0,0,0,0,0);
- Neon2[playerid] = CreateObject(18649,0,0,0,0,0,0);
- AttachObjectToVehicle(Neon1[playerid], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
- AttachObjectToVehicle(Neon2[playerid], GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
- SCM(playerid,WHITE,"Zelený neon pridaný !");
- }
- case 2:{
- if(Neon1[playerid] != -1 && Neon2[playerid] != -1) return SCM(playerid,WHITE,"Už máš jeden neon, zmaž ho !");
- Neon1[playerid] = CreateObject(18650,0,0,0,0,0,0);
- Neon2[playerid] = CreateObject(18650,0,0,0,0,0,0);
- AttachObjectToVehicle(Neon1[playerid], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
- AttachObjectToVehicle(Neon2[playerid], GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
- SCM(playerid,WHITE,"Žltý neon pridaný !");
- }
- case 3:{
- if(Neon1[playerid] != -1 && Neon2[playerid] != -1) return SCM(playerid,WHITE,"Už máš jeden neon, zmaž ho !");
- Neon1[playerid] = CreateObject(18652,0,0,0,0,0,0);
- Neon2[playerid] = CreateObject(18652,0,0,0,0,0,0);
- AttachObjectToVehicle(Neon1[playerid], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
- AttachObjectToVehicle(Neon2[playerid], GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
- SCM(playerid,WHITE,"Biely neon pridaný !");
- }
- case 4:{
- if(Neon1[playerid] != -1 && Neon2[playerid] != -1) return SCM(playerid,WHITE,"Už máš jeden neon, zmaž ho !");
- Neon1[playerid] = CreateObject(18651,0,0,0,0,0,0);
- Neon2[playerid] = CreateObject(18651,0,0,0,0,0,0);
- AttachObjectToVehicle(Neon1[playerid], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
- AttachObjectToVehicle(Neon2[playerid], GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
- SCM(playerid,WHITE,"Fialový neon pridaný !");
- }
- case 5:{
- DestroyObject(Neon1[playerid]);
- DestroyObject(Neon2[playerid]);
- Neon1[playerid] = -1;
- Neon2[playerid] = -1;
- }
- }
- }
- if(dialogid == DIALOG_SUNGLASS && response){
- new glass = strval(inputtext);
- if(Sunglass[playerid] != -1 && glass != 0) return SCM(playerid,WHITE,"Už máš okuliare ! Pre zrušenie daj ID 0 !");
- if(glass < 0 || glass > 33) return SCM(playerid,WHITE,"ID okuliarov sú od 0 do 33 !");
- if(glass == 0) {
- RemovePlayerAttachedObject(playerid, Sunglass[playerid]);
- Sunglass[playerid] = -1;
- return SCM(playerid,WHITE,"Okuliare odobraté !");
- }
- if(glass > 30){
- //19138
- new skin = GetPlayerSkin(playerid);
- Sunglass[playerid] = GetEmptySlot(playerid);
- SetPlayerAttachedObject(playerid, Sunglass[playerid], 19137+(glass - 31), 2, GlassSkins[skin][0], GlassSkins[skin][1], GlassSkins[skin][2], GlassSkins[skin][3], GlassSkins[skin][4], GlassSkins[skin][5]);
- SCM(playerid,WHITE,"Okuliare pridané !");
- }else{
- new skin = GetPlayerSkin(playerid);
- Sunglass[playerid] = GetEmptySlot(playerid);
- SetPlayerAttachedObject(playerid, Sunglass[playerid], 19005+glass, 2, GlassSkins[skin][0], GlassSkins[skin][1], GlassSkins[skin][2], GlassSkins[skin][3], GlassSkins[skin][4], GlassSkins[skin][5]);
- SCM(playerid,WHITE,"Okuliare pridané !");
- }
- }
- if(dialogid == DIALOG_CAPS && response){
- new caps = strval(inputtext);
- if(Caps[playerid] != -1 && caps != 0) return SCM(playerid,WHITE,"Už máš eiapku ! Pre zmazanie daj ID 0 !");
- if(caps < 0 || caps > 9) return SCM(playerid,WHITE,"ID eiapiek sú od 0 do 9 !");
- if(caps == 0) {
- RemovePlayerAttachedObject(playerid, Caps[playerid]);
- Caps[playerid] = -1;
- return SCM(playerid,WHITE,"Eiapky odobrané !");
- }
- //19138
- new skin = GetPlayerSkin(playerid);
- Caps[playerid] = GetEmptySlot(playerid);
- SetPlayerAttachedObject(playerid, Caps[playerid], 18925+caps, 2, CapsSkins[skin][0], CapsSkins[skin][1], CapsSkins[skin][2], CapsSkins[skin][3], CapsSkins[skin][4], CapsSkins[skin][5]);
- SCM(playerid,WHITE,"Eiapky pridané !");
- }
- if(dialogid == DIALOG_BACKCAPS && response){
- new backcaps = strval(inputtext);
- if(Caps[playerid] != -1 && backcaps != 0) return SCM(playerid,WHITE,"Už máš eiapku ! Pre zmazanie daj ID 0 !");
- if(backcaps < 0 || backcaps > 5) return SCM(playerid,WHITE,"ID eiapiek sú od 0 do 9 !");
- if(backcaps == 0) {
- RemovePlayerAttachedObject(playerid, Caps[playerid]);
- Caps[playerid] = -1;
- return SCM(playerid,WHITE,"Obrátené eiapky odobrané !");
- }
- //19138
- new skin = GetPlayerSkin(playerid);
- Caps[playerid] = GetEmptySlot(playerid);
- SetPlayerAttachedObject(playerid, Caps[playerid], 18938+backcaps, 2, BackSkins[skin][0], BackSkins[skin][1], BackSkins[skin][2], BackSkins[skin][3], BackSkins[skin][4], BackSkins[skin][5]);
- SCM(playerid,WHITE,"Obrátené eiapky pridané !");
- }
- return true;
- }
- //================================= VIP CAR/
- dcmd_vcar(playerid, params[])
- {
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- new ID = strval(params);
- if(!strlen(params)) return SCM(playerid, WHITE, "Použi poíkazu /vcar id auta");
- if( ID < 400 || ID > 611 ) return SCM(playerid, WHITE, "Rozmezí aut je 400 - 611 !");
- #if ZAKAZANE_AUTA == 1
- if(BadVehicles(ID)) return SCM(playerid, WHITE, "Toto auto bolo zakázané!");
- #endif
- if(autacky[14][playerid] != 0) return SCM(playerid, COLOR_RED, "Na serveru je moc vozidel, maximum sou (15)! musíš je nejprv vymazat poíkazem /vdcar !");
- new Float:X,Float:Y,Float:Z,Float:SVK,s[50];
- GetPlayerPos(playerid, X,Y,Z);
- SCM(playerid,COLOR_BILA,"Auto úspišni vytvooeno !");
- for(new i;i < 15;i++){
- if(autacky[i][playerid] == 0){
- autacky[i][playerid] = CreateVehicle(ID,X,Y,Z,SVK,-1,-1,6000);
- format(s,50,"*** Todle vozidlo patoí VIP hráei ***",Jmeno(playerid));
- vehicletext[playerid] = Create3DTextLabel(s, WHITE, 0.0, 0.0, 0.0, 50.0, 0, 1 );
- Attach3DTextLabelToVehicle(vehicletext[playerid],autacky[i][playerid], 0.0, 0.0, 1.0);
- break;
- }else{
- continue;
- }}
- return 1;
- }
- dcmd_vdcar(playerid, params[])
- {
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- new string[128];
- format(string, sizeof(string), "VIP Hráe %s si vymazal všechny vozidla !",Jmeno(playerid));
- SCMTA(COLOR_RED, string);
- for(new i = 0; i < 15; i++)
- {
- DestroyVehicle(autacky[i][playerid]);
- autacky[i][playerid] = 0;
- }
- return 1;
- }
- dcmd_vgoto(playerid, params[])
- {
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- IsVIP(playerid,3);
- #endif
- if(!strlen(params)) return SCM(playerid, COLOR_RED, "{FF0000}[ VIP ]{FFFFFF}: /vgoto [ID] hráee !");
- if(vgoto[playerid])return SCM(playerid, COLOR_RED, "{FF0000}[ VIP ]{FFFFFF}: Tento poíkaz mužeš použít jednou za 10 minut !");
- new play = strval(params);
- if(!IsPlayerConnected(play)) return SCM(playerid, COLOR_RED, "{FF0000}[ VIP ]{FFFFFF}: Hráe neni poipojen !");
- new string2[128],Float:x,Float:y,Float:z,inter,auto = GetPlayerVehicleID(playerid);
- inter = GetPlayerInterior(play);
- GetPlayerPos(play, x, y, z);
- if(IsPlayerInAnyVehicle(playerid)){
- SetVehiclePos(auto, x, y, z+1);
- }else{
- SetPlayerPos(playerid, x, y, z+1);
- SetPlayerInterior(playerid, inter);
- }
- format(string2, sizeof(string2), "{FF0000}[ VIP ]{FFFFFF}: Hráe % se k tobi teleportoval!",Jmeno(playerid));
- SCM(play, COLOR_ZELENA, string2);
- vgoto[playerid] = true;
- SetTimerEx("vgotoo",600000,false,"i",playerid);
- return 1;
- }
- dcmd_vcolor(playerid, params[])
- {
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- new farba,farba2;
- if(sscanf(params, "ii",farba,farba2)) SCM(playerid,WHITE,"{FF0000}[ VIP ]{FFFFFF} /vcolor [farba] [farba]");
- if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_BILA, "Chceš si zmenit barvu riti? nie? tak nastup do auta !");
- if(farba > 128 || farba < 0) return SCM(playerid, WHITE, "{FF0000}[ VIP ]{FFFFFF} Špatné id barvy ! 1-127");
- if(farba2 > 128 || farba2 < 0) return SCM(playerid, WHITE, "{FF0000}[ VIP ]{FFFFFF} Špatné id barvy ! 1-127");
- ChangeVehicleColor(GetPlayerVehicleID(playerid), farba, farba2);
- SCM(playerid, WHITE, "{FF0000}[ VIP ]{FFFFFF}Barva bola zmenena");
- return 1;
- }
- //================================ VIP SAY
- dcmd_vme(playerid, params[]){
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- if(!strlen(params)) return SCM(playerid, WHITE, "{FF0000}[ VIP ]{FFFFFF} /vme TEXT pro psaní do VIP chatu !");
- if(message[playerid]) return SCM(playerid,COLOR_YELLOW,"{FF0000}[ VIP ]{FFFFFF} Jedna zpráva za 5 sekund !");
- message[playerid] = true;
- SetTimerEx("spam",5000,0,"i",playerid);
- new string[128],jmeno[24];
- GetPlayerName(playerid, jmeno, 24);
- format(string, 255, "{FF0000}[ VIP ]{FFFFFF}%s piše:{FFFFFF} %s",Jmeno(playerid) , params);
- SCMTA(WHITE,string);
- return true;
- }
- //================================ FARBY
- dcmd_vcolors(playerid, params[])
- {
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- ShowMenuForPlayer(Farby,playerid);
- return 1;
- }
- //================================ HEAL
- dcmd_vrepair(playerid,params[]){
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,2)) return true;
- #endif
- if(IsPlayerInAnyVehicle(playerid)){
- RepairVehicle(GetPlayerVehicleID(playerid));
- SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
- }
- GameTextForPlayer(playerid,"~r~[VIP] ~w~Opravil sis kompletne vozidlo !",3000,5);
- return 1;
- }
- dcmd_vheal(playerid, params[])
- {
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- if(heal[playerid])return SCM(playerid, COLOR_RED, "{FF0000}[ VIP ]{FFFFFF}: Tento poíkaz mužeš použít jednou za 5 minut !");
- SetTimerEx("Heal",180000,false,"i",playerid);
- heal[playerid] = true;
- SetPlayerHealth(playerid,100);
- GameTextForPlayer(playerid,"~r~[VIP] ~w~Dostal si zivot na maximum !",3000,5);
- return 1;
- }
- //================================ MANY
- dcmd_vmany(playerid, params[])
- {
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- if(many[playerid])return SCM(playerid, COLOR_RED, "{FF0000}[ VIP ]{FFFFFF}: Tento poíkaz mužeš použít jednou za 5 minut !");
- SetTimerEx("Many",300000,false,"i",playerid);
- many[playerid] = true;//300000
- GivePlayerMoney(playerid, 50000);
- GameTextForPlayer(playerid,"~r~[VIP] ~w~Dostal si castku 50 000 KC!",3000,5);
- return 1;
- }
- //================================ ZBRANE
- dcmd_vzbrane(playerid, params[])
- {
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- if(zbrane[playerid])return SCM(playerid, COLOR_RED, "{FF0000}[ VIP ]{FFFFFF}: Tento poíkaz mužeš použít jednou za 3 minuty !");
- SetTimerEx("Zbrane",150000,false,"i",playerid);
- zbrane[playerid] = true;
- GivePlayerWeapon(playerid, 9, 1);
- GivePlayerWeapon(playerid, 30, 700);
- GivePlayerWeapon(playerid, 27, 370);
- GivePlayerWeapon(playerid, 24, 453);
- GameTextForPlayer(playerid,"~r~[VIP] ~w~Dostal si sadu zbraní!",3000,5);
- return 1;
- }
- //================================ SAVE
- dcmd_vsave(playerid, params[])
- {
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,2)) return true;
- #endif
- GetPlayerPos(playerid, xx[playerid], yy[playerid], zz[playerid]);
- SCM(playerid, COLOR_BILA, "{FF0000}[ VIP ]{FFFFFF}: Tvá pozice úspišni uložená !");
- return 1;
- }
- //================================ LOAD
- dcmd_vload(playerid, params[])
- {
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,2)) return true;
- #endif
- if(vload[playerid])return SCM(playerid, COLOR_RED, "{FF0000}[ VIP ]{FFFFFF}: Tento poíkaz mužeš použít jednou za 1 minutu !");
- vload[playerid] = true;
- if(IsPlayerInAnyVehicle(playerid)){
- new auto = GetPlayerVehicleID(playerid);
- SetVehiclePos(auto, xx[playerid], yy[playerid], zz[playerid]);
- }else{
- SetPlayerPos(playerid, xx[playerid], yy[playerid], zz[playerid]);
- }
- SCM(playerid, COLOR_BILA, "{FF0000}[ VIP ]{FFFFFF}: Tvá pozice úspišni nahrána!");
- SetTimerEx("vloadd",60000,false,"i",playerid);
- return 1;
- }
- //================================ SPAWN
- dcmd_vspawn(playerid, params[]) {
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- if(!strlen(params)) return SCM(playerid, WHITE, "{FF0000}[ VIP ]{FFFFFF} /vspawn [on/off] (on => zbrani po spawnu | off => nic )");
- if(strcmp(params, "on", true) == 0)
- {
- new string[128];
- VIPZBRANE[playerid] = false;
- format(string, sizeof(string), "{FF0000}[ VIP ]{FFFFFF} Hráe %s zapnul zbrani + vestu po spawnu !", Jmeno(playerid));//sprava
- SCM(playerid,COLOR_RED, "{FF0000}[ VIP ]{FFFFFF} zapnul si zbrani + vestu po spawnu !");
- //SCMToAdmins(COLOR_RED, string);
- return 1;
- }
- if(strcmp(params, "off", true) == 0)
- {
- new str[100];
- VIPZBRANE[playerid] = true;
- format(str, sizeof(str), "{FF0000}[ VIP ]{FFFFFF} Hráe %s vypnul zbrani + vestu po spawnu !", Jmeno(playerid));//sprava
- SCM(playerid,COLOR_RED, "{FF0000}[ VIP ]{FFFFFF} Vypnul si zbrani + vestu po spawnu !");
- // SCMToAdmins(COLOR_RED, str);
- return 1;
- }
- return 1;
- }
- //================================ ZBRANE
- dcmd_azbrane(playerid, params[]) {
- if(!IsPlayerAdmin(playerid)) return SCM(playerid,WHITE ,"Musíš být poihlášen za Rcon !");
- if(!strlen(params)) return SCM(playerid, WHITE, "{FF0000}[ VIP ]{FFFFFF} /azbrane [on/off] (on => povolí | off => zakáže )");
- if(strcmp(params, "on", true) == 0)
- {
- new string[128];
- format(string, sizeof(string), "{FF0000}[ VIP ]{FFFFFF} Hlavní Administrátor %s povolil zbrani + vestu po spawnu !", Jmeno(playerid));
- SCMTA(COLOR_RED, string);
- ZAKAZ = true;
- return 1;
- }
- if(strcmp(params, "off", true) == 0)
- {
- new string[100];
- ZAKAZ = false;
- format(string, sizeof(string), "{FF0000}[ VIP ]{FFFFFF} Hlavní Administrátor %s zakázal zbrani + vestu po spawnu !", Jmeno(playerid));//sprava
- SCMTA(COLOR_RED, string);
- return 1;
- }
- return 1;
- }
- //================================ NITRO
- dcmd_vhydraulics(playerid, params[])
- {
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, WHITE,"{FF0000}[ VIP ]{FFFFFF} Nejsi ve vozidle !");
- if(!Nitro(GetPlayerVehicleID(playerid))) return SCM(playerid, WHITE,"{FF0000}[ VIP ]{FFFFFF} Toto vozidlo nepodporuje Hydrauliku !");
- AddVehicleComponent(GetPlayerVehicleID(playerid), 1087);
- SCM(playerid, WHITE,"{FF0000}[ VIP ]{FFFFFF} Do vozidla byla poidána Hydraulika !");
- return 1;
- }
- dcmd_vnitro(playerid, params[])
- {
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- if(nnitro[playerid]) return SCM(playerid, WHITE,"{FF0000}[ VIP ]{FFFFFF} Pouze 1x za 2 minuty !");
- if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, WHITE,"{FF0000}[ VIP ]{FFFFFF} Nejsi ve vozidle !");
- if(!Nitro(GetPlayerVehicleID(playerid))) return SCM(playerid, WHITE,"{FF0000}[ VIP ]{FFFFFF} Toto vozidlo nepodporuje Nitro !");
- nnitro[playerid] = true;
- AddVehicleComponent(GetPlayerVehicleID(playerid), 1009);
- SCM(playerid, WHITE,"{FF0000}[ VIP ]{FFFFFF} Do vozidla bylo poidáno Nitro !");
- SetTimerEx("Nitroo",120000,false,"i",playerid);
- return 1;
- }
- //================================ VFLASH CAR
- dcmd_vflashcar(playerid, params[])
- {
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,2)) return true;
- #endif
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nejsi vlastníkem VIP úetu !");
- if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, WHITE,"{FF0000}[ VIP ]{FFFFFF} Nejsi ve vozidle !");
- if(!flashcar[playerid]){
- flasht1[playerid] = SetTimer("FlashTimer1",1500,true);
- flashcar[playerid] = true;
- SCM(playerid, WHITE,"{FF0000}[ VIP ]{FFFFFF} Od této chvíle se ti bude každou sekundu minit barva vozidla !");
- }else{
- flashcar[playerid] = false;
- SCM(playerid, WHITE,"{FF0000}[ VIP ]{FFFFFF} Vypnul si zminu barvy vozidla !");
- }
- return 1;
- }
- //================================ VFLASH NICK
- dcmd_vflashnick(playerid, params[])
- {
- #pragma unused params
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,2)) return true;
- #endif
- if(!flashnick[playerid]){
- flasht2[playerid] = SetTimer("FlashTimer2",1500,true);
- flashnick[playerid] = true;
- SCM(playerid, WHITE,"{FF0000}[ VIP ]{FFFFFF} Od této chvíle se ti bude každou sekundu minit barva nicku !");
- }else{
- flashnick[playerid] = false;
- SCM(playerid, WHITE,"{FF0000}[ VIP ]{FFFFFF} Vypnul si zminu barvy nicku !");
- }
- return 1;
- }
- //================================ SKIN
- dcmd_vskin(playerid, params[])
- {
- #if LEVELS == 0
- if(vip[playerid] == 0) return SCM(playerid, WHITE,"Nevlastníš VIP úeet!");
- #else
- if(!IsVIP(playerid,1)) return true;
- #endif
- new string[100];
- format(string, sizeof(string), "{FF0000}[ VIP ]{FFFFFF} Zminil si si skin na %d", strval(params));
- SCM(playerid, WHITE,string);
- SetPlayerSkin(playerid,strval(params));
- return 1;
- }
- dcmd_vhelp(playerid, params[])
- {
- #pragma unused params
- #if LEVELS == 0
- ShowPlayerDialog(playerid,90,DIALOG_STYLE_MSGBOX,"{FFFFFF}VIP Systém {00ff00}v6 {FFFFFF}by {0000FF}QWER","{FFFFFF}/vip\t\t\t/vnitro\t\t\t/vme\n/vcar\t\t\t/vflip\t\t\t/vdcar\n/vheal\t\t\t/vspawn\t\t/vskin\n/vinvisible\t\t/vsave\t\t\t/vload\n\t\t\t/vzbrane\t\t/vhydraulics\n/vflashcar\t\t/vflashnick\t\t/vrepair\n/vcolor\t\t\t/vcolors\t\t/vchatcolor\n/vglasses\t\t/vcaps\t\t/backcaps\n/vneon","OK","Zavrit");
- #else
- /*
- if(level == 1) format(str,7,"{CD7F32}BRONZE{FFFFFF}");
- else if(level == 2) format(str,7,"{C0C0C0}SILVER{FFFFFF}");
- else if(level == 3) format(str,7,"{FFd700AA}GOLD{FFFFFF}");
- */
- ShowPlayerDialog(playerid,90,DIALOG_STYLE_MSGBOX,"{FFFFFF}VIP Systém {00ff00}v6 {FFFFFF}by {0000FF}QWER","{CD7F32}BRONZE\t\t{C0C0C0}SILVER\t\t\t{FFD700}GOLD\n{FFFFFF}/vskin\t\t\t/vflashnick\t\t/vbackcaps\n/vnitro\t\t\t/vflashcar\t\t\n/vhydraulics\t\t/vsave\n/vzbrane\t\t/vload\n/vmany\t\t\t/vrepair\n/vheal\t\t\t/vglasses\n/vcolors\t\t/vinvisible\n/vdcar\n/vdcar\n/vcaps\n/vneon\n/vflip\n/vchatcolor\t\t\t\t\t{FF0000}© {FFFFFF}by{0000FF} QWER","OK","Zavrit");
- // /vsave = minus /vinvisible = minus /vglasses = plus
- // BRONZE vskin vnitro vhydraulics vzbrane vmany vheal vcolors vdcar vcar vcaps vneon vflip vchatcolor
- // SILVER vflashnick vflashcar vsave vload vrepair vglasses vinvisible
- // GOLD vgoto vbackcaps
- #endif
- return 1;
- }
- //=================================================== ADMIN PRIKAZY ================================================== //
- #if LEVELS == 1
- stock IsVIP(playerid,level){
- if(vip[playerid] < level){
- if(level == 1) SCM(playerid, WHITE,"Na použitie tohto príkazu potrebuješ VIP \"{CD7F32}BRONZE{FFFFFF}\"" );
- else if(level == 2) SCM(playerid, WHITE, "Na použitie tohto príkazu potrebuješ VIP \"{C0C0C0}SILVER{FFFFFF}\"" );
- else if(level == 3) SCM(playerid, WHITE,"Na použitie tohto príkazu potrebuješ VIP \"{FFD700}GOLD{FFFFFF}\"");
- return false;
- }else{
- return true;
- }
- }
- #endif
- stock BadVehicles(id){
- if(id == 425 || id == 430 || id == 432 || id == 447 || id == 464 || id == 476 || id == 520 || id == 601) return true;
- return false;
- }
- GetEmptySlot(playerid)
- {
- for(new i = 0; i < MAX_PLAYER_ATTACHED_OBJECTS; ++i)
- {
- if(!IsPlayerAttachedObjectSlotUsed(playerid, i))
- {
- return i;
- }
- }
- return -1;
- }
- public FlashTimer1(playerid) {
- for(new i=0; i<GetMaxPlayers(); i++)
- {
- if(IsPlayerConnected(i)){
- if(IsPlayerInAnyVehicle(i)){
- if(flashcar[i]){
- ChangeVehicleColor(GetPlayerVehicleID(i), random(126), random(126));
- }else{
- KillTimer(flasht1[playerid]);
- }}}}
- return true;
- }
- public FlashTimer2(playerid) {
- for(new i=0; i<GetMaxPlayers(); i++)
- {
- if(IsPlayerConnected(i))
- {
- if(flashnick[i])
- {
- switch (random(25)){
- case 0:SetPlayerColor(i, 0xFF0000FF);
- case 1:SetPlayerColor(i, 0x33AA33AA);
- case 2:SetPlayerColor(i, 0x0000FFFF);
- case 3:SetPlayerColor(i, 0xFFFF00FF);
- case 4:SetPlayerColor(i, 0x000000FF);
- case 5:SetPlayerColor(i, 0xFFFFFFFF);
- case 6:SetPlayerColor(i, COLOR_SVMODRA);
- case 7:SetPlayerColor(i, COLOR_DARKGREEN);
- case 8:SetPlayerColor(i, COLOR_CYAN);
- case 9:SetPlayerColor(i, COLOR_SEDA);
- case 10:SetPlayerColor(i, COLOR_RUZOVA);
- case 11:SetPlayerColor(i,COLOR_FIALOVA);
- case 12:SetPlayerColor(i, COLOR_CERVENA);
- case 13:SetPlayerColor(i, COLOR_ORANZOVA);
- case 14:SetPlayerColor(i, COLOR_DARKORANGE);
- case 15:SetPlayerColor(i, COLOR_HNEDA);
- case 16:SetPlayerColor(i, COLOR_HNEDA2);
- case 17:SetPlayerColor(i, COLOR_CYAN);
- case 18:SetPlayerColor(i, COLOR_MODRA);
- case 19:SetPlayerColor(i, COLOR_MODRA2);
- case 20:SetPlayerColor(i, COLOR_MODRA3);
- case 21:SetPlayerColor(i, COLOR_LIGHTBLUE);
- case 22:SetPlayerColor(i, COLOR_VIOLET);
- case 23:SetPlayerColor(i, COLOR_DARKRED);
- case 24:SetPlayerColor(i, COLOR_RUZOVA);
- case 25:SetPlayerColor(i, WHITE);
- }}}}
- if(!flashnick[playerid]) return KillTimer(flasht2[playerid]);
- return true;
- }
- Nitro(vehicleid)
- {
- new nos = GetVehicleModel(vehicleid);
- switch(nos) {
- case 444:
- return 0;
- case 581:
- return 0;
- case 586:
- return 0;
- case 481:
- return 0;
- case 509:
- return 0;
- case 446:
- return 0;
- case 556:
- return 0;
- case 443:
- return 0;
- case 452:
- return 0;
- case 453:
- return 0;
- case 454:
- return 0;
- case 472:
- return 0;
- case 473:
- return 0;
- case 484:
- return 0;
- case 493:
- return 0;
- case 595:
- return 0;
- case 462:
- return 0;
- case 463:
- return 0;
- case 468:
- return 0;
- case 521:
- return 0;
- case 522:
- return 0;
- case 417:
- return 0;
- case 425:
- return 0;
- case 447:
- return 0;
- case 487:
- return 0;
- case 488:
- return 0;
- case 497:
- return 0;
- case 501:
- return 0;
- case 548:
- return 0;
- case 563:
- return 0;
- case 406:
- return 0;
- case 520:
- return 0;
- case 539:
- return 0;
- case 553:
- return 0;
- case 557:
- return 0;
- case 573:
- return 0;
- case 460:
- return 0;
- case 593:
- return 0;
- case 464:
- return 0;
- case 476:
- return 0;
- case 511:
- return 0;
- case 512:
- return 0;
- case 577:
- return 0;
- case 592:
- return 0;
- case 471:
- return 0;
- case 448:
- return 0;
- case 461:
- return 0;
- case 523:
- return 0;
- case 510:
- return 0;
- case 430:
- return 0;
- case 465:
- return 0;
- case 469:
- return 0;
- case 513:
- return 0;
- case 519:
- return 0;
- }
- return 1;
- }
- stock date( timestamp, _form=0 )
- {
- /*
- ~ convert a Timestamp to a Date.
- ~ 10.07.2009
- date( 1247182451 ) will print >> 09.07.2009-23:34:11
- date( 1247182451, 1) will print >> 09/07/2009, 23:34:11
- date( 1247182451, 2) will print >> July 09, 2009, 23:34:11
- date( 1247182451, 3) will print >> 9 Jul 2009, 23:34
- */
- new year=1970, day=0, month=0, hour=0, mins=0, sec=0;
- new days_of_month[12] = { 31,28,31,30,31,30,31,31,30,31,30,31 };
- new names_of_month[12][10] = {"Januar","Februar","Marec","April","Maj","Jun","Jul","August","September","Oktober","November","December"};
- new returnstring[32];
- while(timestamp>31622400){
- timestamp -= 31536000;
- if ( ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0) ) timestamp -= 86400;
- year++;
- }
- if ( ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0) )
- days_of_month[1] = 29;
- else
- days_of_month[1] = 28;
- while(timestamp>86400){
- timestamp -= 86400, day++;
- if(day==days_of_month[month]) day=0, month++;
- }
- while(timestamp>60){
- timestamp -= 60, mins++;
- if( mins == 60) mins=0, hour++;
- }
- sec=timestamp;
- switch( _form ){
- case 1: format(returnstring, 31, "%02d/%02d/%d %02d:%02d:%02d", day+1, month+1, year, hour, mins, sec);
- case 2: format(returnstring, 31, "%s %02d, %d, %02d:%02d:%02d", names_of_month[month],day+1,year, hour, mins, sec);
- case 3: format(returnstring, 31, "%d %c%c%c %d, %02d:%02d", day+1,names_of_month[month][0],names_of_month[month][1],names_of_month[month][2], year,hour,mins);
- default: format(returnstring, 31, "%02d.%02d.%d %02d:%02d:%02d", day+1, month+1, year, hour, mins, sec);
- }
- return returnstring;
- }
- stock sscanf(string[], format[], {Float,_}:...) // by Y_less
- {
- #if defined isnull
- if (isnull(string))
- #else
- if (string[0] == 0 || (string[0] == 1 && string[1] == 0))
- #endif
- {
- return format[0];
- }
- #pragma tabsize 4
- new
- formatPos = 0,
- stringPos = 0,
- paramPos = 2,
- paramCount = numargs(),
- delim = ' ';
- while (string[stringPos] && string[stringPos] <= ' ')
- {
- stringPos++;
- }
- while (paramPos < paramCount && string[stringPos])
- {
- switch (format[formatPos++])
- {
- case '\0':
- {
- return 0;
- }
- case 'i', 'd':
- {
- new
- neg = 1,
- num = 0,
- ch = string[stringPos];
- if (ch == '-')
- {
- neg = -1;
- ch = string[++stringPos];
- }
- do
- {
- stringPos++;
- if ('0' <= ch <= '9')
- {
- num = (num * 10) + (ch - '0');
- }
- else
- {
- return -1;
- }
- }
- while ((ch = string[stringPos]) > ' ' && ch != delim);
- setarg(paramPos, 0, num * neg);
- }
- case 'h', 'x':
- {
- new
- num = 0,
- ch = string[stringPos];
- do
- {
- stringPos++;
- switch (ch)
- {
- case 'x', 'X':
- {
- num = 0;
- continue;
- }
- case '0' .. '9':
- {
- num = (num << 4) | (ch - '0');
- }
- case 'a' .. 'f':
- {
- num = (num << 4) | (ch - ('a' - 10));
- }
- case 'A' .. 'F':
- {
- num = (num << 4) | (ch - ('A' - 10));
- }
- default:
- {
- return -1;
- }
- }
- }
- while ((ch = string[stringPos]) > ' ' && ch != delim);
- setarg(paramPos, 0, num);
- }
- case 'c':
- {
- setarg(paramPos, 0, string[stringPos++]);
- }
- case 'f':
- {
- new changestr[16], changepos = 0, strpos = stringPos;
- while(changepos < 16 && string[strpos] && string[strpos] != delim)
- {
- changestr[changepos++] = string[strpos++];
- }
- changestr[changepos] = '\0';
- setarg(paramPos,0,_:floatstr(changestr));
- }
- case 'p':
- {
- delim = format[formatPos++];
- continue;
- }
- case '\'':
- {
- new
- end = formatPos - 1,
- ch;
- while ((ch = format[++end]) && ch != '\'') {}
- if (!ch)
- {
- return -1;
- }
- format[end] = '\0';
- if ((ch = strfind(string, format[formatPos], false, stringPos)) == -1)
- {
- if (format[end + 1])
- {
- return -1;
- }
- return 0;
- }
- format[end] = '\'';
- stringPos = ch + (end - formatPos);
- formatPos = end + 1;
- }
- case 'u':
- {
- new
- end = stringPos - 1,
- id = 0,
- bool:num = true,
- ch;
- while ((ch = string[++end]) && ch != delim)
- {
- if (num)
- {
- if ('0' <= ch <= '9')
- {
- id = (id * 10) + (ch - '0');
- }
- else
- {
- num = false;
- }
- }
- }
- if (num && IsPlayerConnected(id))
- {
- setarg(paramPos, 0, id);
- }
- else
- {
- #if !defined foreach
- #define foreach(%1,%2) for (new %2 = 0; %2 < MAX_PLAYERS; %2++) if (IsPlayerConnected(%2))
- #define __SSCANF_FOREACH__
- #endif
- string[end] = '\0';
- num = false;
- new
- name[MAX_PLAYER_NAME];
- id = end - stringPos;
- foreach (Player, playerid)
- {
- GetPlayerName(playerid, name, sizeof (name));
- if (!strcmp(name, string[stringPos], true, id))
- {
- setarg(paramPos, 0, playerid);
- num = true;
- break;
- }
- }
- if (!num)
- {
- setarg(paramPos, 0, INVALID_PLAYER_ID);
- }
- string[end] = ch;
- #if defined __SSCANF_FOREACH__
- #undef foreach
- #undef __SSCANF_FOREACH__
- #endif
- }
- stringPos = end;
- }
- case 's', 'z':
- {
- new
- i = 0,
- ch;
- if (format[formatPos])
- {
- while ((ch = string[stringPos++]) && ch != delim)
- {
- setarg(paramPos, i++, ch);
- }
- if (!i)
- {
- return -1;
- }
- }
- else
- {
- while ((ch = string[stringPos++]))
- {
- setarg(paramPos, i++, ch);
- }
- }
- stringPos--;
- setarg(paramPos, i, '\0');
- }
- default:
- {
- continue;
- }
- }
- while (string[stringPos] && string[stringPos] != delim && string[stringPos] > ' ')
- {
- stringPos++;
- }
- while (string[stringPos] && (string[stringPos] == delim || string[stringPos] <= ' '))
- {
- stringPos++;
- }
- paramPos++;
- }
- do
- {
- if ((delim = format[formatPos++]) > ' ')
- {
- if (delim == '\'')
- {
- while ((delim = format[formatPos++]) && delim != '\'') {}
- }
- else if (delim != 'z')
- {
- return delim;
- }
- }
- }
- while (delim > ' ');
- return 0;
- }
- stock dini_Exists(filename[]) {
- if (fexist(filename)) return true;
- return false;
- }
- stock dini_Remove(filename[]) {
- if (!fexist(filename)) return false;
- fremove(filename);
- return true;
- }
- stock dini_Create(filename[]) {
- new File:fhnd;
- if (fexist(filename)) return false;
- fhnd=fopen(filename,io_write);
- fclose(fhnd);
- return true;
- }
- stock dini_PRIVATE_ExtractKey(line[]) {
- new tmp[MAX_STRING];
- tmp[0]=0;
- if (strfind(line,"=",true)==-1) return tmp;
- set(tmp,strlower(ret_memcpy(line,0,strfind(line,"=",true))));
- return tmp;
- }
- stock dini_PRIVATE_ExtractValue(line[]) {
- new tmp[MAX_STRING];
- tmp[0]=0;
- if (strfind(line,"=",true)==-1) {
- return tmp;
- }
- set(tmp,ret_memcpy(line,strfind(line,"=",true)+1,strlen(line)));
- return tmp;
- }
- stock dini_Set(filename[],key[],value[]) {
- new File:fohnd, File:fwhnd;
- new bool:wasset=false;
- new tmpres[MAX_STRING];
- if (key[0]==0) return false; /* If we have no sign in key, it can't be set*/
- format(tmpres,sizeof(tmpres),"%s.part",filename);
- fohnd=fopen(filename,io_read);
- if (!fohnd) return false;
- fremove(tmpres);
- fwhnd=fopen(tmpres,io_write);
- // if (!fwhnd) return false;
- while (fread(fohnd,tmpres)) {
- StripNewLine(tmpres);
- if ((!wasset)&&(equal(dini_PRIVATE_ExtractKey(tmpres),key,true))) {
- /* We've got what needs to be replaced! */
- format(tmpres,sizeof(tmpres),"%s=%s",key,value);
- wasset=true;
- }
- fwrite(fwhnd,tmpres);
- fwrite(fwhnd,"\r\n");
- }
- if (!wasset) {
- format(tmpres,sizeof(tmpres),"%s=%s",key,value);
- fwrite(fwhnd,tmpres);
- fwrite(fwhnd,"\r\n");
- }
- fclose(fohnd);
- fclose(fwhnd);
- format(tmpres,sizeof(tmpres),"%s.part",filename);
- if (fcopytextfile(tmpres,filename)) {
- return fremove(tmpres);
- }
- return false;
- }
- stock dini_IntSet(filename[],key[],value) {
- new valuestring[MAX_STRING];
- format(valuestring,sizeof(valuestring),"%d",value);
- return dini_Set(filename,key,valuestring);
- }
- stock dini_Int(filename[],key[]) {
- return strval(dini_Get(filename,key));
- }
- stock dini_FloatSet(filename[],key[],Float:value) {
- new valuestring[MAX_STRING];
- format(valuestring,sizeof(valuestring),"%f",value);
- return dini_Set(filename,key,valuestring);
- }
- stock Float:dini_Float(filename[],key[]) {
- return floatstr(dini_Get(filename,key));
- }
- stock dini_Bool(filename[],key[]) {
- return strval(dini_Get(filename,key));
- }
- stock dini_BoolSet(filename[],key[],value) {
- new valuestring[MAX_STRING];
- format(valuestring,sizeof(valuestring),"%d",value);
- return dini_Set(filename,key,valuestring);
- }
- stock dini_Unset(filename[],key[]) {
- new File:fohnd, File:fwhnd;
- new tmpres[MAX_STRING];
- format(tmpres,sizeof(tmpres),"%s.part",filename);
- fohnd=fopen(filename,io_read);
- if (!fohnd) return false;
- fremove(tmpres);
- fwhnd=fopen(tmpres,io_write);
- // if (!fwhnd) return false;
- while (fread(fohnd,tmpres)) {
- StripNewLine(tmpres);
- if (equal(dini_PRIVATE_ExtractKey(tmpres),key,true)) {
- /* We've got what needs to be removed! */
- } else {
- format(tmpres,sizeof(tmpres),"%s",tmpres);
- fwrite(fwhnd,tmpres);
- fwrite(fwhnd,"\r\n");
- }
- }
- fclose(fohnd);
- fclose(fwhnd);
- format(tmpres,sizeof(tmpres),"%s.part",filename);
- if (fcopytextfile(tmpres,filename)) {
- return fremove(tmpres);
- }
- return false;
- }
- stock dini_Get(filename[],key[]) {
- new File:fohnd;
- new tmpres[MAX_STRING];
- new tmpres2[MAX_STRING];
- tmpres[0]=0;
- fohnd=fopen(filename,io_read);
- if (!fohnd) return tmpres;
- while (fread(fohnd,tmpres)) {
- StripNewLine(tmpres);
- if (equal(dini_PRIVATE_ExtractKey(tmpres),key,true)) {
- /* We've got what we need */
- tmpres2[0]=0;
- strcat(tmpres2,dini_PRIVATE_ExtractValue(tmpres));
- fclose(fohnd);
- return tmpres2;
- }
- }
- fclose(fohnd);
- return tmpres;
- }
- stock dini_Isset(filename[],key[]) {
- new File:fohnd;
- new tmpres[MAX_STRING];
- fohnd=fopen(filename,io_read);
- if (!fohnd) return false;
- while (fread(fohnd,tmpres)) {
- StripNewLine(tmpres);
- if (equal(dini_PRIVATE_ExtractKey(tmpres),key,true)) {
- /* We've got what we need */
- fclose(fohnd);
- return true;
- }
- }
- fclose(fohnd);
- return false;
- }
- new PRIVATE_Last_Money[MAX_PLAYERS];
- /*
- * First version released by mike, this one created by DracoBlue
- * Has also a fix to use "-" and "+" in the beginning of the number.
- */
- stock isNumeric(const string[]) {
- new length=strlen(string);
- if (length==0) return false;
- for (new i = 0; i < length; i++) {
- if (
- (string[i] > '9' || string[i] < '0' && string[i]!='-' && string[i]!='+') // Not a number,'+' or '-'
- || (string[i]=='-' && i!=0) // A '-' but not at first.
- || (string[i]=='+' && i!=0) // A '+' but not at first.
- ) return false;
- }
- if (length==1 && (string[0]=='-' || string[0]=='+')) return false;
- return true;
- }
- /*
- * Originally created by mabako, tuned by DracoBlue
- */
- stock mktime(hour,minute,second,day,month,year) {
- new timestamp2;
- timestamp2 = second + (minute * 60) + (hour * 3600);
- new days_of_month[12];
- if ( ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0) ) {
- days_of_month = {31,29,31,30,31,30,31,31,30,31,30,31}; // Schaltjahr
- } else {
- days_of_month = {31,28,31,30,31,30,31,31,30,31,30,31}; // keins
- }
- new days_this_year = 0;
- days_this_year = day;
- if(month > 1) { // No January Calculation, because its always the 0 past months
- for(new i=0; i<month-1;i++) {
- days_this_year += days_of_month[i];
- }
- }
- timestamp2 += days_this_year * 86400;
- for(new j=1970;j<year;j++) {
- timestamp2 += 31536000;
- if ( ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0) ) timestamp2 += 86400; // Schaltjahr + 1 Tag
- }
- return timestamp2;
- }
- /**
- * Return if a Email is valid or not
- * @param value
- */
- stock ValidEmail(email[]) {
- new len=strlen(email);
- new cstate=0;
- new i;
- for(i=0;i<len;i++) {
- if ((cstate==0 || cstate==1) && (email[i]>='A' && email[i]<='Z') || (email[i]>='a' && email[i]<='z') || (email[i]=='.') || (email[i]=='-') || (email[i]=='_'))
- {
- } else {
- // Ok no A..Z,a..z,_,.,-
- if ((cstate==0) &&(email[i]=='@')) {
- // its an @ after the name, ok state=1;
- cstate=1;
- } else {
- // Its stuff which is not allowed
- return false;
- }
- }
- }
- if (cstate<1) return false;
- if (len<6) return false;
- // A toplevel domain has only 3 to 4 signs :-)
- if ((email[len-3]=='.') || (email[len-4]=='.') || (email[len-5]=='.')) return true;
- return false;
- }
- /**
- * Return a timestamp
- */
- stock Time() {
- new hour,minute,second;
- new year, month,day;
- gettime(hour, minute, second);
- getdate(year, month, day);
- return mktime(hour,minute,second,day,month,year);
- }
- /**
- * Return a timestamp
- */
- stock Now() {
- new hour,minute,second;
- new year, month,day;
- gettime(hour, minute, second);
- getdate(year, month, day);
- return mktime(hour,minute,second,day,month,year);
- }
- /**
- * Return the value of an hex-string
- * @param string
- */
- stock HexToInt(string[]) {
- if (string[0]==0) return 0;
- new i;
- new cur=1;
- new res=0;
- for (i=strlen(string);i>0;i--) {
- if (string[i-1]<58) res=res+cur*(string[i-1]-48); else res=res+cur*(string[i-1]-65+10);
- cur=cur*16;
- }
- return res;
- }
- /**
- * Return the int as string
- * @param number
- */
- stock IntToHex(number)
- {
- new m=1;
- new depth=0;
- while (number>=m) {
- m = m*16;
- depth++;
- }
- depth--;
- new str[MAX_STRING];
- for (new i = depth; i >= 0; i--)
- {
- str[i] = ( number & 0x0F) + 0x30; // + (tmp > 9 ? 0x07 : 0x00)
- str[i] += (str[i] > '9') ? 0x07 : 0x00;
- number >>= 4;
- }
- str[8] = '\0';
- return str;
- }
- /**
- * Return the string as int
- * @param string
- */
- stock StrToInt(string[]) {
- return strval(string);
- }
- /**
- * Return the value as string
- * @param value
- */
- stock IntToStr(value) {
- new tmp[MAX_STRING];
- valstr(tmp, value);
- return tmp;
- }
- /**
- * Return the truncated value
- * @param Float:value
- */
- stock trunc(Float:value) {
- return floatround(value,floatround_floor);
- }
- /**
- * Sets money for player
- * @param playerid
- * howmuch
- */
- stock SetPlayerMoney(playerid,howmuch) {
- PRIVATE_Last_Money[playerid]=howmuch;
- return GivePlayerMoney(playerid,howmuch-GetPlayerMoney(playerid));
- }
- /**
- * Copies a file (Source file won't be deleted!)
- * @param oldname
- * newname
- * @requires WINDOWS
- */
- stock fcopy(oldname[],newname[]) {
- new File:ohnd,File:nhnd;
- if (!fexist(oldname)) return false;
- ohnd=fopen(oldname,io_read);
- nhnd=fopen(newname,io_write);
- new buf2[1];
- new i;
- for (i=flength(ohnd);i>0;i--) {
- fputchar(nhnd, fgetchar(ohnd, buf2[0],false),false);
- }
- fclose(ohnd);
- fclose(nhnd);
- return true;
- }
- /**
- * Copies a textfile (Source file won't be deleted!)
- * @param oldname
- * newname
- */
- stock fcopytextfile(oldname[],newname[]) {
- new File:ohnd,File:nhnd;
- if (!fexist(oldname)) return false;
- ohnd=fopen(oldname,io_read);
- nhnd=fopen(newname,io_write);
- new tmpres[MAX_STRING];
- while (fread(ohnd,tmpres)) {
- StripNewLine(tmpres);
- format(tmpres,sizeof(tmpres),"%s\r\n",tmpres);
- fwrite(nhnd,tmpres);
- }
- fclose(ohnd);
- fclose(nhnd);
- return true;
- }
- /**
- * Renames a file (Source file will be deleted!)
- * @param oldname
- * newname
- * @requires WINDOWS (because fcopy does)
- */
- stock frename(oldname[],newname[]) {
- if (!fexist(oldname)) return false;
- fremove(newname);
- if (!fcopy(oldname,newname)) return false;
- fremove(oldname);
- return true;
- }
- /**
- * Renames a file (Source file will be deleted!)
- * @param oldname
- * newname
- */
- stock frenametextfile(oldname[],newname[]) {
- if (!fexist(oldname)) return false;
- fremove(newname);
- if (!fcopytextfile(oldname,newname)) return false;
- fremove(oldname);
- return true;
- }
- /**
- * Strips Newline from the end of a string.
- * Idea: Y_Less, Bugfixing (when length=1) by DracoBlue
- * @param string
- */
- stock StripNewLine(string[])
- {
- new len = strlen(string);
- if (string[0]==0) return ;
- if ((string[len - 1] == '\n') || (string[len - 1] == '\r')) {
- string[len - 1] = 0;
- if (string[0]==0) return ;
- if ((string[len - 2] == '\n') || (string[len - 2] == '\r')) string[len - 2] = 0;
- }
- }
- /**
- * Copies items from one array/string into return.
- * @param source
- * index (where to start, 0 is first)
- * numbytes (how much)
- */
- ret_memcpy(source[],index=0,numbytes) {
- new tmp[MAX_STRING];
- new i=0;
- tmp[0]=0;
- if (index>=strlen(source)) return tmp;
- if (numbytes+index>=strlen(source)) numbytes=strlen(source)-index;
- if (numbytes<=0) return tmp;
- for (i=index;i<numbytes+index;i++) {
- tmp[i-index]=source[i];
- if (source[i]==0) return tmp;
- }
- tmp[numbytes]=0;
- return tmp;
- }
- /**
- * Copies items from one array/string into another.
- * @param dest
- * source
- * count
- */
- stock copy(dest[],source[],count) {
- dest[0]=0;
- if (count<0) return false;
- if (count>strlen(source)) count=strlen(source);
- new i=0;
- for (i=0;i<count;i++) {
- dest[i]=source[i];
- if (source[i]==0) return true;
- }
- dest[count]=0;
- return true;
- }
- /**
- * Deletes the first 'count' items of a array/string
- * @param string[]
- * count
- */
- stock delete(string[],count) {
- new tmp[MAX_STRING];
- tmp[0]=0;
- if (count<=0) {
- format(tmp,sizeof(tmp),"%s",string);
- return tmp;
- }
- tmp=ret_memcpy(string,count,strlen(string));
- return tmp;
- }
- /**
- * Sets a string's value to source.
- * @param dest
- * source
- * count
- */
- stock set(dest[],source[]) {
- new count = strlen(source);
- new i=0;
- for (i=0;i<count;i++) {
- dest[i]=source[i];
- }
- dest[count]=0;
- }
- /**
- * Checks wether two strings are equal (case insensetive)
- * @param str1
- * str2
- */
- stock equal(str1[],str2[],bool:ignorecase) {
- if (strlen(str1)!=strlen(str2)) return false;
- if (strcmp(str1,str2,ignorecase)==0) return true;
- return false;
- }
- /**
- * Returns an element of a string splitted by ' ', default index is 0.
- * @param string
- * index
- */
- stock strtok(const string[], &index,seperator=' ')
- {
- new length = strlen(string);
- new offset = index;
- new result[32];
- while ((index < length) && (string[index] != seperator) && ((index - offset) < (sizeof(result) - 1)))
- {
- result[index - offset] = string[index];
- index++;
- }
- result[index - offset] = EOS;
- if ((index < length) && (string[index] == seperator))
- {
- index++;
- }
- return result;
- }
- stock mod(up,down) {
- return up-(floatround((up/down),floatround_floor))*down;
- }
- stock div(up,down) {
- return (floatround((up/down),floatround_floor));
- }
- /**
- * Returns a string which has 'newstr' where 'trg' was before
- * @param trg
- * newstr
- * src
- */
- stock strreplace(trg[],newstr[],src[]) {
- new f=0;
- new s1[MAX_STRING];
- new tmp[MAX_STRING];
- format(s1,sizeof(s1),"%s",src);
- f = strfind(s1,trg);
- tmp[0]=0;
- while (f>=0) {
- strcat(tmp,ret_memcpy(s1, 0, f));
- strcat(tmp,newstr);
- format(s1,sizeof(s1),"%s",ret_memcpy(s1, f+strlen(trg), strlen(s1)-f));
- f = strfind(s1,trg);
- }
- strcat(tmp,s1);
- return tmp;
- }
- /**
- * Returns the string with lowercase
- * @param txt
- */
- stock strlower(txt[]) {
- new tmp[MAX_STRING];
- tmp[0]=0;
- if (txt[0]==0) return tmp;
- new i=0;
- for (i=0;i<strlen(txt);i++) {
- tmp[i]=tolower(txt[i]);
- }
- tmp[strlen(txt)]=0;
- return tmp;
- }
- /**
- * Returns the string with uppercase
- * @param txt
- */
- stock strupper(txt[]) {
- new tmp[MAX_STRING];
- tmp[0]=0;
- if (txt[0]==0) return tmp;
- new i=0;
- for (i=0;i<strlen(txt);i++) {
- tmp[i]=toupper(txt[i]);
- }
- tmp[strlen(txt)]=0;
- return tmp;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement