if ((Count1 > Count2) && gTeam[playerid] == Yakuza) // Jei Yakuza balanceris didesnis, negu LCN - neleidюiam бstoti б komandа { // Atidarom ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"GangWars", "Atsipraрome, taиiau\nРi komanda yra pilna, pasirinkite kitа.", "Gerai", "Uюdaryti"); // Praneрam return 0; // Dedamas return 0; - scriptas baigtas. } // Uюdarom else if ((Count2 > Count1) && gTeam[playerid] == Nostra && GetPlayerScore( playerid ) < 1500 ) // Jei LCN balanceris didesnis uю Policijа, neleidюiam бstoti { // Atidarom ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"GangWars", "Atsipraрome, taиiau\nJыs neturite 1.500 patirties taрkш,\nArba рi komanda yra pilna, pasirinkite kitа.", "Gerai", "Uюdaryti"); // Praneрam return 0; // Dedamas return 0; - scriptas baigtas } // Uюdarom else if ((Count3 > Count2) && gTeam[playerid] == Policija && GetPlayerScore( playerid ) < 3000 ) // Jei Policijos balanceris didesins uю LCN, neleidюiam бstoti { // Atidarom ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"GangWars", "Atsipraрome, taиiau\nJыs neturite 3.000 patirties taрkш,\nArba рi komanda yra pilna, pasirinkite kitа.", "Gerai", "Uюdaryti"); // Praneрam return 0; // Dedamas return 0; - scriptas baigtas } // Uюdarom else if ((Count4 > Count3) && gTeam[playerid] == Triads) // Jei Triads balanceris didesnis, negu Policijos - neleidюiam бstoti { // Atidarom ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"GangWars", "Atsipraрome,\nРi komanda yra pilna, pasirinkite kitа.", "Gerai", "Uюdaryti"); // Praneрam return 0; // Uюdarom } // Uюdarom
Count1 = 0; // Nustato Yakuza balancerб б 0 ( komandoje юaidлjш nлra. ) Count2 = 0; // Nustato La Cosa Nostra balancerб б 0 ( komandoje юaidлjш nлra. ) Count3 = 0; // Nustato Policijos balancerб б 0 ( komandoje юaidлjш nлra. ) Count4 = 0; // Nustato Triads balancerб б 0 ( komandoje юaidлjш nлra. ) |