Jump to content

Andrei_FTW

Membru
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutru

About Andrei_FTW

  • Rank
    Membru

Profile Information

  • Sex
    Masculin
  • Level of knowledge
    Mediu

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. #include <a_samp> #include <zcmd> new gCar[7]; new gCP[MAX_PLAYERS]; new carnetS[MAX_PLAYERS]; new carnetCP[MAX_PLAYERS]; new carnetCar[5]; new cpCP[MAX_PLAYERS]; new cpR[MAX_PLAYERS]; new gJob[MAX_PLAYERS]; new gate[1]; new status[MAX_PLAYERS]; new arma[MAX_PLAYERS]; new rob[MAX_PLAYERS]; new iesi[MAX_PLAYERS]; new RobCar[1]; new robCP[MAX_PLAYERS]; new notagain[MAX_PLAYERS]; new curiercar[20]; new curierJob[MAX_PLAYERS]; new curierCP[MAX_PLAYERS]; new gateConstructor[1]; new constructorJob[MAX_PLAYERS]; new constructorCar[14]; new constructorCP[MAX_PLAYERS]; new masinaCP[MAX_PLAYERS]; new Actor[3]; new factionSchoolCar[8]; new pFaction[MAX_PLAYERS]; new pAdmin[MAX_PLAYERS]; new Text:TDEditor_TD[2]; new cpCPR[MAX_PLAYERS]; //PFACTION// enum { DIALOG_JOBS, DIALOG_FACTION, DIALOG_FACTIONS, DIALOG_ADMINS, DIALOG_ASKIN } #if defined FILTERSCRIPT #define DIALOG_JOBS 1 #define DIALOG_FACTIONS 2 #define DIALOG_FACTION 3 #define DIALOG_ADMINS 4 #define DIALOG_ASKIN 5 #define COLOR_RED 0xAA3333AA #define COLOR_GREEN 0x33AA33AA #define COLOR_BLUE 0x0000BBAA #define COLOR_LIGHTBLUE 0x33CCFFAA #define COLOR_MIDNIGHTBLUE 0X191970AA #define COLOR_FLBLUE 0x6495EDAA #define COLOR_PINK 0xFFC0CBAA // - Light light pink #define COLOR_GOLD 0xB8860BAA #define COLOR_GREENYELLOW 0xADFF2FAA #define COLOR_INDIGO 0x4B00B0AA #define COLOR_IVORY 0xFFFF82AA public OnFilterScriptInit() { print("\n--------------------------------------"); print(" GameMode"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" GameMode"); print("----------------------------------\n"); } #endif public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("GameMode"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); gCar[0] = CreateVehicle(408, 2205.3406, -2210.6448, 13.9959, -134.4000, -1, -1, 100); gCar[1] = CreateVehicle(408, 2196.9111, -2217.7952, 13.9959, -134.4000, -1, -1, 100); gCar[2] = CreateVehicle(408, 2189.2148, -2224.9658, 13.9959, -134.4000, -1, -1, 100); gCar[3] = CreateVehicle(408, 2234.3140, -2243.9211, 13.8991, 49.3800, -1, -1, 100); gCar[4] = CreateVehicle(408, 2226.9131, -2251.6445, 13.8991, 46.8600, -1, -1, 100); gCar[5] = CreateVehicle(408, 2218.8269, -2259.6575, 13.8991, 46.8600, -1, -1, 100); gCar[6] = CreateVehicle(408, 2211.5798, -2266.2554, 13.8991, 46.8600, -1, -1, 100); gate[0] = CreateObject(975, 2235.10278, -2216.32593, 14.30171, 0.00000, 0.00000, -45.53997); CreateObject(19868, 2238.65527, -2219.77441, 12.54128, 0.00000, 0.00000, -45.36000); CreateObject(19868, 2229.35693, -2210.42383, 12.54128, 0.00000, 0.00000, -45.36000); AddStaticPickup(1239, 23, 2232.2244, -2209.7290, 13.5343); Create3DTextLabel("GUNOIER[/getjob].", -1, 2232.2244, -2209.7290, 13.5343, 10.0, 0); CreateVehicle(411, 2413.8789, -1884.6086, 13.1356, 0.0000, -1, -1, 100); gateConstructor[0] = CreateObject(975, 2717.19824, 853.81549, 11.58617, 0.00000, 0.00000, -90.36000); curiercar[0] = CreateVehicle(413, 1681.0459, 1039.7477, 10.8277, 1.8600, -1, -1, 100); curiercar[1] = CreateVehicle(413, 1677.6887, 1039.9208, 10.8277, 1.8600, -1, -1, 100); curiercar[2] = CreateVehicle(413, 1674.7059, 1039.9965, 10.8277, 1.8600, -1, -1, 100); curiercar[3] = CreateVehicle(413, 1671.2483, 1039.9684, 10.8277, 1.8600, -1, -1, 100); curiercar[4] = CreateVehicle(413, 1668.1145, 1040.1089, 10.8277, -0.9600, -1, -1, 100); curiercar[5] = CreateVehicle(413, 1664.8956, 1040.2153, 10.8277, -0.9600, -1, -1, 100); curiercar[6] = CreateVehicle(413, 1661.7546, 1040.1808, 10.8277, -0.9600, -1, -1, 100); curiercar[7] = CreateVehicle(413, 1658.6309, 1040.2365, 10.8277, -0.9600, -1, -1, 100); curiercar[8] = CreateVehicle(413, 1655.4058, 1040.2585, 10.8277, -0.9600, -1, -1, 100); curiercar[9] = CreateVehicle(413, 1652.4038, 1040.3066, 10.8277, -0.9600, -1, -1, 100); curiercar[10] = CreateVehicle(413, 1681.0984, 1028.5048, 10.8277, -178.9799, -1, -1, 100); curiercar[11] = CreateVehicle(413, 1677.4482, 1028.3954, 10.8277, -178.9799, -1, -1, 100); curiercar[12] = CreateVehicle(413, 1673.9073, 1028.2758, 10.8277, -178.9799, -1, -1, 100); curiercar[13] = CreateVehicle(413, 1671.2310, 1028.2347, 10.8277, -178.9799, -1, -1, 100); curiercar[14] = CreateVehicle(413, 1668.1907, 1028.2489, 10.8277, -179.9399, -1, -1, 100); curiercar[15] = CreateVehicle(413, 1664.9690, 1028.1864, 10.8277, -179.9399, -1, -1, 100); curiercar[16] = CreateVehicle(413, 1661.7687, 1028.2242, 10.8277, -179.9399, -1, -1, 100); curiercar[17] = CreateVehicle(413, 1658.5461, 1028.1475, 10.8277, -179.9399, -1, -1, 100); curiercar[18] = CreateVehicle(413, 1655.3047, 1028.1104, 10.8277, -179.9399, -1, -1, 100); curiercar[19] = CreateVehicle(413, 1652.2832, 1028.0702, 10.8277, -179.9399, -1, -1, 100); //ACTOR// Actor[0] = CreateActor(27, 2717.5054, 842.2597, 10.8906, 274.4401); ApplyActorAnimation(Actor[0], "DEALER", "shop_pay", 4.1, 0, 0, 0, 0, 0); Actor[2] = CreateActor(16,2240.1125, -2220.6409, 13.5701, -225.1800); //ACTOR// //TRUCK// constructorCar[0] = CreateVehicle(403, 2698.9736, 860.5952, 10.4649, -91.1400, -1, -1, 100); constructorCar[6] = CreateVehicle(403, 2699.2878, 864.1421, 10.4649, -91.1400, -1, -1, 100); constructorCar[7] = CreateVehicle(403, 2699.4812, 867.3495, 10.4649, -91.1400, -1, -1, 100); constructorCar[8] = CreateVehicle(403, 2699.5969, 871.0765, 10.4649, -91.1400, -1, -1, 100); constructorCar[9] = CreateVehicle(403, 2699.7578, 874.5936, 10.4649, -91.1400, -1, -1, 100); constructorCar[10] = CreateVehicle(403, 2699.9355, 878.2072, 10.4649, -91.1400, -1, -1, 100); constructorCar[11] = CreateVehicle(403, 2699.9553, 882.1046, 10.4649, -91.1400, -1, -1, 100); constructorCar[12] = CreateVehicle(403, 2700.1438, 885.4860, 10.4649, -88.5000, -1, -1, 100); constructorCar[13] = CreateVehicle(403, 2700.0334, 889.3771, 10.4649, -88.5000, -1, -1, 100); //TRUCK// //TRAILER// constructorCar[1] = CreateVehicle(450, 2788.4258, 2017.8077, 11.3213, -181.6800, -1, -1, 100); //TRAILER// CreateObject(19868, 2717.08521, 845.83142, 9.89060, 0.00000, 0.00000, -89.99996); CreateObject(19868, 2717.15503, 846.86127, 9.89060, 0.00000, 0.00000, -89.99996); CreateObject(19868, 2717.13208, 860.71985, 9.89060, 0.00000, 0.00000, -89.99996); //MASINILE ALEA MICI// constructorCar[2] = CreateVehicle(530, 2715.8699, 896.6053, 10.4725, -268.3800, -1, -1, 100); constructorCar[3] = CreateVehicle(530, 2715.8752, 894.9611, 10.4725, -268.3800, -1, -1, 100); constructorCar[4] = CreateVehicle(530, 2715.9104, 893.3438, 10.4725, -268.3800, -1, -1, 100); constructorCar[5] = CreateVehicle(530, 2715.9141, 891.9825, 10.4725, -268.3800, -1, -1, 100); //MASINILE ALEA MICI// //MASINI FACTIUNE SCHOOL INSTRUCTORS// factionSchoolCar[0] = CreateVehicle(445, 1891.8313, 2294.4058, 10.6606, -88.5000, 002, -1, 100); factionSchoolCar[1] = CreateVehicle(445, 1891.9409, 2297.6523, 10.6606, -88.5000, 002, -1, 100); factionSchoolCar[2] = CreateVehicle(445, 1891.8296, 2300.4304, 10.6606, -88.5000, 002, -1, 100); factionSchoolCar[3] = CreateVehicle(445, 1891.9744, 2302.9946, 10.6606, -88.5000, 002, -1, 100); factionSchoolCar[4] = CreateVehicle(426, 1891.6927, 2305.8640, 10.3770, -90.3600, 002, -1, 100); factionSchoolCar[5] = CreateVehicle(426, 1891.8667, 2308.6677, 10.3770, -90.3600, 002, -1, 100); factionSchoolCar[6] = CreateVehicle(426, 1891.9635, 2311.3501, 10.3770, -90.3600, 002, -1, 100); factionSchoolCar[7] = CreateVehicle(426, 1891.9219, 2313.9497, 10.3770, -90.3600, 002, -1, 100); //MASINI FACTIUNE SCHOOL INSTRUCTORS// AddStaticPickup(1239, 23, 1706.4504, 1025.8920, 10.7325); Create3DTextLabel("CURIER[/getjob].", -1, 1706.4504, 1025.8920, 10.7325, 10.0, 0); AddStaticPickup(1239, 23, 2718.8088, 842.5712, 10.8713); Create3DTextLabel("CONSTRUCTOR[/getjob].", -1, 2718.8088, 842.5712, 10.8713, 10.0, 0); AddStaticPickup(1239, 23, 1879.8240, 2290.4971, 10.6606); Create3DTextLabel("School Instructors [/fenter].", -1, 1879.8240, 2290.4971, 10.6606, 10.0, 0); Actor[1] = CreateActor(27, 2701.1563, 858.0469, 9.8132,274.4401); Create3DTextLabel("Urcate intr-un camion si adu Materialele de care avem nevoie.", -1, 2701.1563, 858.0469, 10.8689, 10.0, 0); CreateVehicle(450, 2702.6003, 907.3544, 11.0670, 0.0000, -1, -1, 100); CreateObject(3570, 2693.78662, 880.07288, 10.54690, 0.00000, 0.00000, -93.30001); CreateObject(3570, 2693.31494, 871.98022, 10.56381, 0.00000, 0.00000, -93.30001); CreateObject(3570, 2693.61011, 876.01514, 13.27660, 0.00000, 0.00000, -93.30001); CreateObject(16337, 2715.06006, 846.83179, 10.40109, 0.00000, 0.00000, -180.41985); TDEditor_TD[0] = TextDrawCreate(612.666931, 3.748139, "1"); TextDrawLetterSize(TDEditor_TD[0], 0.400000, 1.600000); TextDrawAlignment(TDEditor_TD[0], 1); TextDrawColor(TDEditor_TD[0], -1); TextDrawSetShadow(TDEditor_TD[0], 0); TextDrawSetOutline(TDEditor_TD[0], 1); TextDrawBackgroundColor(TDEditor_TD[0], 255); TextDrawFont(TDEditor_TD[0], 1); TextDrawSetProportional(TDEditor_TD[0], 1); TextDrawSetShadow(TDEditor_TD[0], 0); TDEditor_TD[1] = TextDrawCreate(503.666748, 7.896407, "ADMINS_ONLINE"); TextDrawLetterSize(TDEditor_TD[1], 0.397666, 0.853333); TextDrawAlignment(TDEditor_TD[1], 1); TextDrawColor(TDEditor_TD[1], -1); TextDrawSetShadow(TDEditor_TD[1], 10); TextDrawSetOutline(TDEditor_TD[1], 1); TextDrawBackgroundColor(TDEditor_TD[1], 255); TextDrawFont(TDEditor_TD[1], 3); TextDrawSetProportional(TDEditor_TD[1], 1); TextDrawSetShadow(TDEditor_TD[1], 10); for(new i = 0; i < MAX_PLAYERS; i++) { if(!IsPlayerConnected(i)) continue; OnPlayerConnect(i); } CreateVehicle(411, 2031.9517, 1342.1719, 10.5169, 0.0000, -1, -1, 100); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetSpawnInfo(playerid, 0, 0, 1879.8240, 2290.4971, 10.6606, 269.15, 26, 36, 28, 150, 0, 0); return 1; } public OnPlayerConnect(playerid) { RemoveBuildingForPlayer(playerid, 5305, 2198.8516, -2213.9219, 14.8828, 0.25); RemoveBuildingForPlayer(playerid, 3747, 2234.3906, -2244.8281, 14.9375, 0.25); RemoveBuildingForPlayer(playerid, 3747, 2226.9688, -2252.1406, 14.9375, 0.25); RemoveBuildingForPlayer(playerid, 3747, 2219.4219, -2259.5234, 14.8828, 0.25); RemoveBuildingForPlayer(playerid, 3747, 2212.0938, -2267.0703, 14.9375, 0.25); RemoveBuildingForPlayer(playerid, 3747, 2204.6328, -2274.4141, 14.9375, 0.25); RemoveBuildingForPlayer(playerid, 3569, 2204.6328, -2274.4141, 14.9375, 0.25); RemoveBuildingForPlayer(playerid, 3569, 2212.0938, -2267.0703, 14.9375, 0.25); RemoveBuildingForPlayer(playerid, 3569, 2219.4219, -2259.5234, 14.8828, 0.25); RemoveBuildingForPlayer(playerid, 3569, 2226.9688, -2252.1406, 14.9375, 0.25); RemoveBuildingForPlayer(playerid, 3569, 2234.3906, -2244.8281, 14.9375, 0.25); RemoveBuildingForPlayer(playerid, 5244, 2198.8516, -2213.9219, 14.8828, 0.25); RemoveBuildingForPlayer(playerid, 3594, 2450.4609, -1890.7813, 13.1641, 0.25); RemoveBuildingForPlayer(playerid, 11618, -688.117, 939.179, 11.125, 0.250); RemoveBuildingForPlayer(playerid, 11654, -681.875, 965.890, 11.125, 0.250); RemoveBuildingForPlayer(playerid, 11491, -688.109, 928.132, 12.625, 0.250); RemoveBuildingForPlayer(playerid, 11490, -688.117, 939.179, 11.125, 0.250); RemoveBuildingForPlayer(playerid, 11631, -691.593, 942.718, 13.875, 0.250); RemoveBuildingForPlayer(playerid, 11663, -688.117, 939.179, 11.125, 0.250); RemoveBuildingForPlayer(playerid, 11666, -688.140, 934.820, 14.390, 0.250); RemoveBuildingForPlayer(playerid, 11664, -685.093, 941.914, 13.140, 0.250); RemoveBuildingForPlayer(playerid, 11665, -685.171, 935.695, 13.320, 0.250); RemoveBuildingForPlayer(playerid, 11492, -681.875, 965.890, 11.125, 0.250); RemoveBuildingForPlayer(playerid, 691, -701.742, 1006.130, 11.585, 0.250); RemoveBuildingForPlayer(playerid, 691, -665.890, 1004.179, 11.585, 0.250); RemoveBuildingForPlayer(playerid, 691, -652.554, 999.906, 11.585, 0.250); RemoveBuildingForPlayer(playerid, 691, -619.968, 1019.429, 8.570, 0.250); RemoveBuildingForPlayer(playerid, 705, -621.859, 985.890, 8.078, 0.250); RemoveBuildingForPlayer(playerid, 691, -773.992, 813.593, 11.375, 0.250); RemoveBuildingForPlayer(playerid, 705, -756.351, 871.156, 10.929, 0.250); RemoveBuildingForPlayer(playerid, 1685, 2695.5313, 898.5078, 9.9766, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2696.2344, 904.6328, 10.1875, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2696.2344, 904.6328, 11.6953, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2698.3750, 904.9219, 10.1797, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2698.7734, 897.8047, 9.9766, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2701.2813, 902.2891, 10.0938, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2701.5703, 908.3281, 10.3516, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2695.0078, 909.0859, 10.3828, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2699.5000, 911.9219, 10.5000, 0.2); RemoveBuildingForPlayer(playerid, 1685, 2695.0078, 909.0859, 10.3828, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2699.5000, 911.9219, 10.5000, 0.25); RemoveBuildingForPlayer(playerid, 3502, 2699.5703, 863.6797, 10.6641, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2701.2813, 902.2891, 10.0938, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2701.5703, 908.3281, 10.3516, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2695.0078, 909.0859, 10.3828, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2699.5000, 911.9219, 10.5000, 0.25); RemoveBuildingForPlayer(playerid, 3502, 2690.8516, 855.8672, 10.4453, 0.25); RemoveBuildingForPlayer(playerid, 3502, 2690.5781, 866.7188, 10.4609, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2694.6094, 889.3672, 9.7734, 0.25); RemoveBuildingForPlayer(playerid, 3502, 2695.1875, 877.3594, 10.8438, 0.25); RemoveBuildingForPlayer(playerid, 1685, 2700.9688, 890.0078, 9.7656, 0.25); RemoveBuildingForPlayer(playerid, 3502, 2699.7500, 877.3828, 10.8438, 0.25); RemoveBuildingForPlayer(playerid, 3502, 2699.5703, 863.6797, 10.6641, 0.25); RemoveBuildingForPlayer(playerid, 691, -619.9688, 1019.4297, 8.5703, 0.25); carnetS[playerid] = 0; cpCP[playerid] = 0; gJob[playerid] = 0; carnetS[playerid] = 0; cpR[playerid] = 0; gCP[playerid] = 0; curierJob[playerid] = 0; gJob[playerid] = 0; constructorJob[playerid] = 0; pFaction[playerid] = 0; TextDrawShowForAll(Text:TDEditor_TD[0]); TextDrawShowForAll(Text:TDEditor_TD[1]); return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { gCP[playerid] = 0; 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 OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { if(vehicleid == curiercar[11] || vehicleid == curiercar[12] || vehicleid == curiercar[13] || vehicleid == curiercar[14] || vehicleid == curiercar[15] || vehicleid == curiercar[16] || vehicleid == curiercar[17] || vehicleid == curiercar[18] || vehicleid == curiercar[19]) if (vehicleid == gCar[0] || vehicleid == gCar[1] || vehicleid == gCar[2] || vehicleid == gCar[3] || vehicleid == gCar[4] || vehicleid == gCar[5] || vehicleid == gCar[6]) { } if (vehicleid == carnetCar[0] || vehicleid == carnetCar[1] || vehicleid == carnetCar[2] || vehicleid == carnetCar[3] || vehicleid == carnetCar[4]) { SetVehicleToRespawn(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0xAA3333AA, "Nu ai luat permisul de conducere.Incearca alta data."); DisablePlayerCheckpoint(playerid); } if(vehicleid == curiercar[0] || vehicleid == curiercar[1] || vehicleid == curiercar[2] || vehicleid == curiercar[3] || vehicleid == curiercar[4] || vehicleid == curiercar[5] || vehicleid == curiercar[6] || vehicleid == curiercar[7] || vehicleid == curiercar[8] || vehicleid == curiercar[9] || vehicleid == curiercar[10]) { SetVehicleToRespawn(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0xAA3333AA, "Ai esuat job-ul pentru ca ai iesit din masina."); DisablePlayerCheckpoint(playerid); } if(vehicleid == constructorCar[0]) { SetVehicleToRespawn(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0xAA3333AA, "Ai esuat job-ul pentru ca ai iesit din masina."); DisablePlayerCheckpoint(playerid); } if(vehicleid == constructorCar[2] || vehicleid == constructorCar[3] || vehicleid == constructorCar[4] || vehicleid == constructorCar[5]) { SetVehicleToRespawn(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0xAA3333AA, "Ai esuat job-ul pentru ca ai iesit din masina."); DisablePlayerCheckpoint(playerid); } if(vehicleid == constructorCar[0] || vehicleid == constructorCar[6] || vehicleid == constructorCar[7] || vehicleid == constructorCar[8] || vehicleid == constructorCar[9] || vehicleid == constructorCar[10] || vehicleid == constructorCar[11] || vehicleid == constructorCar[12] || vehicleid == constructorCar[13]) { SetVehicleToRespawn(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0xAA3333AA, "Ai esuat job-ul pentru ca ai iesit din masina."); DisablePlayerCheckpoint(playerid); } return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { if (newstate == PLAYER_STATE_DRIVER) { new vehicleid = GetPlayerVehicleID(playerid); if (gJob[playerid] == 1) if (carnetS[playerid] == 1) if (vehicleid == gCar[0] || vehicleid == gCar[1] || vehicleid == gCar[2] || vehicleid == gCar[3] || vehicleid == gCar[4] || vehicleid == gCar[5] || vehicleid == gCar[6]) { gCP[playerid] = 1; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2234.3193, -2216.0981, 13.9959, 5.0); } if (carnetS[playerid] == 0) if (vehicleid == carnetCar[0] || vehicleid == carnetCar[1] || vehicleid == carnetCar[2] || vehicleid == carnetCar[3] || vehicleid == carnetCar[4]) { carnetCP[playerid] = 1; SetPlayerCheckpoint(playerid,2423.9114, -1881.8843, 13.2334, 5.0); } if (gJob[playerid] == 0) if (vehicleid == gCar[0] || vehicleid == gCar[1] || vehicleid == gCar[2] || vehicleid == gCar[3] || vehicleid == gCar[4] || vehicleid == gCar[5] || vehicleid == gCar[6]) { SendClientMessage(playerid, 0xAA3333AA, "Nu esti angajat la job-ul de Gunoier."); RemovePlayerFromVehicle(playerid); SetPlayerCheckpoint(playerid,2228.6580, -2218.6255, 13.9959, 5.0); } if(notagain[playerid] == 0) if(vehicleid == RobCar[0]) { SetPlayerCheckpoint(playerid,157.6557, -22.3493, 1.5190,5.0); robCP[playerid] =1; } if(notagain[playerid] != 0) if(vehicleid == RobCar[0]) { SendClientMessage(playerid,-1,"Nu poti intra inapoi in masina :P"); } if(carnetS[playerid] == 1) if(curierJob[playerid] == 1) if(vehicleid == curiercar[0] || vehicleid == curiercar[1] || vehicleid == curiercar[2] || vehicleid == curiercar[3] || vehicleid == curiercar[4] || vehicleid == curiercar[5] || vehicleid == curiercar[6] || vehicleid == curiercar[7] || vehicleid == curiercar[8] || vehicleid == curiercar[9] || vehicleid == curiercar[10]) { SetPlayerCheckpoint(playerid,1145.6660, 1366.9435, 10.7663,5.0); curierCP[playerid] = 1; } if(curierJob[playerid] != 1) { SendClientMessage(playerid,-1,"Intai trebuie sa detii acest job"); } if(vehicleid == curiercar[11] || vehicleid == curiercar[12] || vehicleid == curiercar[13] || vehicleid == curiercar[14] || vehicleid == curiercar[15] || vehicleid == curiercar[16] || vehicleid == curiercar[17] || vehicleid == curiercar[18] || vehicleid == curiercar[19]) { SetPlayerCheckpoint(playerid,1145.6660, 1366.9435, 10.7663,5.0); curierCP[playerid] = 1; } if(carnetS[playerid] == 0) { RemovePlayerFromVehicle(playerid); SetVehicleToRespawn(GetPlayerVehicleID(playerid)); SendClientMessage(playerid,0xAA3333AA, "Inainte de a conduce , ar trebui sa ai carnet-ul de conducere .. Zic si eu."); } if(curierJob[playerid] == 0) if(constructorJob[playerid] == 1) if(carnetS[playerid] == 1) if(vehicleid == constructorCar[0] || vehicleid == constructorCar[6] || vehicleid == constructorCar[7] || vehicleid == constructorCar[8] || vehicleid == constructorCar[9] || vehicleid == constructorCar[10] || vehicleid == constructorCar[11] || vehicleid == constructorCar[12] || vehicleid == constructorCar[13]) { SendClientMessage(playerid,-1,"Du-te la checkpoint pentru a luat materialele pentru lucrare."); constructorCP[playerid] = 1; SetPlayerCheckpoint(playerid,2795.8804, 1978.6499, 10.7842,5.0); } if(constructorJob[playerid] == 1) if(masinaCP[playerid] == 1) if(vehicleid == constructorCar[2] || vehicleid == constructorCar[3] || vehicleid == constructorCar[4] || vehicleid == constructorCar[5]) { SetPlayerCheckpoint(playerid,2698.7734, 897.8047, 9.9766,5.0); masinaCP[playerid] = 2; } if(constructorJob[playerid] == 0) if(masinaCP[playerid] == 0) if(vehicleid == constructorCar[2] || vehicleid == constructorCar[3] || vehicleid == constructorCar[4] || vehicleid == constructorCar[5]) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid,-1,"Intai trebuie sa te urci in Truck si sa aduci materialele."); } if(pFaction[playerid] == 1) if(vehicleid == factionSchoolCar[0] || vehicleid == factionSchoolCar[1] || vehicleid == factionSchoolCar[2] || vehicleid == factionSchoolCar[3] || vehicleid == factionSchoolCar[4] || vehicleid == factionSchoolCar[5] || vehicleid == factionSchoolCar[6] || vehicleid == factionSchoolCar[7]) { SendClientMessage(playerid,-1,"Ai intrat in masina de Instructori"); } if(pFaction[playerid] == 0) if(vehicleid == factionSchoolCar[0] || vehicleid == factionSchoolCar[1] || vehicleid == factionSchoolCar[2] || vehicleid == factionSchoolCar[3] || vehicleid == factionSchoolCar[4] || vehicleid == factionSchoolCar[5] || vehicleid == factionSchoolCar[6] || vehicleid == factionSchoolCar[7]) { RemovePlayerFromVehicle(playerid); SetVehicleToRespawn(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0xAA3333AA, "Nu esti in factiunea School Instructors"); } if(gJob[playerid] == 0) if (vehicleid == gCar[0] || vehicleid == gCar[1] || vehicleid == gCar[2] || vehicleid == gCar[3] || vehicleid == gCar[4] || vehicleid == gCar[5] || vehicleid == gCar[6]) { RemovePlayerFromVehicle(playerid); } if(constructorJob[playerid] == 0) if(vehicleid == constructorCar[2] || vehicleid == constructorCar[3] || vehicleid == constructorCar[4] || vehicleid == constructorCar[5]) { RemovePlayerFromVehicle(playerid); SetVehicleToRespawn(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0xAA3333AA, "Nu ai job-ul de Constructor."); } if(curierJob[playerid] == 0) if(vehicleid == curiercar[0] || vehicleid == curiercar[1] || vehicleid == curiercar[2] || vehicleid == curiercar[3] || vehicleid == curiercar[4] || vehicleid == curiercar[5] || vehicleid == curiercar[6] || vehicleid == curiercar[7] || vehicleid == curiercar[8] || vehicleid == curiercar[9] || vehicleid == curiercar[10]) { RemovePlayerFromVehicle(playerid); SetVehicleToRespawn(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0xAA3333AA, "Nu ai job-ul de Curier"); } if(curierJob[playerid] == 0) if(vehicleid == curiercar[11] || vehicleid == curiercar[12] || vehicleid == curiercar[13] || vehicleid == curiercar[14] || vehicleid == curiercar[15] || vehicleid == curiercar[16] || vehicleid == curiercar[17] || vehicleid == curiercar[18] || vehicleid == curiercar[19]) { RemovePlayerFromVehicle(playerid); SetVehicleToRespawn(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0xAA3333AA, "Nu ai job-ul de Curier"); } } return 1; } public OnPlayerEnterCheckpoint(playerid) { if (gCP[playerid] == 1) { DisablePlayerCheckpoint(playerid); gCP[playerid] = 2; SetPlayerCheckpoint(playerid, 2222.8477, -2189.8054, 13.9959, 5.0); } else if (gCP[playerid] == 2) { DisablePlayerCheckpoint(playerid); gCP[playerid] = 3; SetPlayerCheckpoint(playerid, 2202.4475, -2168.3899, 13.9959, 5.0); } else if (gCP[playerid] == 3) { DisablePlayerCheckpoint(playerid); gCP[playerid] = 4; SetPlayerCheckpoint(playerid, 2163.4036, -2131.6746, 13.9959, 5.0); } else if (gCP[playerid] == 4) { DisablePlayerCheckpoint(playerid); gCP[playerid] = 5; SetPlayerCheckpoint(playerid, 2086.0432, -2110.1313, 13.9959, 5.0); } else if (gCP[playerid] == 5) { DisablePlayerCheckpoint(playerid); gCP[playerid] = 6; SetPlayerCheckpoint(playerid, 1994.4922, -2109.8152, 13.9959, 5.0); } else if (gCP[playerid] == 6) { DisablePlayerCheckpoint(playerid); gCP[playerid] = 7; SetPlayerCheckpoint(playerid, 1961.4773, -2151.4639, 13.9959, 5.0); } else if (gCP[playerid] == 7) { DisablePlayerCheckpoint(playerid); gCP[playerid] = 8; SetPlayerCheckpoint(playerid, 1995.4393, -2166.0601, 13.9959, 5.0); } else if (gCP[playerid] == 8) { DisablePlayerCheckpoint(playerid); gCP[playerid] = 9; SetPlayerCheckpoint(playerid, 2130.3655, -2211.1946, 13.9959, 5.0); } else if (gCP[playerid] == 9) { DisablePlayerCheckpoint(playerid); gCP[playerid] = 10; SetPlayerCheckpoint(playerid, 2186.6199, -2177.0515, 13.9959, 5.0); } else if (gCP[playerid] == 10) { DisablePlayerCheckpoint(playerid); gCP[playerid] = 11; SetPlayerCheckpoint(playerid, 2228.6580, -2218.6255, 13.9959, 5.0); } else if (gCP[playerid] == 11) { DisablePlayerCheckpoint(playerid); gCP[playerid] = 0; SetVehicleToRespawn(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0x33AA33AA, "Ai terminat job-ul de Gunoier si ai primit suma de 10000"); GivePlayerMoney(playerid, 10000); } //AICI ESTE CARNETCP// if (carnetCP[playerid] == 1) { DisablePlayerCheckpoint(playerid); carnetCP[playerid] = 2; SetPlayerCheckpoint(playerid, 950.0464, 1733.0579, 8.7803, 5.0); } else if (carnetCP[playerid] == 2) { DisablePlayerCheckpoint(playerid); carnetCP[playerid] = 3; SetPlayerCheckpoint(playerid, 2413.7466, -1968.3859, 13.2334, 5.0); } else if (carnetCP[playerid] == 3) { DisablePlayerCheckpoint(playerid); carnetCP[playerid] = 4; SetPlayerCheckpoint(playerid, 2223.5471, -1971.5023, 13.2334, 5.0); } else if (carnetCP[playerid] == 4) { DisablePlayerCheckpoint(playerid); carnetCP[playerid] = 5; SetPlayerCheckpoint(playerid, 2217.1355, -1750.2382, 13.2334, 5.0); } else if (carnetCP[playerid] == 5) { DisablePlayerCheckpoint(playerid); carnetCP[playerid] = 6; SetPlayerCheckpoint(playerid, 2411.9629, -1750.8976, 13.2334, 5.0); } else if (carnetCP[playerid] == 6) { DisablePlayerCheckpoint(playerid); carnetCP[playerid] = 7; SetPlayerCheckpoint(playerid, 2414.4924, -1869.4421, 13.2334, 5.0); } else if (carnetCP[playerid] == 7) { DisablePlayerCheckpoint(playerid); carnetCP[playerid] = 0; SetVehicleToRespawn(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, 0x33AA33AA, "Ai primit carnetul de conducere."); carnetS[playerid] = 1; } if (cpCP[playerid] == 1) { DisablePlayerCheckpoint(playerid); cpCP[playerid] = 2; SendClientMessage(playerid, 0x33AA33AA, "Ai ajuns la destinatie."); } if (gCP[playerid] == 1) { DisablePlayerCheckpoint(playerid); gCP[playerid] = 0; SendClientMessage(playerid, 0x33AA33AA, "Ai ajuns la destinatie."); } if (cpR[playerid] == 1) { DisablePlayerCheckpoint(playerid); cpR[playerid] = 0; SendClientMessage(playerid, 0x33AA33AA, "Ai ajuns la destinatie."); } if (cpR[playerid] == 2) { DisablePlayerCheckpoint(playerid); cpR[playerid] = 0; SendClientMessage(playerid, 0x33AA33AA, "Ai ajuns la destinatie."); } if (cpR[playerid] == 3) { DisablePlayerCheckpoint(playerid); cpR[playerid] = 0; SendClientMessage(playerid, 0x33AA33AA, "Ai ajuns la destinatie."); } if(robCP[playerid] == 1) { DisablePlayerCheckpoint(playerid); SetVehicleToRespawn(GetPlayerVehicleID(playerid)); RemovePlayerFromVehicle(GetPlayerVehicleID(playerid)); notagain[playerid] = 1; SendClientMessage(playerid,-1,"Ai jefuit banca cu succes!"); CreateVehicle(560, 227.4312, 24.8603, 2.1498, -539.6397, -1, -1, 100); robCP[playerid] =2; SetPlayerCheckpoint(playerid,227.4312, 24.8603, 2.1498,5.0); } if(robCP[playerid] == 2) { SendClientMessage(playerid,-1,"Poti pleca din aceasta zona cu aceasta masina (SULTAN)"); } if(curierCP[playerid] == 1) { DisablePlayerCheckpoint(playerid); curierCP[playerid] = 2; SetPlayerCheckpoint(playerid,950.5135, 1733.6306, 8.6772,5.0); } else if(curierCP[playerid] == 2) { DisablePlayerCheckpoint(playerid); curierCP[playerid] = 3; SetPlayerCheckpoint(playerid,1021.1517, 1968.9835, 10.9446,5.0); } else if(curierCP[playerid] == 3) { DisablePlayerCheckpoint(playerid); curierCP[playerid] = 4; SetPlayerCheckpoint(playerid,992.1643, 2281.5032, 11.0441,5.0); } else if(curierCP[playerid] == 4) { DisablePlayerCheckpoint(playerid); curierCP[playerid] = 5; SetPlayerCheckpoint(playerid,1305.3225, 2022.1091, 11.2453,5.0); } else if(curierCP[playerid] == 5) { DisablePlayerCheckpoint(playerid); curierCP[playerid] = 6; SetPlayerCheckpoint(playerid,1583.3149, 1926.5422, 10.7646,5.0); } else if(curierCP[playerid] == 6) { DisablePlayerCheckpoint(playerid); curierCP[playerid] = 7; SetPlayerCheckpoint(playerid,1726.0870, 1601.3512, 10.0469,5.0); } else if(curierCP[playerid] == 7) { DisablePlayerCheckpoint(playerid); curierCP[playerid] = 8; SetPlayerCheckpoint(playerid,1701.7599, 1043.7557, 10.8183,5.0); } else if(curierCP[playerid] == 8) { DisablePlayerCheckpoint(playerid); SetVehicleToRespawn(GetPlayerVehicleID(playerid)); curierCP[playerid] = 0; SendClientMessage(playerid,-1,"Ai primit suma de : 50.000$ pentru efortul depus."); GivePlayerMoney(playerid, 50000); } if(constructorCP[playerid] == 1) { AttachTrailerToVehicle(constructorCar[1], constructorCar[0]); SetPlayerCheckpoint(playerid,2702.6780, 896.8066, 10.3556,5.0); constructorCP[playerid] = 2; SendClientMessage(playerid,-1,"Ai luat materialele de care ai nevoie , acum intoarce-te inapoi."); } if(IsTrailerAttachedToVehicle(constructorCar[0]) && constructorCP[playerid] == 2) { SetVehicleToRespawn(GetPlayerVehicleID(playerid)); RemovePlayerFromVehicle(GetPlayerVehicleID(playerid)); DisablePlayerCheckpoint(playerid); RemovePlayerFromVehicle(playerid); SetVehicleToRespawn(constructorCar[1]); CreateVehicle(450, 2699.1699, 907.3267, 11.0670, 0.0000, -1, -1, 100); DisablePlayerCheckpoint(playerid); constructorCP[playerid] = 0; SendClientMessage(playerid,-1,"Acum du materialele cu una dintre masinile mici."); masinaCP[playerid] = 1; SetPlayerCheckpoint(playerid,2715.9141, 891.9825, 10.4725,5.0); } if(!IsTrailerAttachedToVehicle(constructorCar[0])) if(constructorCP[playerid] == 2) { SendClientMessage(playerid,-1,"Ai pierdut trailer-ul pe drum recupereaza-l."); } if(masinaCP[playerid] == 1) { DisablePlayerCheckpoint(playerid); } if(masinaCP[playerid] == 2) { DisablePlayerCheckpoint(playerid); masinaCP[playerid] = 3; SetPlayerCheckpoint(playerid,2691.2505, 798.9225, 10.8872,5.0); } else if(masinaCP[playerid] == 3) { DisablePlayerCheckpoint(playerid); masinaCP[playerid] = 4; SetPlayerCheckpoint(playerid,2715.9141, 891.9825, 10.4725,5.0); SendClientMessage(playerid,-1,"Du-te inapoi pentru a termina job-ul"); } else if(masinaCP[playerid] == 4) { SetVehicleToRespawn(GetPlayerVehicleID(playerid)); RemovePlayerFromVehicle(GetPlayerVehicleID(playerid)); DisablePlayerCheckpoint(playerid); masinaCP[playerid] = 0; SendClientMessage(playerid,-1,"Ai terminat job-ul si ai primit 150.000$"); GivePlayerMoney(playerid, 150000); } if(cpCPR[playerid] == 1) { DisablePlayerCheckpoint(playerid); SendClientMessage(playerid, 0x33AA33AA, "Ai ajuns la destinatie."); } return 1; } public OnPlayerLeaveCheckpoint(playerid) { if (cpCP[playerid] == 1) { DisablePlayerCheckpoint(playerid); cpCP[playerid] = 2; } if(robCP[playerid] == 2) { DisablePlayerCheckpoint(playerid); } return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnVehicleMod(playerid, vehicleid, componentid) { return 1; } public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { return 1; } public OnVehicleRespray(playerid, vehicleid, color1, color2) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { return 1; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { return 1; } public OnRconLoginAttempt(ip[], password[], success) { return 1; } public OnPlayerUpdate(playerid) { if (gJob[playerid] == 1) if (IsPlayerInRangeOfPoint(playerid, 5.0, 2237.0044, -2213.7708, 12.5413)) { MoveObject(gate[0], 2226.0571, -2207.4116, 14.3017, 5); SetTimer("CloseGate", 4000,0); } if(constructorJob[playerid] == 1) if(IsPlayerInRangeOfPoint(playerid, 5.0, 2721.1318, 854.4887, 11.5862)) { MoveObject(gateConstructor[0], 2717.0298, 863.2715, 11.5862, 5); SetTimer("CloseGate2", 4000,0); } if(constructorJob[playerid] == 1) if(IsPlayerInRangeOfPoint(playerid, 5.0, 2714.0530, 853.1594, 11.5862)) { MoveObject(gateConstructor[0], 2717.0298, 863.2715, 11.5862, 5); SetTimer("CloseGate2", 4000,0); } return 1; } forward closeGate(gateid); public closeGate(gateid) { MoveObject(gate[0], 2235.10278, -2216.32593, 14.30171, 5); return 1; } forward CloseGate2(); public CloseGate2() { MoveObject(gateConstructor[0] , 2717.19824, 853.81549, 11.58617, 5); return 1; } public OnPlayerStreamIn(playerid, forplayerid) { return 1; } public OnPlayerStreamOut(playerid, forplayerid) { return 1; } public OnVehicleStreamIn(vehicleid, forplayerid) { return 1; } public OnVehicleStreamOut(vehicleid, forplayerid) { return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if (dialogid == DIALOG_JOBS) { if (response) { switch(listitem) { case 0: { SendClientMessage(playerid,-1,"A fost pus checkpoint-ul catre job-ul de Garbage Man"); SetPlayerCheckpoint(playerid, 2232.2244, -2209.7290, 13.5343,5.0); cpR[playerid] =1 ; } case 1: { SendClientMessage(playerid,-1,"A fost pus checkpoint-ul catre job-ul de Curier"); SetPlayerCheckpoint(playerid,1706.4504, 1025.8920, 10.7325,5.0); cpR[playerid] = 2; } case 2: { SendClientMessage(playerid,-1,"A fost pus checkpoint-ul catre job-ul de Constructor"); SetPlayerCheckpoint(playerid,2718.8088, 842.5712, 10.8713,5.0); cpR[playerid] = 3; } } } else SendClientMessage(playerid, 0xAA3333AA, "Ai anulat comanda"); } if(dialogid == DIALOG_FACTIONS) { if (response) { SendClientMessage(playerid,-1,"A fost pus checkpoint-ul catre factiunea School Instructors"); SetPlayerCheckpoint(playerid,1879.8240, 2290.4971, 10.6606,5.0); } else SendClientMessage(playerid,0xAA3333AA, "Ai anulat comanda"); } if(dialogid == DIALOG_FACTION) { if (response) { switch(listitem) { case 0: { SetPlayerSkin(playerid,153); } case 1: { SetPlayerSkin(playerid,172); } case 2: { SetPlayerSkin(playerid,171); } } } else SendClientMessage(playerid, 0xAA3333AA, "Ai anulat comanda"); } if(dialogid == DIALOG_FACTIONS) { if (response) { switch(listitem) { case 0 : { SetPlayerCheckpoint(playerid,1879.8240, 2290.4971, 10.6606,5.0); cpCPR[playerid] = 1; } } } } if(dialogid == DIALOG_ASKIN) { if (response) { switch(listitem) { case 0 : SetPlayerSkin(playerid, 211); case 1 : SetPlayerSkin(playerid, 217); } } } else SendClientMessage(playerid, 0xAA3333AA, "Ai anulat comanda"); return 1; } public OnPlayerClickPlayer(playerid, clickedplayerid, source) { return 1; } CMD:examen(playerid, params[]) { if (carnetS[playerid] == 0) if (cpCP[playerid] == 2) if (IsPlayerInRangeOfPoint(playerid, 5.0, 2458.7732, -1891.1165, 13.6753)) { SendClientMessage(playerid, 0xAA3333AA, "Acum dai testul pentru carnetul de sofer."); carnetCar[0] = CreateVehicle(439, 2441.8826, -1900.2292, 13.2334, -89.9400, -1, -1, 100); carnetCar[1] = CreateVehicle(439, 2442.0518, -1896.7581, 13.2334, -89.9400, -1, -1, 100); carnetCar[2] = CreateVehicle(439, 2442.0420, -1893.7211, 13.2334, -89.9400, -1, -1, 100); carnetCar[3] = CreateVehicle(439, 2442.2959, -1890.1945, 13.2334, -89.9400, -1, -1, 100); carnetCar[4] = CreateVehicle(439, 2442.5054, -1886.5631, 13.2334, -89.9400, -1, -1, 100); } if (!IsPlayerInRangeOfPoint(playerid, 5.0, 2458.7732, -1891.1165, 13.6753)) { SendClientMessage(playerid, 0xAA3333AA, "Nu esti in locul in care poti folosi aceasta comanda."); SetPlayerCheckpoint(playerid, 2458.7732, -1891.1165, 13.6753, 5.0); cpCP[playerid] = 1; } return 1; } CMD:jobs(playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_JOBS, DIALOG_STYLE_LIST, "Locatii Joburi:", "Garbage Man\n\ Curier\n\ Constructor\n", "Select", "Cancel"); return 1; } CMD:getjob(playerid, params[]) { if(constructorJob[playerid] == 0) if(curierJob[playerid] == 0) if (gJob[playerid] == 0) if (IsPlayerInRangeOfPoint(playerid, 5.0, 2232.2244, -2209.7290, 13.5343)) { SetPlayerSkin(playerid,16); SendClientMessage(playerid, 0x33AA33AA, "Acum esti Gunoier si poti munci la acest job."); gJob[playerid] = 1; } if(!IsPlayerInRangeOfPoint(playerid,7.0,2718.8088, 842.5712, 10.8713)) if(!IsPlayerInRangeOfPoint(playerid, 5.0, 2232.2244, -2209.7290, 13.5343)) if (!IsPlayerInRangeOfPoint(playerid, 5.0, 2232.2244, -2209.7290, 13.5343)) { SendClientMessage(playerid, 0xAA3333AA, "Nu esti la niciunul dintre locurile in care te poti angaja, foloseste [/jobs]"); } if(constructorJob[playerid] == 0) if(gJob[playerid] == 0) if(curierJob[playerid] == 0) if(IsPlayerInRangeOfPoint(playerid,5.0,1706.4504, 1025.8920, 10.7325)) { SetPlayerSkin(playerid,189); SendClientMessage(playerid,0x33AA33AA,"Acum ai job-ul de Curier."); curierJob[playerid] = 1; } if(curierJob[playerid] == 1 || gJob[playerid] == 1 || constructorJob[playerid] == 1) { SendClientMessage(playerid,0xAA3333AA,"Ai deja un job. Foloseste [/quitjob]"); } if(gJob[playerid] == 0) if(curierJob[playerid] == 0) if(constructorJob[playerid] == 0) if(IsPlayerInRangeOfPoint(playerid,5.0,2718.8088, 842.5712, 10.8713)) { SetPlayerSkin(playerid,27); constructorJob[playerid] = 1; SendClientMessage(playerid,0x33AA33AA,"(CONSTRUCTOR):Acum ai job-ul de Constructor"); } return 1; } CMD:quitjob(playerid, params[]) { if (gJob[playerid] == 1) { gJob[playerid] = 0; SendClientMessage(playerid, 0xAA3333AA, "Acum esti somer"); } if (gJob[playerid] == 0 || curierJob[playerid] == 0 || constructorJob[playerid] == 0) { SendClientMessage(playerid, 0xAA3333AA, "Nu ai un job [/jobs] , iar cand ajungi la unul [/getjob]."); } if(curierJob[playerid] == 1) { SendClientMessage(playerid,0xAA3333AA,"Acum esti somer."); curierJob[playerid] = 0; } if(constructorJob[playerid] == 1) { SendClientMessage(playerid,0xAA3333AA,"Acum esti somer"); } return 1; } CMD:conducere(playerid, params[]) { SendClientMessage(playerid,0x33AA33AA,"Ai primit permisul de conducere!"); carnetS[playerid] = 1; return 1; } CMD:dmv(playerid, params[]) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,5.0, 2234.5349, -2215.3022, 14.3017); return 1; } CMD:rob1(playerid, params[]) { if(arma[playerid] == 0) if(iesi[playerid] == 0) if(IsPlayerInRangeOfPoint(playerid,5.0,1438.2968, -1094.7412, 17.6235)) { SendClientMessage(playerid,0x33AA33AA,"Ai luat un deagle acum du-te la Banca."); status[playerid] = 1; SetPlayerCheckpoint(playerid,1386.7471, -1016.2060, 26.4962,5.0); GivePlayerWeapon(playerid,24,999); arma[playerid] = 1; } if(!IsPlayerInRangeOfPoint(playerid,5.0,1438.2968, -1094.7412, 17.6235)) { SendClientMessage(playerid,0xAA3333AA,"Nu esti in acel loc."); SetPlayerCheckpoint(playerid,1438.2968, -1094.7412, 17.6235,5.0); } if (arma[playerid] == 1) if(iesi[playerid] == 1) { SendClientMessage(playerid,0xAA3333AA,"Ai primit deja pistol"); } return 1; } CMD:rob2(playerid, params[]) { if(iesi[playerid] == 0) if(rob[playerid] == 0) if(arma[playerid] == 1) if(IsPlayerInRangeOfPoint(playerid,5.0,1386.7471, -1016.2060, 26.4962)) { SetPlayerPos(playerid,2315.952880,-1.618174,26.742187); SetPlayerInterior(playerid, 0); SendClientMessage(playerid,-1,"Repede [/rob3] si fugi cu banii furati!![/exit]"); } if(!IsPlayerInRangeOfPoint(playerid,5.0,1386.7471, -1016.2060, 26.4962)) { SendClientMessage(playerid,0xAA3333AA,"Nu esti in acel loc"); SetPlayerCheckpoint(playerid,1386.7471, -1016.2060, 26.4962,5.0); } if(arma[playerid] == 0) { SendClientMessage(playerid,0xAA3333AA,"Nu ai arma trebuie sa folosesti intai [/rob1]."); } if(rob[playerid] == 1) { SendClientMessage(playerid,0xAA3333AA,"Ai jefuit deja banca! Fugi !!!!"); } return 1; } CMD:exitbank(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid,5.0,2315.952880,-1.618174,26.742187)) { SetPlayerPos(playerid,1386.7471, -1016.2060, 26.4962); RobCar[0] = CreateVehicle(459, 1375.4800, -1016.1720, 26.8666, -183.7801, -1, -1, 100); } return 1; } CMD:rob3(playerid, params[]) { if(rob[playerid] == 0) if(IsPlayerInRangeOfPoint(playerid,5.0,2315.952880,-1.618174,26.742187)) { GivePlayerMoney(playerid,50000 + random(50000) ); SendClientMessage(playerid,0xAA3333AA,"Acum fugi din banca!! [/exitbank]"); rob[playerid] = 1; } if(!IsPlayerInRangeOfPoint(playerid,5.0,2315.952880,-1.618174,26.742187)) { SetPlayerCheckpoint(playerid,2315.952880,-1.618174,26.742187,5.0); } return 1; } CMD:factions(playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_FACTIONS, DIALOG_STYLE_LIST, "FACTIUNI:", "School Instructors\n", "Select", "Cancel"); return 1; } CMD:fenter(playerid, params[]) { if(pFaction[playerid] == 1) if(IsPlayerInRangeOfPoint(playerid,5.0,1881.5930, 2289.6853, 10.6606)) { SetPlayerPos(playerid,964.106994,-53.205497,1001.124572); SetPlayerInterior(playerid,3); } return 1; } CMD:makeleader(playerid,params[]) { if(pAdmin[playerid] >= 5) { SendClientMessage(playerid,0x33AA33AA,"Acum esti in factiunea School Instructors"); SetPlayerSkin(playerid,153); pFaction[playerid] = 1; } return 1; } CMD:makeadmin(playerid, params[]) { if(pAdmin[playerid] <= 5) { SendClientMessage(playerid,0xAA3333AA,"Nu ai acces la aceasta comanda"); } if(IsPlayerAdmin(playerid)) { SendClientMessage(playerid,0x33CCFFAA,"Ai fost promovat la Admin 7!"); pAdmin[playerid] = 7; } } CMD:fskin(playerid, params[]) { if(pFaction[playerid] == 1) ShowPlayerDialog(playerid, DIALOG_FACTION, DIALOG_STYLE_LIST, "SKINURI FACTIUNE:", "153\n\ 172\n\ 171\n", "Select", "Cancel"); if(pFaction[playerid] == 0) { SendClientMessage(playerid,0xAA3333AA,"Nu ai acces la aceasta comanda"); } return 1; } CMD:fexit(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid,5.0,964.106994,-53.205497,1001.124572)) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,1881.5930, 2289.6853, 10.6606); } return 1; } CMD:askin(playerid, params[]) { if(IsPlayerAdmin(playerid)) { ShowPlayerDialog(playerid, DIALOG_ASKIN, DIALOG_STYLE_LIST, "SKINURI ADMINI:", "211\n\ 217\n", "Select", "Cancel"); } if(!IsPlayerAdmin(playerid)) { SendClientMessage(playerid,0xAA3333AA,"Nu ai acces la aceasta comanda"); } } ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------GARBAGE MAN------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------SCOALA DE SOFERI----------------------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Download:http://www95.zippyshare.com/v/jKvFV3H8/file.html(VARIANTA NOUA) Virus Total:https://www.virustotal.com/en/file/5df8a2106e537e6a112b08688d87f992f70d74f5ea8d4013aabe859b6c38edec/analysis/1500148319/ UPDATE : 0.1 -Au fost adaugate inca 2 joburi acelea find : Curier Constructor A fost adaugata o factiune : School Instructors. Acest Update are inca niste """""BUGURI""""" care vor fi rezolvate in update-ul viitor .
  2. Este un FS foarte smecher. Nu ma gandeam la asa ceva si sper sa continui sa faci 10/10.
  3. Astazi vreau sa cer un mic tutorial in pawno : cum sa faci comanda CMD:getpremium , sa o poata da oricine dar doar daca are 5 ore jucate.
  4. Frumos gamemdoe . Chiar daca este Saints
  5. Care este parola de la baza de date?
  6. Stie careva cum as putea sa-mi dau Admin ? nu merge /makeadmin id level si sunt logat cu /rcon login.?
×
×
  • Create New...

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.