//29 pojazdów ---> 97 obiektów --->Autor :Roni #include #define COLOR_ORANGE 0xFF9900AA #define COLOR_LIGHTGREEN 0x00FF00FF #define COLOR_LIGHTRED 0xFF0000FF // This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT new brama; new brama2; public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Baza adminów na chilliad ON"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } main() { print("\n----------------------------------"); print(" Baza adminów na chilliad Off"); print("----------------------------------\n"); } public OnGameModeInit() { brama = CreateObject(988, -1046.677490, -1027.419800, 128.373840, 0, 0, 24.2189); brama2 = CreateObject(988, -1037.927002, -1027.419800, 128.373840, 91.1002, 0.8594, 275.3113); //Miejsca spawnu pojazdów: CreateVehicle(522, -1006.9403, -1023.6128, 129.0773, 360, -1, -1, 120000); //spawnpoint (1) CreateVehicle(522, -1006.9403, -1023.6128, 129.0773, 360, -1, -1, 120000); //spawnpoint (2) CreateVehicle(522, -1008.7676, -1023.5928, 129.077, 360, -1, -1, 120000); //spawnpoint (3) CreateVehicle(522, -1010.5291, -1023.6248, 129.077, 360, -1, -1, 120000); //spawnpoint (4) CreateVehicle(522, -1048.6152, -1044.7078, 128.8791, 360, -1, -1, 120000); //spawnpoint (5) CreateVehicle(522, -1046.8645, -1045.1322, 128.8791, 360, -1, -1, 120000); //spawnpoint (6) CreateVehicle(522, -1050.4919, -1044.1901, 128.8791, 360, -1, -1, 120000); //spawnpoint (7) CreateVehicle(522, -1048.8826, -1037.2703, 128.8791, 151, -1, -1, 120000); //spawnpoint (8) CreateVehicle(522, -1051.4014, -1037.0774, 128.8791, 156, -1, -1, 120000); //spawnpoint (9) CreateVehicle(522, -1052.5591, -1043.6095, 128.8791, 360, -1, -1, 120000); //spawnpoint (10) CreateVehicle(522, -1011.9644, -1023.7213, 129.0746, 360, -1, -1, 120000); //spawnpoint (11) //Obiekty: CreateObject(11490, -1021.6838, -1052.0961, 128.2394, 0, 358.2811, 181.3415); CreateObject(11491, -1021.9518, -1040.8693, 129.8678, 0.8594, 0, 180.3774); CreateObject(987, -1013.612, -1066.2969, 128.3345, 0, 0, 0.8594); CreateObject(987, -1012.7852, -1066.9521, 128.2188, 0, 0, 0); CreateObject(987, -1024.5972, -1066.8086, 128.2188, 0, 0, 0); CreateObject(987, -1036.5452, -1066.9193, 128.2188, 0, 0, 0); CreateObject(987, -1048.4403, -1066.6989, 128.2362, 0, 0, 0); CreateObject(987, -1060.3907, -1066.7368, 128.2414, 0, 0, 0); CreateObject(987, -1072.5295, -1066.2163, 128.2188, 0, 0, 357.4217); CreateObject(987, -1014.0264, -1027.5769, 128.2188, 0, 0, 0); CreateObject(987, -1025.9276, -1027.5552, 128.2188, 0, 0, 0); CreateObject(987, -1037.9324, -1027.4587, 128.2119, 0, 0, 0); CreateObject(987, -1061.9702, -1027.3893, 128.2119, 0, 0, 0); CreateObject(987, -1072.1151, -1065.5906, 128.2188, 0, 0, 86.803); CreateObject(987, -1071.408, -1053.8278, 128.2188, 0, 359.1406, 82.5059); CreateObject(987, -1068.8516, -1028.2118, 128.2188, 0, 0, 4.2972); CreateObject(987, -1070.0411, -1042.3564, 128.2188, 0, 358.2811, 85.0842); CreateObject(987, -1068.6101, -1028.3156, 128.5643, 1.7189, 1.7189, 264.6026); CreateObject(976, -1046.7025, -1027.4198, 128.3738, 0, 0, 0); CreateObject(987, -1058.7163, -1027.2986, 128.2119, 0, 0, 0); CreateObject(975, -1042.652, -1027.3695, 132.8136, 0, 0, 0); CreateObject(987, -1002.0214, -1028.0597, 128.2188, 0, 0, 270.6186); CreateObject(987, -1001.6953, -1040.2108, 128.2533, 2.5783, 0, 268.8998); CreateObject(987, -1001.8007, -1066.2969, 128.3285, 0, 0, 92.8191); CreateObject(987, -1002.0529, -1060.2306, 128.2188, 0, 0, 89.3814); CreateObject(10402, -1036.5238, -1028.7894, 133.5206, 91.9597, 0, 0); CreateObject(10402, -1036.491, -1031.566, 133.5206, 270.6186, 0, 0); CreateObject(10402, -1036.552, -1034.892, 134.1703, 248.2733, 0, 0); CreateObject(11492, -1057.6354, -1040.709, 128.2076, 0, 0, 177.9033); CreateObject(11674, -1051.4246, -1062.0824, 128.4352, 0, 0, 218.1928); CreateObject(10402, -1036.6587, -1037.601, 135.2771, 246.5545, 0, 0); CreateObject(10402, -1036.4237, -1040.3853, 136.3018, 246.5545, 0, 0); CreateObject(10402, -1036.678, -1042.7356, 137.3265, 50.7067, 0, 0); CreateObject(10402, -1037.1826, -1044.9415, 138.9509, 61.0199, 0, 0); CreateObject(10402, -1036.5079, -1048.0499, 139.6774, 89.3814, 0, 0); CreateObject(10402, -1036.3834, -1051.2731, 139.6181, 89.3814, 0, 0); CreateObject(10402, -1036.4056, -1054.0806, 139.5017, 89.3814, 0, 0); CreateObject(10402, -1037.1633, -1056.6398, 138.9203, 117.7428, 0, 0); CreateObject(10402, -1038.9694, -1059.5889, 137.3456, 117.7428, 0, 0); CreateObject(10402, -1038.1697, -1061.9944, 136.0066, 117.7428, 0, 0); CreateObject(10402, -1038.134, -1064.6473, 134.4152, 300.6989, 0, 0); CreateObject(10402, -1037.9763, -1065.5343, 133.8664, 300.6989, 0, 0); CreateObject(10402, -1003.6639, -1060.3293, 132.8705, 79.9276, 0, 268.8998); CreateObject(10402, -1005.7994, -1060.4758, 133.5039, 0, 0, 91.1002); CreateObject(10402, -1005.7123, -1069.6115, 136.9302, 0, 0, 91.1002); CreateObject(10402, -1068.8566, -1067.0935, 134.6593, 22.3454, 0, 91.1002); CreateObject(10402, -1070.4258, -1077.2247, 133.481, 85.0842, 0, 91.1002); CreateObject(10402, -1068.1621, -1068.5903, 137.1861, 9.4538, 0, 91.1002); CreateObject(5442, -1032.8777, -1017.0099, 128.3364, 0, 0, 0); CreateObject(5442, -1091.4076, -1017.0552, 128.3433, 0, 0, 0); CreateObject(5442, -1147.8115, -1017.036, 134.8231, 0, 12.8916, 0); CreateObject(4644, -1225.4869, -987.2152, 146.5585, 0, 0, 0); CreateObject(17598, -1188.1644, -911.0131, 166.129, 359.1406, 337.6546, 91.1002); CreateObject(4866, -1069.9968, -803.5455, 184.0178, 0, 0, 0); CreateObject(16304, -1103.15, -801.5956, 189.203, 0, 0, 0); CreateObject(1503, -918.3434, -847.3772, 184.4119, 0, 0, 274.9158); CreateObject(1503, -918.1848, -843.3815, 184.4119, 0, 0, 274.9158); CreateObject(620, -921.0226, -747.6658, 184.0849, 0, 0, 0); CreateObject(620, -1203.2179, -746.5622, 184.0849, 0, 0, 0); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnPlayerConnect(playerid) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { return 1; } public OnPlayerDeath(playerid, killerid, reason) { return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerPrivmsg(playerid, recieverid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) return 1; { //teleport if(strcmp(cmdtext,"/bazaa",true)==0 && IsPlayerAdmin(playerid)) } //open i close baza adminów if (strcmp(/bazaopen, cmdtext, true, 10) == 0){ if(IsPlayerAdmin(playerid)) MoveObject(brama,-1046.677490, -1027.419800, 128.373840, 6); SendClientMessage(playerid, COLOR_LIGHTGREEN,"Brama otwarta :o"); return 1; } if (strcmp(/bazaclose, cmdtext , true, 10) == 0){ if(IsPlayerAdmin(playerid)) MoveObject(brama2,-1037.927002, -1027.419800, 128.373840, 6); SendClientMessage(playerid, COLOR_ORANGE,"Brama zamknięta :o"); return 1; }