Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <streamer>
- #include <sscanf2>
- #include <zcmd>
- #include <color>
- #include <fixchars.h>
- #define ALTCOMMAND:%1->%2; \
- COMMAND:%1(playerid, params[]) \
- return cmd_%2(playerid, params);
- #define LOPATKOINFO (9999)
- enum Patko_Info
- {
- pickup,
- Float:hx,
- Float:hy,
- Float:hz
- }
- new PatkoKordinatak[][Patko_Info] =
- {
- {0,1224.0, 2617.0, 11.0},
- {1,2323.0, 1284.0, 97.0},
- {2,2035.0, 2305.0, 18.0},
- {3,2491.0, 2263.0, 15.0},
- {4,1433.0, 2796.0, 20.0},
- {5,2071.0, 712.0, 11.0},
- {6,2239.0, 1839.0, 18.0},
- {7,2583.0, 2387.0, 16.0},
- {8,2864.0, 857.0, 13.0},
- {9,2612.0, 2200.0, -1.0},
- {10,2274.0, 1507.0, 24.0},
- {11,2184.0, 2529.0, 11.0},
- {12,1863.0, 2314.0, 15.0},
- {13,2054.0, 2434.0, 166.0},
- {14,1603.0, 1435.0, 11.0},
- {15,1362.92, 1015.24, 11.0,},
- {16,2058.7, 2159.1, 16.0},
- {17,2003.0, 1672.0, 12.0},
- {18,2238.0, 1135.0, 49.0},
- {19,1934.06, 988.79, 22.0},
- {20,1768.0, 2847.0, 9.0},
- {21,1084.0, 1076.0, 11.0},
- {22,2879.0, 2522.0, 11.0},
- {23,2371.0, 2009.0, 15.0},
- {24,1521.0, 1690.0, 10.6},
- {25,2417.0, 1281.0, 21.0},
- {26,1376.0, 2304.0, 15.0},
- {27,1393.0, 1832.0, 12.34},
- {28,984.0, 2563.0, 12.0},
- {29,1767.0, 601.0, 13.0},
- {30,2108.0, 1003.0, 46.0},
- {31,2705.98, 1862.52, 24.41},
- {32,2493.0, 922.0, 16.0},
- {33,1881.0, 2846.0, 11.0},
- {34,2020.0, 2352.0, 11.0},
- {35,1680.3, 2226.86, 16.11},
- {36,1462.0, 936.0, 10.0},
- {37,2125.5, 789.23, 11.45},
- {38,2588.0, 1902.0, 15.0},
- {39,919.0, 2070.0, 11.0},
- {40,2173.0, 2465.0, 11.0},
- {41,2031.25, 2207.33, 11.0},
- {42,2509.0, 1144.0, 19.0},
- {43,2215.0, 1968.0, 11.0},
- {44,2626.0, 2841.0, 11.0},
- {45,2440.08, 2161.07, 20.0},
- {46,1582.0, 2401.0, 19.0},
- {47,2077.0, 1912.0, 14.0},
- {48,970.0, 1787.0, 11.0},
- {49,1526.22, 751.0, 29.04}
- };
- enum PlayerInfo
- {
- Patkok,
- Patko1,
- Patko2,
- Patko3,
- Patko4,
- Patko5,
- Patko6,
- Patko7,
- Patko8,
- Patko9,
- Patko10,
- Patko11,
- Patko12,
- Patko13,
- Patko14,
- Patko15,
- Patko16,
- Patko17,
- Patko18,
- Patko19,
- Patko20,
- Patko21,
- Patko22,
- Patko23,
- Patko24,
- Patko25,
- Patko26,
- Patko27,
- Patko28,
- Patko29,
- Patko30,
- Patko31,
- Patko32,
- Patko33,
- Patko34,
- Patko35,
- Patko36,
- Patko37,
- Patko38,
- Patko39,
- Patko40,
- Patko41,
- Patko42,
- Patko43,
- Patko44,
- Patko45,
- Patko46,
- Patko47,
- Patko48,
- Patko49,
- Patko50
- }
- new pInfo[MAX_PLAYERS][PlayerInfo];
- new lpatko[50];
- public OnFilterScriptInit()
- {
- print("\n---------------------------------------------------");
- print("----------- LÓPATKÓ SYSTEM BY EVOLVED --------------");
- print("---------------------------------------------------\n");
- for(new i = 0; i < sizeof(PatkoKordinatak); i++)
- {
- lpatko[PatkoKordinatak[i][pickup]] = CreatePickup(954, 1, PatkoKordinatak[i][hx], PatkoKordinatak[i][hy], PatkoKordinatak[i][hz], 0);
- }
- return 1;
- }
- public OnFilterScriptExit()
- {
- for(new i = 0; i < sizeof(PatkoKordinatak); i++)
- {
- DestroyPickup(lpatko[PatkoKordinatak[i][pickup]]);
- }
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- pInfo[playerid][Patkok] = 0;
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- pInfo[playerid][Patkok] = 0;
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- new pName[24];
- GetPlayerName(playerid, pName, sizeof(pName));
- if(pickupid == lpatko[0])
- {
- if(pInfo[playerid][Patko1] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko1] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[1])
- {
- if(pInfo[playerid][Patko2] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko2] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[2])
- {
- if(pInfo[playerid][Patko3] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko3] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[3])
- {
- if(pInfo[playerid][Patko4] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko4] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[4])
- {
- if(pInfo[playerid][Patko5] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko5] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[5])
- {
- if(pInfo[playerid][Patko6] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko6] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[6])
- {
- if(pInfo[playerid][Patko7] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko7] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[7])
- {
- if(pInfo[playerid][Patko8] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko8] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[8])
- {
- if(pInfo[playerid][Patko9] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko9] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[9])
- {
- if(pInfo[playerid][Patko10] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko10] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[10])
- {
- if(pInfo[playerid][Patko11] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko11] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[11])
- {
- if(pInfo[playerid][Patko12] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko12] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[12])
- {
- if(pInfo[playerid][Patko13] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko13] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[13])
- {
- if(pInfo[playerid][Patko14] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko14] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[14])
- {
- if(pInfo[playerid][Patko15] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko15] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[15])
- {
- if(pInfo[playerid][Patko16] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko16] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[16])
- {
- if(pInfo[playerid][Patko17] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko17] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[17])
- {
- if(pInfo[playerid][Patko18] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko18] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[18])
- {
- if(pInfo[playerid][Patko19] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko19] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[19])
- {
- if(pInfo[playerid][Patko20] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko20] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[20])
- {
- if(pInfo[playerid][Patko21] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko21] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[21])
- {
- if(pInfo[playerid][Patko22] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko22] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[22])
- {
- if(pInfo[playerid][Patko23] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko23] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[23])
- {
- if(pInfo[playerid][Patko24] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko24] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[24])
- {
- if(pInfo[playerid][Patko25] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko25] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[25])
- {
- if(pInfo[playerid][Patko26] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko26] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[26])
- {
- if(pInfo[playerid][Patko27] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko27] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[27])
- {
- if(pInfo[playerid][Patko28] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko28] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[28])
- {
- if(pInfo[playerid][Patko29] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko29] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[29])
- {
- if(pInfo[playerid][Patko30] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko30] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[30])
- {
- if(pInfo[playerid][Patko31] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko31] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[31])
- {
- if(pInfo[playerid][Patko32] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko32] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[32])
- {
- if(pInfo[playerid][Patko33] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko33] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[33])
- {
- if(pInfo[playerid][Patko34] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko34] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[34])
- {
- if(pInfo[playerid][Patko35] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko35] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[35])
- {
- if(pInfo[playerid][Patko36] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko36] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[36])
- {
- if(pInfo[playerid][Patko37] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko37] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[37])
- {
- if(pInfo[playerid][Patko38] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko38] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[38])
- {
- if(pInfo[playerid][Patko39] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko39] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[39])
- {
- if(pInfo[playerid][Patko40] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko40] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[40])
- {
- if(pInfo[playerid][Patko41] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko41] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[41])
- {
- if(pInfo[playerid][Patko42] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko42] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[42])
- {
- if(pInfo[playerid][Patko43] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko43] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[43])
- {
- if(pInfo[playerid][Patko44] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko44] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[44])
- {
- if(pInfo[playerid][Patko45] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko45] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[45])
- {
- if(pInfo[playerid][Patko46] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko46] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[46])
- {
- if(pInfo[playerid][Patko47] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko47] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[47])
- {
- if(pInfo[playerid][Patko48] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko48] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[48])
- {
- if(pInfo[playerid][Patko49] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko49] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pickupid == lpatko[49])
- {
- if(pInfo[playerid][Patko50] == 1)
- {
- SendClientMessage(playerid, COLOR_RED, "HIBA: Már begyűjtötted ezt a lópatkót!");
- return 1;
- }
- pInfo[playerid][Patko50] += 1;
- pInfo[playerid][Patkok] += 1;
- new string[150];
- format(string, sizeof(string), "~r~%d ~w~Lópatkó ~w~ begyűjtve az~r~50~w~-ból", pInfo[playerid][Patkok]);
- GameTextForPlayer(playerid, string, 2500, 3);
- }
- if(pInfo[playerid][Patkok] == 50)
- {
- new string2[150];
- SetPlayerScore(playerid, 5000);
- GivePlayerMoney(playerid, 1000000);
- format(string2, sizeof(string2), "~r~%s ~w~begyűjtötte az összes\n ~r~patkó~w~t, Gratulálunk neki!!\n Nyert 1,000,000$-t és 5000 Pontot", pName);
- GameTextForAll(string2, 10000, 3);
- return 1;
- }
- return 1;
- }
- COMMAND:stats(playerid, params[])
- {
- new option[10];
- if(sscanf(params, "s[10]", option)) return SendClientMessage(playerid, COLOR_RED, "HASZNÁLAT: /stats [1 | 2 | 3 | 4 | 5]");
- if(!strcmp(option, "1", true))
- {
- cmd_patkoinfo1(playerid, params);
- return 1;
- }
- if(!strcmp(option, "2", true))
- {
- cmd_patkoinfo2(playerid, params);
- return 1;
- }
- if(!strcmp(option, "3", true))
- {
- cmd_patkoinfo3(playerid, params);
- return 1;
- }
- if(!strcmp(option, "4", true))
- {
- cmd_patkoinfo4(playerid, params);
- return 1;
- }
- if(!strcmp(option, "5", true))
- {
- cmd_patkoinfo5(playerid, params);
- return 1;
- }
- return 1;
- }
- CMD:patkoinfo1(playerid, params[])
- {
- new StatsMenu[1024], StatsMenu1[512], StatsMenu2[512], StatsMenu3[512],
- Patko1String[512], Patko2String[32], Patko3String[32], Patko4String[32], Patko5String[32],
- Patko6String[512], Patko7String[32], Patko8String[32], Patko9String[32],Patko10String[32];
- if(pInfo[playerid][Patko1] == 0) format(Patko1String, sizeof(Patko1String), "Nincs");
- else if(pInfo[playerid][Patko1] == 1) format(Patko1String, sizeof(Patko1String), "Felvéve");
- if(pInfo[playerid][Patko2] == 0) format(Patko2String, sizeof(Patko2String), "Nincs");
- else if(pInfo[playerid][Patko2] == 1) format(Patko2String, sizeof(Patko2String), "Felvéve");
- if(pInfo[playerid][Patko3] == 0) format(Patko3String, sizeof(Patko3String), "Nincs");
- else if(pInfo[playerid][Patko3] == 1) format(Patko3String, sizeof(Patko3String), "Felvéve");
- if(pInfo[playerid][Patko4] == 0) format(Patko4String, sizeof(Patko4String), "Nincs");
- else if(pInfo[playerid][Patko4] == 1) format(Patko4String, sizeof(Patko4String), "Felvéve");
- if(pInfo[playerid][Patko5] == 0) format(Patko5String, sizeof(Patko5String), "Nincs");
- else if(pInfo[playerid][Patko5] == 1) format(Patko5String, sizeof(Patko5String), "Felvéve");
- if(pInfo[playerid][Patko6] == 0) format(Patko6String, sizeof(Patko6String), "Nincs");
- else if(pInfo[playerid][Patko6] == 1) format(Patko6String, sizeof(Patko6String), "Felvéve");
- if(pInfo[playerid][Patko7] == 0) format(Patko7String, sizeof(Patko7String), "Nincs");
- else if(pInfo[playerid][Patko7] == 1) format(Patko7String, sizeof(Patko7String), "Felvéve");
- if(pInfo[playerid][Patko8] == 0) format(Patko8String, sizeof(Patko8String), "Nincs");
- else if(pInfo[playerid][Patko8] == 1) format(Patko8String, sizeof(Patko8String), "Felvéve");
- if(pInfo[playerid][Patko9] == 0) format(Patko9String, sizeof(Patko9String), "Nincs");
- else if(pInfo[playerid][Patko9] == 1) format(Patko9String, sizeof(Patko9String), "Felvéve");
- if(pInfo[playerid][Patko10] == 0) format(Patko10String, sizeof(Patko10String), "Nincs");
- else if(pInfo[playerid][Patko10] == 1) format(Patko10String, sizeof(Patko10String), "Felvéve");
- format(StatsMenu1, sizeof(StatsMenu1), "{FFFFFF}ÖSSZES JELENLEGI PATKÓD: %d\n{EB1B1B}\n\n", pInfo[playerid][Patkok]);
- format(StatsMenu2, sizeof(StatsMenu2), "{FFFFFF}1. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}2. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}3. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}4. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}5. Patkó: {EB1B1B}%s{FFFFFF}\n", Patko1String, Patko2String, Patko3String, Patko4String, Patko5String);
- format(StatsMenu3, sizeof(StatsMenu3), "{FFFFFF}6. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}7. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}8. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}9. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}10. Patkó: {EB1B1B}%s{FFFFFF}\n", Patko6String, Patko7String, Patko8String, Patko9String, Patko10String);
- strcat(StatsMenu, StatsMenu1);
- strcat(StatsMenu, StatsMenu2);
- strcat(StatsMenu, StatsMenu3);
- ShowPlayerDialog(playerid, LOPATKOINFO, DIALOG_STYLE_MSGBOX, "Lópatkóid[1.Oldal]:", StatsMenu, "Oké", "Kilépés");
- return 1;
- }
- CMD:patkoinfo2(playerid, params[])
- {
- new StatsMenu[1024], StatsMenu1[512], StatsMenu4[512], StatsMenu5[512],
- Patko11String[512], Patko12String[32], Patko13String[32], Patko14String[32], Patko15String[32],
- Patko16String[512], Patko17String[32], Patko18String[32], Patko19String[32], Patko20String[32];
- if(pInfo[playerid][Patko11] == 0) format(Patko11String, sizeof(Patko11String), "Nincs");
- else if(pInfo[playerid][Patko11] == 1) format(Patko11String, sizeof(Patko11String), "Felvéve");
- if(pInfo[playerid][Patko12] == 0) format(Patko12String, sizeof(Patko12String), "Nincs");
- else if(pInfo[playerid][Patko12] == 1) format(Patko12String, sizeof(Patko12String), "Felvéve");
- if(pInfo[playerid][Patko13] == 0) format(Patko13String, sizeof(Patko13String), "Nincs");
- else if(pInfo[playerid][Patko13] == 1) format(Patko13String, sizeof(Patko13String), "Felvéve");
- if(pInfo[playerid][Patko14] == 0) format(Patko14String, sizeof(Patko14String), "Nincs");
- else if(pInfo[playerid][Patko14] == 1) format(Patko14String, sizeof(Patko14String), "Felvéve");
- if(pInfo[playerid][Patko15] == 0) format(Patko15String, sizeof(Patko15String), "Nincs");
- else if(pInfo[playerid][Patko15] == 1) format(Patko15String, sizeof(Patko15String), "Felvéve");
- if(pInfo[playerid][Patko16] == 0) format(Patko16String, sizeof(Patko16String), "Nincs");
- else if(pInfo[playerid][Patko16] == 1) format(Patko16String, sizeof(Patko16String), "Felvéve");
- if(pInfo[playerid][Patko17] == 0) format(Patko17String, sizeof(Patko17String), "Nincs");
- else if(pInfo[playerid][Patko17] == 1) format(Patko17String, sizeof(Patko17String), "Felvéve");
- if(pInfo[playerid][Patko18] == 0) format(Patko18String, sizeof(Patko18String), "Nincs");
- else if(pInfo[playerid][Patko18] == 1) format(Patko18String, sizeof(Patko18String), "Felvéve");
- if(pInfo[playerid][Patko19] == 0) format(Patko19String, sizeof(Patko19String), "Nincs");
- else if(pInfo[playerid][Patko19] == 1) format(Patko19String, sizeof(Patko19String), "Felvéve");
- if(pInfo[playerid][Patko20] == 0) format(Patko20String, sizeof(Patko20String), "Nincs");
- else if(pInfo[playerid][Patko20] == 1) format(Patko20String, sizeof(Patko20String), "Felvéve");
- format(StatsMenu1, sizeof(StatsMenu1), "{FFFFFF}ÖSSZES JELENLEGI PATKÓD: %d\n{EB1B1B}\n\n", pInfo[playerid][Patkok]);
- format(StatsMenu4, sizeof(StatsMenu4), "{FFFFFF}11. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}12. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}13. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}14. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}15. Patkó: {EB1B1B}%s{FFFFFF}\n", Patko11String, Patko12String, Patko13String, Patko14String, Patko15String);
- format(StatsMenu5, sizeof(StatsMenu5), "{FFFFFF}16. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}17. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}18. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}19. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}20. Patkó: {EB1B1B}%s{FFFFFF}\n", Patko16String, Patko17String, Patko18String, Patko19String, Patko20String);
- strcat(StatsMenu, StatsMenu1);
- strcat(StatsMenu, StatsMenu4);
- strcat(StatsMenu, StatsMenu5);
- ShowPlayerDialog(playerid, LOPATKOINFO, DIALOG_STYLE_MSGBOX, "Lópatkóid[2.Oldal]:", StatsMenu, "Oké", "Kilépés");
- return 1;
- }
- CMD:patkoinfo3(playerid, params[])
- {
- new StatsMenu[1024], StatsMenu1[512], StatsMenu6[512], StatsMenu7[512],
- Patko21String[512], Patko22String[32], Patko23String[32], Patko24String[32], Patko25String[32],
- Patko26String[512], Patko27String[32], Patko28String[32], Patko29String[32], Patko30String[32];
- if(pInfo[playerid][Patko21] == 0) format(Patko21String, sizeof(Patko21String), "Nincs");
- else if(pInfo[playerid][Patko21] == 1) format(Patko21String, sizeof(Patko21String), "Felvéve");
- if(pInfo[playerid][Patko22] == 0) format(Patko22String, sizeof(Patko22String), "Nincs");
- else if(pInfo[playerid][Patko22] == 1) format(Patko22String, sizeof(Patko22String), "Felvéve");
- if(pInfo[playerid][Patko23] == 0) format(Patko23String, sizeof(Patko23String), "Nincs");
- else if(pInfo[playerid][Patko23] == 1) format(Patko23String, sizeof(Patko23String), "Felvéve");
- if(pInfo[playerid][Patko24] == 0) format(Patko24String, sizeof(Patko24String), "Nincs");
- else if(pInfo[playerid][Patko24] == 1) format(Patko24String, sizeof(Patko24String), "Felvéve");
- if(pInfo[playerid][Patko25] == 0) format(Patko25String, sizeof(Patko25String), "Nincs");
- else if(pInfo[playerid][Patko25] == 1) format(Patko25String, sizeof(Patko25String), "Felvéve");
- if(pInfo[playerid][Patko26] == 0) format(Patko26String, sizeof(Patko26String), "Nincs");
- else if(pInfo[playerid][Patko26] == 1) format(Patko26String, sizeof(Patko26String), "Felvéve");
- if(pInfo[playerid][Patko27] == 0) format(Patko27String, sizeof(Patko27String), "Nincs");
- else if(pInfo[playerid][Patko27] == 1) format(Patko27String, sizeof(Patko27String), "Felvéve");
- if(pInfo[playerid][Patko28] == 0) format(Patko28String, sizeof(Patko28String), "Nincs");
- else if(pInfo[playerid][Patko28] == 1) format(Patko28String, sizeof(Patko28String), "Felvéve");
- if(pInfo[playerid][Patko29] == 0) format(Patko29String, sizeof(Patko29String), "Nincs");
- else if(pInfo[playerid][Patko29] == 1) format(Patko29String, sizeof(Patko29String), "Felvéve");
- if(pInfo[playerid][Patko30] == 0) format(Patko30String, sizeof(Patko30String), "Nincs");
- else if(pInfo[playerid][Patko30] == 1) format(Patko30String, sizeof(Patko30String), "Felvéve");
- format(StatsMenu1, sizeof(StatsMenu1), "{FFFFFF}ÖSSZES JELENLEGI PATKÓD: %d\n{EB1B1B}\n\n", pInfo[playerid][Patkok]);
- format(StatsMenu6, sizeof(StatsMenu6), "{FFFFFF}21. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}22. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}23. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}24. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}25. Patkó: {EB1B1B}%s{FFFFFF}\n", Patko21String, Patko22String, Patko23String, Patko24String, Patko25String);
- format(StatsMenu7, sizeof(StatsMenu7), "{FFFFFF}26. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}27. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}28. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}29. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}30. Patkó: {EB1B1B}%s{FFFFFF}\n", Patko26String, Patko27String, Patko28String, Patko29String, Patko30String);
- strcat(StatsMenu, StatsMenu1);
- strcat(StatsMenu, StatsMenu6);
- strcat(StatsMenu, StatsMenu7);
- ShowPlayerDialog(playerid, LOPATKOINFO, DIALOG_STYLE_MSGBOX, "Lópatkóid[3.Oldal]:", StatsMenu, "Oké", "Kilépés");
- return 1;
- }
- CMD:patkoinfo4(playerid, params[])
- {
- new StatsMenu[1024], StatsMenu1[512],StatsMenu8[512], StatsMenu9[512],
- Patko31String[512], Patko32String[32], Patko33String[32], Patko34String[32], Patko35String[32],
- Patko36String[512], Patko37String[32], Patko38String[32], Patko39String[32], Patko40String[32];
- if(pInfo[playerid][Patko31] == 0) format(Patko31String, sizeof(Patko31String), "Nincs");
- else if(pInfo[playerid][Patko31] == 1) format(Patko31String, sizeof(Patko31String), "Felvéve");
- if(pInfo[playerid][Patko32] == 0) format(Patko32String, sizeof(Patko32String), "Nincs");
- else if(pInfo[playerid][Patko32] == 1) format(Patko32String, sizeof(Patko32String), "Felvéve");
- if(pInfo[playerid][Patko33] == 0) format(Patko33String, sizeof(Patko33String), "Nincs");
- else if(pInfo[playerid][Patko33] == 1) format(Patko33String, sizeof(Patko33String), "Felvéve");
- if(pInfo[playerid][Patko34] == 0) format(Patko34String, sizeof(Patko34String), "Nincs");
- else if(pInfo[playerid][Patko34] == 1) format(Patko34String, sizeof(Patko34String), "Felvéve");
- if(pInfo[playerid][Patko35] == 0) format(Patko35String, sizeof(Patko35String), "Nincs");
- else if(pInfo[playerid][Patko35] == 1) format(Patko35String, sizeof(Patko35String), "Felvéve");
- if(pInfo[playerid][Patko36] == 0) format(Patko36String, sizeof(Patko36String), "Nincs");
- else if(pInfo[playerid][Patko36] == 1) format(Patko36String, sizeof(Patko36String), "Felvéve");
- if(pInfo[playerid][Patko37] == 0) format(Patko37String, sizeof(Patko37String), "Nincs");
- else if(pInfo[playerid][Patko37] == 1) format(Patko37String, sizeof(Patko37String), "Felvéve");
- if(pInfo[playerid][Patko38] == 0) format(Patko38String, sizeof(Patko38String), "Nincs");
- else if(pInfo[playerid][Patko38] == 1) format(Patko38String, sizeof(Patko38String), "Felvéve");
- if(pInfo[playerid][Patko39] == 0) format(Patko39String, sizeof(Patko39String), "Nincs");
- else if(pInfo[playerid][Patko39] == 1) format(Patko39String, sizeof(Patko39String), "Felvéve");
- if(pInfo[playerid][Patko40] == 0) format(Patko40String, sizeof(Patko40String), "Nincs");
- else if(pInfo[playerid][Patko40] == 1) format(Patko40String, sizeof(Patko40String), "Felvéve");
- format(StatsMenu1, sizeof(StatsMenu1), "{FFFFFF}ÖSSZES JELENLEGI PATKÓD: %d\n{EB1B1B}\n\n", pInfo[playerid][Patkok]);
- format(StatsMenu8, sizeof(StatsMenu8), "{FFFFFF}31. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}32. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}33. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}34. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}35. Patkó: {EB1B1B}%s{FFFFFF}\n", Patko31String, Patko32String, Patko33String, Patko34String, Patko35String);
- format(StatsMenu9, sizeof(StatsMenu9), "{FFFFFF}36. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}37. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}38. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}39. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}40. Patkó: {EB1B1B}%s{FFFFFF}\n", Patko36String, Patko37String, Patko38String, Patko39String, Patko40String);
- strcat(StatsMenu, StatsMenu1);
- strcat(StatsMenu, StatsMenu8);
- strcat(StatsMenu, StatsMenu9);
- ShowPlayerDialog(playerid, LOPATKOINFO, DIALOG_STYLE_MSGBOX, "Lópatkóid[4.Oldal]:", StatsMenu, "Oké", "Kilépés");
- return 1;
- }
- CMD:patkoinfo5(playerid, params[])
- {
- new StatsMenu[512], StatsMenu1[512], StatsMenu10[512], StatsMenu11[512],
- Patko41String[512], Patko42String[32], Patko43String[32], Patko44String[32], Patko45String[32],
- Patko46String[512], Patko47String[32], Patko48String[32], Patko49String[32], Patko50String[32];
- if(pInfo[playerid][Patko41] == 0) format(Patko41String, sizeof(Patko41String), "Nincs");
- else if(pInfo[playerid][Patko41] == 1) format(Patko41String, sizeof(Patko41String), "Felvéve");
- if(pInfo[playerid][Patko42] == 0) format(Patko42String, sizeof(Patko42String), "Nincs");
- else if(pInfo[playerid][Patko42] == 1) format(Patko42String, sizeof(Patko42String), "Felvéve");
- if(pInfo[playerid][Patko43] == 0) format(Patko43String, sizeof(Patko43String), "Nincs");
- else if(pInfo[playerid][Patko43] == 1) format(Patko43String, sizeof(Patko43String), "Felvéve");
- if(pInfo[playerid][Patko44] == 0) format(Patko44String, sizeof(Patko44String), "Nincs");
- else if(pInfo[playerid][Patko44] == 1) format(Patko44String, sizeof(Patko44String), "Felvéve");
- if(pInfo[playerid][Patko45] == 0) format(Patko45String, sizeof(Patko45String), "Nincs");
- else if(pInfo[playerid][Patko45] == 1) format(Patko45String, sizeof(Patko45String), "Felvéve");
- if(pInfo[playerid][Patko46] == 0) format(Patko46String, sizeof(Patko46String), "Nincs");
- else if(pInfo[playerid][Patko46] == 1) format(Patko46String, sizeof(Patko46String), "Felvéve");
- if(pInfo[playerid][Patko47] == 0) format(Patko47String, sizeof(Patko47String), "Nincs");
- else if(pInfo[playerid][Patko47] == 1) format(Patko47String, sizeof(Patko47String), "Felvéve");
- if(pInfo[playerid][Patko48] == 0) format(Patko48String, sizeof(Patko48String), "Nincs");
- else if(pInfo[playerid][Patko48] == 1) format(Patko48String, sizeof(Patko48String), "Felvéve");
- if(pInfo[playerid][Patko49] == 0) format(Patko49String, sizeof(Patko49String), "Nincs");
- else if(pInfo[playerid][Patko49] == 1) format(Patko49String, sizeof(Patko49String), "Felvéve");
- if(pInfo[playerid][Patko50] == 0) format(Patko50String, sizeof(Patko50String), "Nincs");
- else if(pInfo[playerid][Patko50] == 1) format(Patko50String, sizeof(Patko50String), "Felvéve");
- format(StatsMenu1, sizeof(StatsMenu1), "{FFFFFF}ÖSSZES JELENLEGI PATKÓD: %d\n{EB1B1B}\n\n", pInfo[playerid][Patkok]);
- format(StatsMenu10, sizeof(StatsMenu10), "{FFFFFF}41. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}42. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}43. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}44. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}45. Patkó: {EB1B1B}%s{FFFFFF}\n", Patko41String, Patko42String, Patko43String, Patko44String, Patko45String);
- format(StatsMenu11, sizeof(StatsMenu11), "{FFFFFF}46. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}47. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}48. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}49. Patkó: {EB1B1B}%s{FFFFFF} | {FFFFFF}50. Patkó: {EB1B1B}%s{FFFFFF}\n", Patko46String, Patko47String, Patko48String, Patko49String, Patko50String);
- strcat(StatsMenu, StatsMenu1);
- strcat(StatsMenu, StatsMenu10);
- strcat(StatsMenu, StatsMenu11);
- ShowPlayerDialog(playerid, LOPATKOINFO, DIALOG_STYLE_MSGBOX, "Lópatkóid[5.Oldal]:", StatsMenu, "Oké", "Kilépés");
- return 1;
- }
- CMD:teszt(playerid, params[])
- {
- pInfo[playerid][Patko1] = 0;
- pInfo[playerid][Patko2] = 0;
- pInfo[playerid][Patko3] = 0;
- pInfo[playerid][Patko4] = 0;
- pInfo[playerid][Patko5] = 0;
- pInfo[playerid][Patko6] = 0;
- pInfo[playerid][Patko7] = 0;
- pInfo[playerid][Patko8] = 0;
- pInfo[playerid][Patko9] = 0;
- pInfo[playerid][Patko10] = 0;
- pInfo[playerid][Patko11] = 0;
- pInfo[playerid][Patko12] = 0;
- pInfo[playerid][Patko13] = 0;
- pInfo[playerid][Patko14] = 0;
- pInfo[playerid][Patko15] = 0;
- pInfo[playerid][Patko16] = 0;
- pInfo[playerid][Patko17] = 0;
- pInfo[playerid][Patko18] = 0;
- pInfo[playerid][Patko19] = 0;
- pInfo[playerid][Patko20] = 0;
- pInfo[playerid][Patko21] = 0;
- pInfo[playerid][Patko22] = 0;
- pInfo[playerid][Patko23] = 0;
- pInfo[playerid][Patko24] = 0;
- pInfo[playerid][Patko25] = 0;
- pInfo[playerid][Patko26] = 0;
- pInfo[playerid][Patko27] = 0;
- pInfo[playerid][Patko28] = 0;
- pInfo[playerid][Patko29] = 0;
- pInfo[playerid][Patko30] = 0;
- pInfo[playerid][Patko31] = 0;
- pInfo[playerid][Patko32] = 0;
- pInfo[playerid][Patko33] = 0;
- pInfo[playerid][Patko34] = 0;
- pInfo[playerid][Patko35] = 0;
- pInfo[playerid][Patko36] = 0;
- pInfo[playerid][Patko37] = 0;
- pInfo[playerid][Patko38] = 0;
- pInfo[playerid][Patko39] = 0;
- pInfo[playerid][Patko40] = 0;
- pInfo[playerid][Patko41] = 0;
- pInfo[playerid][Patko42] = 0;
- pInfo[playerid][Patko43] = 0;
- pInfo[playerid][Patko44] = 0;
- pInfo[playerid][Patko45] = 0;
- pInfo[playerid][Patko46] = 0;
- pInfo[playerid][Patko47] = 0;
- pInfo[playerid][Patko48] = 0;
- pInfo[playerid][Patko49] = 0;
- pInfo[playerid][Patko50] = 0;
- pInfo[playerid][Patkok] = 0;
- return 1;
- }
- CMD:teszt2(playerid, params[])
- {
- pInfo[playerid][Patko1] = 1;
- pInfo[playerid][Patko2] = 1;
- pInfo[playerid][Patko3] = 1;
- pInfo[playerid][Patko4] = 1;
- pInfo[playerid][Patko5] = 1;
- pInfo[playerid][Patko6] = 1;
- pInfo[playerid][Patko7] = 1;
- pInfo[playerid][Patko8] = 1;
- pInfo[playerid][Patko9] = 1;
- pInfo[playerid][Patko10] = 1;
- pInfo[playerid][Patko11] = 1;
- pInfo[playerid][Patko12] = 1;
- pInfo[playerid][Patko13] = 1;
- pInfo[playerid][Patko14] = 1;
- pInfo[playerid][Patko15] = 1;
- pInfo[playerid][Patko16] = 1;
- pInfo[playerid][Patko17] = 1;
- pInfo[playerid][Patko18] = 1;
- pInfo[playerid][Patko19] = 1;
- pInfo[playerid][Patko20] = 1;
- pInfo[playerid][Patko21] = 1;
- pInfo[playerid][Patko22] = 1;
- pInfo[playerid][Patko23] = 1;
- pInfo[playerid][Patko24] = 1;
- pInfo[playerid][Patko25] = 1;
- pInfo[playerid][Patko26] = 1;
- pInfo[playerid][Patko27] = 1;
- pInfo[playerid][Patko28] = 1;
- pInfo[playerid][Patko29] = 1;
- pInfo[playerid][Patko30] = 1;
- pInfo[playerid][Patko31] = 1;
- pInfo[playerid][Patko32] = 1;
- pInfo[playerid][Patko33] = 1;
- pInfo[playerid][Patko34] = 1;
- pInfo[playerid][Patko35] = 1;
- pInfo[playerid][Patko36] = 1;
- pInfo[playerid][Patko37] = 1;
- pInfo[playerid][Patko38] = 1;
- pInfo[playerid][Patko39] = 1;
- pInfo[playerid][Patko40] = 1;
- pInfo[playerid][Patko41] = 1;
- pInfo[playerid][Patko42] = 1;
- pInfo[playerid][Patko43] = 1;
- pInfo[playerid][Patko44] = 1;
- pInfo[playerid][Patko45] = 1;
- pInfo[playerid][Patko46] = 1;
- pInfo[playerid][Patko47] = 1;
- pInfo[playerid][Patko48] = 1;
- pInfo[playerid][Patko49] = 1;
- pInfo[playerid][Patko50] = 0;
- pInfo[playerid][Patkok] = 49;
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement