Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //=======INCLUDES=========// // CREATOR: PREDA // // CREDITS MUST STAY SAME // // M.O.A.B IS INSPIRED FROM CALL OF DUTY:MODERN WARFARE 3 //
- #include <a_samp>
- #include <YSI\y_ini>//CREDITS/DOWNLOAD LINK IN DESCRIPTION // ! ATTENTION ! MapChange = 0 MEANS THAT MAP IS 1 ; ! ATTENTION ! MapChenge = 1 MEANS THAT MAP IS 2 ! //
- #include <sscanf2>//CREDITS/DOWNLOAD LINK IN DESCRIPTION
- #include <zcmd> //CREDITS/DOWNLOAD LINK IN DESCRIPTION
- //==DEFINES==//
- #define Path "/GunGameAccounts/%s.ini" //=========== FOLDER WHERE ALL PLAYER's DATA ARE SAVED =============//
- #define COLOR_WHITE "{FFFFFF}" //=========== Colour Embedding =============//
- #define COLOR_RED "{F81414}" //=========== Colour Embedding =============//
- #define COLOR_GREEN "{00FF22}" //=========== Colour Embedding =============//
- #define COLOR_LIGHTBLUE "{00CED1}" //=========== Colour Embedding =============//
- #define DIALOG_REGISTER 1 //=========== DIALOG ID's EX: DIALOG_LOGIN IS DIALOG ID 2 ; DIALOG_REGISTER IS DIALOG ID 1 =============//
- #define DIALOG_LOGIN 2 //=========== Dialog DEFINING =============//
- #define DIALOG_SUCCESS_1 3 //=========== Dialog DEFINING =============//
- #define DIALOG_SUCCESS_2 4 //=========== Dialog DEFINING =============//
- //=========== DEFINING NUM 4 KEY FOR M.O.A.B ( CAN BE CHANGED AT END OF SCRIPT ) ===========//
- #define PRESSED(%0) \
- (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
- //=========== == ===========//
- //==NEW==//
- new Text:Kill_Streak[MAX_PLAYERS]; //=========== TOTAL KILLS MADE IN SPECIFIC ROUND [ TEXTDRAW ] =============//
- new kills[MAX_PLAYERS]; //=========== TOTAL KILLS MADE IN SPECIFIC ROUND [ VARIABLE ] =============//
- new moab[MAX_PLAYERS]; //=========== MOAB [ VARIABLE ] =============//
- new MapChange; //=========== MAP CHANGING SYSTEM =============//
- //======TEXTDRAWS======//
- new Text:SpectateText; //=========== SPECTATING AFTER DEATH [ SPECTATING KILLER ] [ TEXTDRAW ] =============//
- new Text:LEVEL1; //=========== GUN_GAME_LEVEL 1 [ TEXTDRAW ] =============//
- new Text:LEVEL2; //=========== GUN_GAME_LEVEL 2 [ TEXTDRAW ] =============//
- new Text:LEVEL3; //=========== GUN_GAME_LEVEL 3 [ TEXTDRAW ] =============//
- new Text:LEVEL4; //=========== GUN_GAME_LEVEL 4 [ TEXTDRAW ] =============//
- new Text:JUGGERNAUT; //=========== JUGGERNAUT [ TEXTDRAW ] =============//
- new Text:MOAB; //=========== MOAB [ TEXTDRAW ] =============//
- //======FORWARDS=======//
- forward Load_GUN_GAME_PLAYER_DATA(playerid,name[],value[]); //=========== Loading Player's DATA when it connects [ FORWARD FOR CALLBACK Load_GUN_GAME_PLAYER_DATA(playerid,name[],value[]) ] =============//
- forward OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid); //=========== REALISTIC DAMAGE DONE BY SPECIFIC WEAPONS [ CAN BE CUSTOMIZED] [ FORWARD FOR CALLBACK OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid); ] =============//
- forward NewMapTimer(playerid); //=========== CHANGING MAP SYSTEM TIMER [ FORWARD FOR CALLBACK NewMapTimer{playerid} ] =============//
- //=======ENUM=======//
- enum pInfo //=======PLAYER's INFO IN ENUM [ pInfo ]=======//
- {
- pPass, //=======PLAYER's PASSWORD=======//
- pCash, //=======PLAYER's MONEY=======//
- pScore, //=======PLAYER's SCORE=======//
- pAdmin, //=======PLAYER's ADMIN LEVEL=======//
- pAttentions, //=======PLAYER's ATTENTIONS [ WARNINGS [ 0/3 ; 1/3 ; 2/3 ; 3/3[ban] ]=======//
- pRespect, //=======PLAYER's RESPECT POINTS [ LIKE REPUTATION ]=======//
- pKills, //=======PLAYER's TOTAL KILLS=======//
- pDeaths, //=======PLAYER's TOTAL DEATHS=======//
- pRank, //=======PLAYER's RANK=======//
- pMoab //=======PLAYER's M.O.A.B DONE=======//
- }
- new PlayerInfo[MAX_PLAYERS][pInfo]; //=======VARIABLE FOR "PLAYING" WIRH PLAYER's DATA=======//
- //=====STOCKS=====//
- stock GunGameUsersPath(playerid)
- {
- new string[128],playername[MAX_PLAYER_NAME];
- GetPlayerName(playerid,playername,sizeof(playername));
- format(string,sizeof(string),Path,playername);
- return string;
- }
- //=====================================================//
- // THIS HASHES PASSWORD WHEN ENTERED //
- stock udb_hash(buf[]) {
- new length=strlen(buf);
- new s1 = 1;
- new s2 = 0;
- new n;
- for (n=0; n<length; n++)
- {
- s1 = (s1 + buf[n]) % 65521;
- s2 = (s2 + s1) % 65521;
- }
- return (s2 << 16) + s1;
- }
- // THIS HASHES PASSWORD WHEN ENTERED //
- //=====================================================//
- main()
- {
- print(" \n Signed,Preda------------");
- print(" =================================");
- print(" =================================");
- print(" GUN GAME LOADED V0.1 ");
- print(" =================================");
- print(" =================================");
- print(" ----------Signed, Preda\n");
- }
- public OnGameModeInit()
- {
- SetGameModeText("GUN GAME v0.1");
- SetTimer("NewMapTimer",600000,true);
- MapChange = 0;
- SendRconCommand("mapname MAP 1");
- //================= MAP THAT COMES WHEN GAMEMODE STARTS ===============//
- //================= MAP THAT COMES WHEN GAMEMODE STARTS ===============//
- //=====TEXTS====//
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- Kill_Streak[i] = TextDrawCreate(11.000000,273.000000,"Kills : 0");
- TextDrawAlignment(Kill_Streak[i],0);
- TextDrawBackgroundColor(Kill_Streak[i],0x000000ff);
- TextDrawFont(Kill_Streak[i],1);
- TextDrawLetterSize(Kill_Streak[i],0.699999,1.600000);
- TextDrawColor(Kill_Streak[i],16711935);
- TextDrawSetOutline(Kill_Streak[i],1);
- TextDrawSetProportional(Kill_Streak[i],1);
- TextDrawSetShadow(Kill_Streak[i],1);
- }
- SpectateText = TextDrawCreate(11.000000, 432.000000, "'ENTER'");
- TextDrawBackgroundColor(SpectateText, -16776961);
- TextDrawFont(SpectateText, 2);
- TextDrawLetterSize(SpectateText, 0.519999, 1.100000);
- TextDrawColor(SpectateText, 16777215);
- TextDrawSetOutline(SpectateText, 1);
- TextDrawSetProportional(SpectateText, 0);
- LEVEL1 = TextDrawCreate(508.000000, 7.000000, "LEVEL 1");
- TextDrawBackgroundColor(LEVEL1, 255);
- TextDrawFont(LEVEL1, 2);
- TextDrawLetterSize(LEVEL1, 0.500000, 1.000000);
- TextDrawColor(LEVEL1, 16711935);
- TextDrawSetOutline(LEVEL1, 1);
- TextDrawSetProportional(LEVEL1, 1);
- TextDrawUseBox(LEVEL1, 1);
- TextDrawBoxColor(LEVEL1, -16776961);
- TextDrawTextSize(LEVEL1, 590.000000, 50.000000);
- LEVEL2 = TextDrawCreate(508.000000, 7.000000, "LEVEL 2");
- TextDrawBackgroundColor(LEVEL2, 255);
- TextDrawFont(LEVEL2, 2);
- TextDrawLetterSize(LEVEL2, 0.500000, 1.000000);
- TextDrawColor(LEVEL2, 16711935);
- TextDrawSetOutline(LEVEL2, 1);
- TextDrawSetProportional(LEVEL2, 1);
- TextDrawUseBox(LEVEL2, 1);
- TextDrawBoxColor(LEVEL2, -16776961);
- TextDrawTextSize(LEVEL2, 595.000000, 50.000000);
- LEVEL3 = TextDrawCreate(508.000000, 7.000000, "LEVEL 3");
- TextDrawBackgroundColor(LEVEL3, 255);
- TextDrawFont(LEVEL3, 2);
- TextDrawLetterSize(LEVEL3, 0.500000, 1.000000);
- TextDrawColor(LEVEL3, 16711935);
- TextDrawSetOutline(LEVEL3, 1);
- TextDrawSetProportional(LEVEL3, 1);
- TextDrawUseBox(LEVEL3, 1);
- TextDrawBoxColor(LEVEL3, -16776961);
- TextDrawTextSize(LEVEL3, 595.000000, 50.000000);
- LEVEL4 = TextDrawCreate(508.000000, 7.000000, "LEVEL 4");
- TextDrawBackgroundColor(LEVEL4, 255);
- TextDrawFont(LEVEL4, 2);
- TextDrawLetterSize(LEVEL4, 0.500000, 1.000000);
- TextDrawColor(LEVEL4, 16711935);
- TextDrawSetOutline(LEVEL4, 1);
- TextDrawSetProportional(LEVEL4, 1);
- TextDrawUseBox(LEVEL4, 1);
- TextDrawBoxColor(LEVEL4, -16776961);
- TextDrawTextSize(LEVEL4, 595.000000, 50.000000);
- JUGGERNAUT = TextDrawCreate(508.000000, 7.000000, "JUGGERNAUT");
- TextDrawBackgroundColor(JUGGERNAUT, 255);
- TextDrawFont(JUGGERNAUT, 2);
- TextDrawLetterSize(JUGGERNAUT, 0.500000, 1.000000);
- TextDrawColor(JUGGERNAUT, 16711935);
- TextDrawSetOutline(JUGGERNAUT, 1);
- TextDrawSetProportional(JUGGERNAUT, 1);
- TextDrawUseBox(JUGGERNAUT, 1);
- TextDrawBoxColor(JUGGERNAUT, -16776961);
- TextDrawTextSize(JUGGERNAUT, 595.000000, 50.000000);
- MOAB = TextDrawCreate(508.000000, 7.000000, "M.O.A.B");
- TextDrawBackgroundColor(MOAB, 255);
- TextDrawFont(MOAB, 2);
- TextDrawLetterSize(MOAB, 0.500000, 1.000000);
- TextDrawColor(MOAB, 16711935);
- TextDrawSetOutline(MOAB, 1);
- TextDrawSetProportional(MOAB, 1);
- TextDrawUseBox(MOAB, 1);
- TextDrawBoxColor(MOAB, -16776961);
- TextDrawTextSize(MOAB, 590.000000, 50.000000);
- UsePlayerPedAnims();
- AddPlayerClass(0, 2,23,24,0,0,0,0,0,0,0);
- return 1;
- }
- /////////////////////////////// REALISTIC DAMAGE //////////// YOU CAN CHANGE //////////
- public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
- {
- new Float:HP;
- GetPlayerHealth(playerid, HP);
- if(weaponid == 24) SetPlayerHealth(playerid, HP-60); //DEAGLE
- if(weaponid == 22) SetPlayerHealth(playerid, HP-35); //COLT
- if(weaponid == 32) SetPlayerHealth(playerid, HP-10); //TEC
- if(weaponid == 28) SetPlayerHealth(playerid, HP-10); //UZZY
- if(weaponid == 23) SetPlayerHealth(playerid, HP-50); //SD PISTOL
- if(weaponid == 31) SetPlayerHealth(playerid, HP-35); //M4
- if(weaponid == 30) SetPlayerHealth(playerid, HP-40); //AK
- if(weaponid == 29) SetPlayerHealth(playerid, HP-18); //MP5
- if(weaponid == 34) SetPlayerHealth(playerid, HP-300); //SNIPER
- if(weaponid == 33) SetPlayerHealth(playerid, HP-35); //CuntGun
- if(weaponid == 25) SetPlayerHealth(playerid, HP-100); //PumpShotgun
- if(weaponid == 27) SetPlayerHealth(playerid, HP-70); //Spaz12
- return 1;
- }
- /////////////////////////////// REALISTIC DAMAGE //////////// YOU CAN CHANGE //////////
- ///////////////////////////////////////////////////////////////////////
- // THIS LOADS USER's DATA ///
- public Load_GUN_GAME_PLAYER_DATA(playerid,name[],value[])
- {
- INI_Int("Password",PlayerInfo[playerid][pPass]);
- INI_Int("Moab",PlayerInfo[playerid][pMoab]);
- INI_Int("Attentions",PlayerInfo[playerid][pAttentions]);
- INI_Int("Respect",PlayerInfo[playerid][pRespect]);
- INI_Int("Rank",PlayerInfo[playerid][pRank]);
- INI_Int("Cash",PlayerInfo[playerid][pCash]);
- INI_Int("Score",PlayerInfo[playerid][pScore]);
- INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
- INI_Int("Kills",PlayerInfo[playerid][pKills]);
- INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
- return 1;
- }
- ///////////////////////////////////////////////////////////////////////
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerPos(playerid, 502.5411,2381.4548,29.9784);
- SetPlayerFacingAngle(playerid, 248.0);
- SetPlayerCameraPos(playerid,506.5417,2379.3599,30.1421);
- SetPlayerCameraLookAt(playerid,502.5411,2381.4548,29.9784);
- SpawnPlayer(playerid);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- if(PlayerInfo[playerid][pAttentions] == 3)
- {
- BanEx(playerid, "! 3/3 ATTENTIONS !");
- }
- //==========REGISTERING & LOGIN SYSTYEM NOTE: DONT CHANGE==========//
- if(fexist(GunGameUsersPath(playerid)))
- {
- INI_ParseFile(GunGameUsersPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_GREEN"Login",""COLOR_LIGHTBLUE"Enter PASSWORD in order to LOG IN ","Login","Quit");
- }
- else
- {
- ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COLOR_RED"Registering...",""COLOR_GREEN"Enter PASSWORD in order to REGISTER","Register","Disconnect");
- }
- //==================================================================//
- new string[256], pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(string, sizeof(string), "== %s [ID: %d] joined Gun Game ==", pname, playerid);
- SendClientMessageToAll(0xFFA500FF, string);
- SendClientMessage(playerid, 0xFFA500FF, "GameMode CREATOR - Preda.");
- SendClientMessage(playerid, 0xFFA500FF, "| Suggestions / Improvements Are Welcomed |");
- TextDrawShowForPlayer(playerid,Kill_Streak[playerid]);
- //----------- RANKS -----------//
- if(PlayerInfo[playerid][pScore] == 10)
- {
- PlayerInfo[playerid][pRank] = 1;
- SendClientMessage(playerid, 0xB8860BAA, "RANK: E-1 PRIVATE");
- new Text3D:label = Create3DTextLabel("E-1 PRIVATE", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
- Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
- }
- if(PlayerInfo[playerid][pScore] == 20)
- {
- PlayerInfo[playerid][pRank] = 2;
- SendClientMessage(playerid, 0xB8860BAA,"RANK: E-2 PRIVATE 2");
- new Text3D:label = Create3DTextLabel("E-2 PRIVATE 2", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
- Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
- }
- if(PlayerInfo[playerid][pScore] == 30)
- {
- PlayerInfo[playerid][pRank] = 3;
- SendClientMessage(playerid, 0xB8860BAA,"RANK: E-4 SPECIALIST");
- new Text3D:label = Create3DTextLabel("E-4 SPECIALIST", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
- Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
- }
- if(PlayerInfo[playerid][pScore] == 40)
- {
- PlayerInfo[playerid][pRank] = 4;
- SendClientMessage(playerid, 0xB8860BAA,"RANK: E-5 CAPORAL");
- new Text3D:label = Create3DTextLabel("E-4 CAPORAL", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
- Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
- }
- //======= RANKS ==========//
- //=========================================================================================================//
- SendClientMessage(playerid, 0xD2691EFF,"/account = YOUR STATISTICS");
- if(PlayerInfo[playerid][pAdmin] >= 1)
- {
- SendClientMessage(playerid, 0x9ACD32FF, "/admincmds");
- }
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- new INI:File = INI_Open(GunGameUsersPath(playerid));
- INI_SetTag(File,"data");
- INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
- INI_WriteInt(File,"Attentions",PlayerInfo[playerid][pAttentions]);
- INI_WriteInt(File,"Rank",PlayerInfo[playerid][pRank]);
- INI_WriteInt(File,"Score",PlayerInfo[playerid][pScore]);
- INI_WriteInt(File,"Respect",PlayerInfo[playerid][pRespect]);
- INI_WriteInt(File,"Moab",PlayerInfo[playerid][pMoab]);
- INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
- INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
- INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
- INI_Close(File);
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- switch ( MapChange ) {
- case 0:
- {
- //==========RANDOM GAMEMODE SPAWNS FOR MAP 1================//
- new Float:GunGameSpawns[][] = // ================= CHANGE COORDONATES IN ORDER TO CHANGE SPAWNS ! ================= //
- {
- {320.3930,2541.8450,16.8101,200.6746},
- {316.5851,2418.2549,17.2402,346.3526},
- {413.9094,2535.3740,19.1484,113.8804}
- };
- new pGGskins[] = {
- 82,
- 83,
- 84
- };
- new rand = random(sizeof(GunGameSpawns));
- SetPlayerPos(playerid, GunGameSpawns[rand][0], GunGameSpawns[rand][1], GunGameSpawns[rand][2]);
- SetPlayerSkin(playerid, pGGskins[random(3)]);
- GivePlayerWeapon(playerid, 23, 9999);
- }
- case 1:
- {
- //==========RANDOM GAMEMODE SPAWNS FOR MAP 2================//
- new Float:GunGameSpawnss[][] =
- {
- {422.7695,2436.8044,16.5000,34.9541},
- {422.3787,2471.9563,16.5000,147.7316},
- {385.9537,2472.4307,16.5000,203.1922}
- };
- new pGGskinss[] = {
- 78,
- 79,
- 80,
- 81
- };
- new rand = random(sizeof(GunGameSpawnss));
- SetPlayerPos(playerid, GunGameSpawnss[rand][0], GunGameSpawnss[rand][1], GunGameSpawnss[rand][2]);
- SetPlayerSkin(playerid, pGGskinss[random(3)]);
- GivePlayerWeapon(playerid, 23, 9999);
- }
- }
- if(PlayerInfo[playerid][pAdmin] >= 1)
- {
- SetPlayerSkin(playerid, 285);
- }
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- PlayerInfo[killerid][pKills]++;
- PlayerInfo[playerid][pDeaths]++;
- SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
- SetPlayerScore(playerid, GetPlayerScore(playerid) - 1);
- //========== LEVELS ==========//
- if(GetPlayerScore(killerid) == 2)
- {
- GivePlayerWeapon(playerid, 22, 99999);
- TextDrawShowForPlayer(playerid, Text:LEVEL1);
- GameTextForPlayer(playerid,"~r~LEVEL ~g~UP - ~b~9MM", 3500, 4);
- SetPlayerHealth(playerid, 100);
- }
- if(GetPlayerScore(killerid) == 4)
- {
- GivePlayerWeapon(playerid, 24, 99999);
- TextDrawHideForPlayer(playerid, Text:LEVEL1);
- TextDrawShowForPlayer(playerid, Text:LEVEL2);
- GameTextForPlayer(playerid,"~r~LEVEL ~g~UP - ~b~DEAGLE", 3500, 4);
- SetPlayerHealth(playerid, 100);
- }
- if(GetPlayerScore(killerid) == 6)
- {
- GivePlayerWeapon(playerid, 25, 99999);
- TextDrawHideForPlayer(playerid, Text:LEVEL2);
- TextDrawShowForPlayer(playerid, Text:LEVEL3);
- GameTextForPlayer(playerid,"~r~LEVEL ~g~UP - ~b~SHOTGUN", 3500, 4);
- SetPlayerHealth(playerid, 100);
- }
- if(GetPlayerScore(killerid) == 7)
- {
- GivePlayerWeapon(playerid, 28, 99999);
- TextDrawHideForPlayer(playerid, Text:LEVEL3);
- TextDrawShowForPlayer(playerid, Text:LEVEL4);
- GameTextForPlayer(playerid,"~r~LEVEL ~g~UP - ~b~UZZY", 3500, 4);
- SetPlayerHealth(playerid, 100);
- }
- if(GetPlayerScore(killerid) == 8)
- {
- GivePlayerWeapon(playerid, 28, 99999);
- TextDrawHideForPlayer(playerid, Text:LEVEL4);
- TextDrawShowForPlayer(playerid, Text:JUGGERNAUT);
- GameTextForPlayer(playerid,"~r~LEVEL ~g~UP - ~b~!JUGGERNAUT!", 3500, 4);
- SetPlayerHealth(playerid, 100);
- SetPlayerArmour(playerid, 100);
- new string[256], pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(string, sizeof(string), "== %s [ID: %d] HAS JUGGERNAUT ! KILL HIM FOR EXTRA BONUS ! ==", pname, playerid);
- SendClientMessageToAll(0xFFA500FF, string);
- SetPlayerAttachedObject(playerid,3,18637,1,-0.030000,-0.034000,0.162999,85.799942,0.000000,-88.099952,1.000000,1.038000,1.000000);
- SetPlayerAttachedObject(playerid,1,19036,2,0.066999,0.051000,0.005000,75.099906,71.800003,17.299997,0.978000,1.087999,0.961000);
- SetPlayerAttachedObject(playerid,0,19101,2,0.136999,0.021000,0.005999,0.000000,0.000000,0.000000,1.000000,1.000000,1.000000);
- SetPlayerAttachedObject(playerid,2,18637,1,-0.020000,0.139000,-0.193999,-92.600044,-0.000000,-90.399986,1.000000,0.924998,0.910000);
- }
- if(GetPlayerScore(killerid) == 9)
- {
- moab[playerid] = 1;
- GivePlayerWeapon(playerid, 29, 9999);
- TextDrawHideForPlayer(playerid, Text:JUGGERNAUT);
- TextDrawShowForPlayer(playerid, Text:moab[playerid]);
- GameTextForPlayer(playerid, "~r~M.O.~g~A.B", 3500, 4);
- new string[256], pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(string, sizeof(string), "== %s [ID: %d] HAS M.O.A.B ! ==", pname,playerid,pname,playerid);
- SendClientMessageToAll(0xAA3333AA, string);
- new bPname[ MAX_PLAYER_NAME ];
- GetPlayerName( playerid, bPname, sizeof( bPname ) );
- GameTextForPlayer( playerid, bPname, 3500, 1 );
- SendClientMessage(playerid, 0xAA3333AA, "== PRESS 'NUM 4' FOR M.O.A.B ==");
- }
- SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
- TogglePlayerSpectating(playerid, 1);
- PlayerSpectatePlayer(playerid, killerid);
- TextDrawShowForPlayer(playerid, Text:SpectateText);
- GameTextForPlayer(playerid, "~g~DEAD - ~r~LEVEL DOWN", 3500, 4);
- new szString[128];
- kills[killerid]++;
- format(szString,sizeof(szString),"Kills :%d",kills[killerid]);
- TextDrawSetString(Kill_Streak[killerid],szString);
- if(GetPlayerScore(playerid) == 9)
- {
- new string[256], pname[MAX_PLAYER_NAME];
- GetPlayerName(killerid, pname, sizeof(pname));
- format(string, sizeof(string), "== %s [ID: %d] HAS KILLED JUGGERNAUT AND EARNED NEW WEAPON AND 10.000 $ + 5 SCORE ! ==", pname, killerid);
- SendClientMessageToAll(0xFFA500FF, string);
- GivePlayerMoney(killerid, 10000);
- SetPlayerHealth(killerid, 100);
- SetPlayerArmour(killerid, 100);
- GivePlayerWeapon(killerid, 37, 5000);
- SetPlayerScore(killerid, GetPlayerScore(killerid) + 5);
- }
- return 1;
- }
- //=================== Z C M D =====================//
- COMMAND:imstuck(playerid, inputtext[])
- {
- TogglePlayerControllable(playerid, 1);
- return 1;
- }
- // MAKING ADMIN - COMMAND //
- COMMAND:admin(playerid, inputtext[])
- {
- if(IsPlayerAdmin(playerid))
- {
- new target, adminlvl;
- if(sscanf(inputtext,"ud", target, adminlvl)) return SendClientMessage(playerid, 0x9ACD32FF, "CORRECT: /admin [playerID/playerNAME][Admin LEVEL 1 or 2]");
- if(target !=INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- if(IsPlayerAdmin(playerid))
- {
- if(adminlvl <=2)
- {
- PlayerInfo[target][pAdmin] = adminlvl;
- GameTextForPlayer(target, " PROMOTED ", 3500, 5);
- }
- }
- }
- }
- else
- {
- SendClientMessage(playerid, 0x9ACD32FF, " NOT ADMIN ");
- }
- return 1;
- }
- COMMAND:punish(playerid, inputtext[])
- {
- new target;
- if(sscanf(inputtext,"u",target)) return SendClientMessage(playerid, 0x9ACD32FF, "CORRECT: /punish [playerID/playerNAME]");
- if(target !=INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- if(PlayerInfo[playerid][pAdmin] >= 1)
- {
- new Float:X,Float:Y,Float:Z;
- GetPlayerPos(target, X,Y,Z);
- SetPlayerPos(target, X+20000,Y+22222,Z+22222);
- GameTextForPlayer(target, " ~r~PUNISHED BY ADMIN ", 5000, 5);
- }
- }
- return 1;
- }
- COMMAND:account(playerid,inputtext[])
- {
- // STATS -------------------------//
- new money = PlayerInfo[playerid][pCash];
- new score = PlayerInfo[playerid][pScore];
- new killss = PlayerInfo[playerid][pKills];
- new attentions = PlayerInfo[playerid][pAttentions];
- new deaths = PlayerInfo[playerid][pDeaths];
- new adminlevel = PlayerInfo[playerid][pAdmin];
- new respect = PlayerInfo[playerid][pRespect];
- new moabb = PlayerInfo[playerid][pMoab];
- new string1[300],stats[1024];
- format(string1, sizeof string1, ""COLOR_GREEN"| MONEY: "COLOR_RED"%d "COLOR_GREEN"| SCORE: "COLOR_RED"%d "COLOR_GREEN"| KILLS: "COLOR_RED"%d "COLOR_GREEN"| DEATHS: "COLOR_RED"%d | "COLOR_RED"ADMIN LEVEL: "COLOR_RED" %d "COLOR_GREEN"| RESPECT: "COLOR_RED"%d "COLOR_GREEN" | ATTENTIONS: "COLOR_RED"%d / 3"COLOR_RED" |"COLOR_RED" | M.O.A.B: "COLOR_GREEN"%d"COLOR_RED" |", money, score, killss, deaths, adminlevel, respect, attentions, moabb);
- format(stats, sizeof stats, "%s", string1);
- ShowPlayerDialog(playerid,3,DIALOG_STYLE_MSGBOX,"Your account:",stats,"OK","OK");
- // STATS -------------------------//
- return 1;
- }
- COMMAND:respect(playerid, inputtext[])
- {
- new target;
- if(sscanf(inputtext,"u", target))return SendClientMessage(playerid, 0x9ACD32FF, "CORRECT: /respect [playerID/playerNAME]");
- if(target != INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- PlayerInfo[target][pRespect]++;
- GameTextForPlayer(target, "~r~YOU GOT + ~g~RESPECT", 5000, 5);
- new string[100], name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- format(string, sizeof(string), "! %s GAVE YOU +1 RESPECT !",name);
- SendClientMessage(target, 0x9ACD32FF, string);
- new targetname[MAX_PLAYER_NAME];
- GetPlayerName(target,targetname, sizeof(targetname));
- format(string, sizeof(string), "! YOU GAVE %s +1 RESPECT !", targetname);
- }
- return 1;
- }
- COMMAND:view(playerid, inputtext[])
- {
- new target;
- if(sscanf(inputtext,"u", target)) return SendClientMessage(playerid, 0x9ACD32FF, " CORRECT: /view [playerID/playerNAME]");
- if(target != INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- if(PlayerInfo[playerid][pAdmin] >= 1)
- {
- // PLAYER'S STATS -------------------------//
- new string1[300],stats[1024],targetname[MAX_PLAYER_NAME],string[10];
- new money = PlayerInfo[target][pCash];
- new score = PlayerInfo[target][pScore];
- new killss = PlayerInfo[target][pKills];
- new attentions = PlayerInfo[target][pAttentions];
- new moabb = PlayerInfo[target][pMoab];
- new deaths = PlayerInfo[target][pDeaths];
- new adminlevel = PlayerInfo[target][pAdmin];
- new respect = PlayerInfo[target][pRespect];
- GetPlayerName(target,targetname, sizeof(targetname));
- format(string1, sizeof string1, ""COLOR_GREEN"| MONEY: "COLOR_RED"%d "COLOR_GREEN"| SCORE: "COLOR_RED"%d "COLOR_GREEN"| KILLS: "COLOR_RED"%d "COLOR_GREEN"| DEATHS: "COLOR_RED"%d | "COLOR_RED"ADMIN LEVEL: "COLOR_RED" %d "COLOR_GREEN"| RESPECT: "COLOR_RED"%d "COLOR_GREEN" | ATTENTIONS: "COLOR_RED"%d / 3"COLOR_RED" | M.O.A.B: "COLOR_GREEN"%d"COLOR_RED" |", money, score, killss, deaths, adminlevel, respect, attentions, moabb);
- format(stats, sizeof stats, "%s", string1);
- format(string, sizeof(string), "... CHECKING %s ...",targetname);
- SendClientMessage(playerid, 0x9ACD32FF, string);
- ShowPlayerDialog(playerid,3,DIALOG_STYLE_MSGBOX,"Your account:",stats,"OK","OK");
- // PLAYER'S STATS -------------------------//
- }
- }
- return 1;
- }
- COMMAND:giveweapon(playerid,inputtext[])
- {
- new target, wid, amt;
- if(sscanf(inputtext,"udd",target,wid,amt))return SendClientMessage(playerid,0xff0000FF,"CORRECT: /giveweapon [playerID/playerNAME][weap ID][AMMO]");
- if(wid < 0 || wid >40)return SendClientMessage(playerid,0xff0000FF,"No weapon matching that ID !");
- if(target != INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- if(PlayerInfo[playerid][pAdmin] >= 1)
- {
- GivePlayerWeapon(target,wid,amt);
- }
- else SendClientMessage(playerid,0xff0000FF,"NO PERMISSION");
- }
- else SendClientMessage(playerid,0xff0000FF,"Player not CONNECTED !");
- return 1;
- }
- COMMAND:health(playerid, inputtext[])
- {
- new target, health;
- if(sscanf(inputtext,"ud",target, health))return SendClientMessage(playerid, 0x9ACD32FF,"CORRECT: /health [playerID/playerNAME][HEALTH]");
- if(target != INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- if(PlayerInfo[playerid][pAdmin] >= 1)
- {
- SetPlayerHealth(target, health);
- }
- else SendClientMessage(playerid, 01, "NO PERMISSION");
- }
- else SendClientMessage(playerid, 0x9ACD32FF, "PLAYER not CONNECTED !");
- return 1;
- }
- COMMAND:spectate(playerid, inputtext[])
- {
- new target;
- if(sscanf(inputtext,"u",target)) return SendClientMessage(playerid, 0x9ACD32FF, "CORRECT: /spectate [playerID/playerNAME]");
- if(target != INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- if(PlayerInfo[playerid][pAdmin] >= 1)
- {
- TogglePlayerSpectating(playerid, 1);
- PlayerSpectatePlayer(playerid, target);
- TextDrawShowForPlayer(playerid, Text:SpectateText);
- new string[256], targetname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, targetname, sizeof(targetname));
- new targetscore = PlayerInfo[target][pScore];
- new targetadmin = PlayerInfo[target][pAdmin];
- new targetrank = PlayerInfo[target][pRank];
- format(string, sizeof(string), "NAME:%s, TOTAL SCORE: %d, ADMIN LEVEL: %d, RANK: %d", targetname, targetscore, targetadmin, targetrank);
- SendClientMessage(playerid, 0x9ACD32FF, string);
- }
- }
- return 1;
- }
- COMMAND:clearattentions(playerid, inputtext[])
- {
- new target;
- if(sscanf(inputtext,"u",target)) return SendClientMessage(playerid, 0x9ACD32FF, " CORRECT: /clearattentions [playerID/playerNAME] ");
- if(target != INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- if(PlayerInfo[playerid][pAdmin] >= 2)
- {
- PlayerInfo[target][pAttentions] = 0;
- new string[70], adminname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, adminname, sizeof(adminname));
- format(string, sizeof(string), "ADMIN %s CLEANED YOUR ATTENIONS ! NOW 0/3 !", adminname);
- SendClientMessage(playerid, 0x9ACD32FF, string);
- }
- }
- return 1;
- }
- COMMAND:admincmds(playerid, inputtext[])
- {
- new adminname[MAX_PLAYER_NAME], string[50];
- GetPlayerName(playerid, adminname,sizeof(adminname));
- format(string, sizeof(string), " Hello, %s [ ID: %d ] ", adminname, playerid);
- SendClientMessage(playerid, 0x9ACD32FF, string);
- if(PlayerInfo[playerid][pAdmin] >= 1)
- {
- SendClientMessage(playerid, 0x9ACD32FF, "= ADMIN LEVEL 1 GUN_GAME_COMMANDS =");
- SendClientMessage(playerid, 0x9ACD32FF, "= spectate ; health ; armour ; giveweapon ; score ; givemoney ; punish ; kick = ");
- }
- if(PlayerInfo[playerid][pAdmin] > 1)
- {
- SendClientMessage(playerid, 0x9ACD32FF, "= ADMIN LEVEL 2 GUN_GAME_COMMANDS =");
- SendClientMessage(playerid, 0x9ACD32FF, "= givemoab ; givemoney ; rank ; ban ; clearattentions ; ");
- }
- return 1;
- }
- COMMAND:ban(playerid, inputtext[])
- {
- new target;
- if(sscanf(inputtext,"u",target)) return SendClientMessage(playerid, 0x9ACD32FF, " CORRECT: /ban [playerID/playerNAME] ");
- if(target != INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- if(PlayerInfo[playerid][pAdmin] >= 2)
- {
- Ban(target);
- new string[70], targetname[MAX_PLAYER_NAME], adminname[MAX_PLAYER_NAME];
- GetPlayerName(target, targetname, sizeof(targetname));
- GetPlayerName(playerid, adminname, sizeof(adminname));
- format(string, sizeof(string), "ADMIN %s HAS BANNED PLAYER %s", adminname, targetname);
- SendClientMessageToAll(0x9ACD32FF, string);
- }
- }
- return 1;
- }
- COMMAND:kick(playerid, inputtext[])
- {
- new target;
- if(sscanf(inputtext,"u",target)) return SendClientMessage(playerid, 0x9ACD32FF, " CORRECT: /kick [playerID/playerNAME] ");
- if(target != INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- if(PlayerInfo[playerid][pAdmin] >= 1)
- {
- Kick(target);
- new string[70], targetname[MAX_PLAYER_NAME], adminname[MAX_PLAYER_NAME];
- GetPlayerName(target, targetname, sizeof(targetname));
- GetPlayerName(playerid, adminname, sizeof(adminname));
- format(string, sizeof(string), "ADMIN %s HAS KICKED PLAYER %s", adminname, targetname);
- SendClientMessageToAll(0x9ACD32FF, string);
- }
- }
- return 1;
- }
- COMMAND:attention(playerid, inputtext[])
- {
- new target;
- if(sscanf(inputtext,"u",target)) return SendClientMessage(playerid, 0x9ACD32FF, " CORRECT: /attention [playerID/playerNAME] ");
- if(target != INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- if(PlayerInfo[playerid][pAdmin] >= 1)
- {
- PlayerInfo[playerid][pAttentions]++;
- GameTextForPlayer(target,"~g~YOU WERE ~r~ATTENTIONED", 5000, 4);
- new string[100], name[MAX_PLAYER_NAME];
- new warnings = PlayerInfo[target][pAttentions];
- GetPlayerName(playerid, name, sizeof(name));
- format(string, sizeof(string), "ADMIN %s ATTENTIONED YOU ! ATTENTIONS : %d / 3", name, warnings);
- SendClientMessage(target, 0x9ACD32FF, string);
- }
- }
- return 1;
- }
- COMMAND:givemoab(playerid, inputtext[])
- {
- new target;
- if(sscanf(inputtext,"u",target)) return SendClientMessage(playerid, 0x9ACD32FF, " CORRECT: /givemoab [playerID/playerNAME] ");
- if(target != INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- if(PlayerInfo[playerid][pAdmin] >= 2)
- {
- moab[target] = 1;
- new string[100], name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- format(string, sizeof(string), "ADMIN %s GAVE YOU M.O.A.B / USE NUM 4",name);
- SendClientMessage(target, 0x9ACD32FF, string);
- }
- }
- return 1;
- }
- COMMAND:givemoney(playerid, inputtext[])
- {
- new target, money;
- if(sscanf(inputtext,"ud", target, money)) return SendClientMessage(playerid, 0x9ACD32FF, " CORRECT: /givemoney [playerID/playerNAME] [MONEY] ");
- if(target != INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- if(PlayerInfo[playerid][pAdmin] >= 2)
- {
- GivePlayerMoney(target, PlayerInfo[target][pCash] + money);
- new string[100], name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- new moneyy = PlayerInfo[target][pCash];
- format(string, sizeof(string), "ADMIN %s SET YOUR MONEY TO %d",name,moneyy);
- SendClientMessage(target, 0x9ACD32FF, string);
- }
- }
- return 1;
- }
- COMMAND:rank(playerid, inputtext[])
- {
- new target, rank;
- if(sscanf(inputtext,"ud", target, rank)) return SendClientMessage(playerid, 0x9ACD32FF, " CORRECT: /rank [playerID/playerNAME] [RANK] ");
- if(target != INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- if(PlayerInfo[playerid][pAdmin] == 2)
- {
- PlayerInfo[target][pRank] = rank;
- new string[100], name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- format(string, sizeof(string), "ADMIN %s CHANGED YOUR RANK TO %d",name,PlayerInfo[target][pRank]);
- SendClientMessage(target, 0x9ACD32FF, string);
- }
- }
- return 1;
- }
- COMMAND:score(playerid, inputtext[])
- {
- new target, score;
- if(sscanf(inputtext,"ud",target,score)) return SendClientMessage(playerid, 0x9ACD32FF, " CORRECT: /score [playerID/playerNAME] [AMMOUNT] ");
- if(target != INVALID_PLAYER_ID && IsPlayerConnected(target))
- {
- if(PlayerInfo[playerid][pAdmin] >= 1)
- {
- PlayerInfo[target][pScore] = score;
- }
- }
- return 1;
- }
- COMMAND:calladmin(playerid, inputtext[])
- {
- }
- //=================== Z C M D =====================//
- public NewMapTimer(playerid)
- {
- switch ( MapChange ) {
- case 0:
- {
- MapChange++;
- }
- case 1:
- {
- MapChange--;
- }
- }
- GameTextForAll("~b~ Loading new ~w~MAP",4000,3);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- SpawnPlayer(i);
- }
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if(PRESSED(KEY_SECONDARY_ATTACK))
- {
- TogglePlayerSpectating(playerid, 0);
- SpawnPlayer(playerid);
- TextDrawHideForPlayer(playerid, Text:SpectateText);
- }
- if(PRESSED(KEY_ANALOG_LEFT))
- {
- if(moab[playerid] == 1)
- {
- switch ( MapChange )
- {
- case 0:
- {
- new string[256], pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(string, sizeof(string), "== %s [ID: %d] ACTIVATED M.O.A.B | ! ==", pname,playerid,pname,playerid);
- SendClientMessageToAll(0xAA3333AA, string);
- CreateExplosion(320.3930,2541.8450,16.8101,1, 10000000000000);
- CreateExplosion(320.3930,2541.8450,16.8101,1, 10000000000000);
- CreateExplosion(316.5851,2418.2549,17.2402,1, 10000000000000);
- CreateExplosion(316.5851,2418.2549,17.2402,1, 10000000000000);
- CreateExplosion(316.5851,2418.2549,17.2402,1, 10000000000000);
- CreateExplosion(422.3787,2471.9563,16.5000,1, 10000000000000);
- CreateExplosion(413.9094,2535.3740,19.1484,1, 10000000000000);
- GivePlayerMoney(playerid, 100000);
- GameTextForAll("~r~ M.O.A.B DEPLOYED", 3500, 4);
- PlayerInfo[playerid][pMoab]++;
- for(new i; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- TogglePlayerSpectating(i, 1);
- TextDrawShowForPlayer(i, Text:SpectateText);
- }
- }
- }
- case 1:
- {
- new string[256], pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(string, sizeof(string), "== %s [ID: %d] ACTIVATED M.O.A.B | HE IS THE WINNER ! ==", pname,playerid,pname,playerid);
- SendClientMessageToAll(0xAA3333AA, string);
- CreateExplosion(422.7695,2436.8044,16.5000,1, 10000000000000);
- CreateExplosion(422.7695,2436.8044,16.5000,1, 10000000000000);
- CreateExplosion(422.3787,2471.9563,16.5000,1, 10000000000000);
- CreateExplosion(422.3787,2471.9563,16.5000,1, 10000000000000);
- CreateExplosion(385.9537,2472.4307,16.5000,1, 10000000000000);
- CreateExplosion(422.3787,2471.9563,16.5000,1, 10000000000000);
- CreateExplosion(385.9537,2472.4307,16.5000,1, 10000000000000);
- GivePlayerMoney(playerid, 100000);
- GameTextForAll("~r~ M.O.A.B DEPLOYED", 3500, 4);
- PlayerInfo[playerid][pMoab]++;
- for(new i; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- SetPlayerHealth(i, 0);
- TogglePlayerSpectating(i, 1);
- TextDrawShowForPlayer(i, Text:SpectateText);
- }
- }
- }
- }
- }
- }
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- switch( dialogid )
- {
- case DIALOG_REGISTER:
- {
- if (!response) return Kick(playerid);
- if(response)
- {
- if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""COLOR_WHITE"Registering...",""COLOR_RED"You have entered an invalid password.\n"COLOR_WHITE"Type your password below to register a new account.","Register","Quit");
- new INI:File = INI_Open(GunGameUsersPath(playerid));
- INI_SetTag(File,"data");
- INI_WriteInt(File,"Password",udb_hash(inputtext));
- INI_WriteInt(File,"Respect",0);
- INI_WriteInt(File,"Moab",0);
- INI_WriteInt(File,"Attentions",0);
- INI_WriteInt(File,"Rank",0);
- INI_WriteInt(File,"Score",0);
- INI_WriteInt(File,"Cash",0);
- INI_WriteInt(File,"Admin",0);
- INI_WriteInt(File,"Kills",0);
- INI_WriteInt(File,"Deaths",0);
- INI_Close(File);
- SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
- SpawnPlayer(playerid);
- ShowPlayerDialog(playerid, DIALOG_SUCCESS_1, DIALOG_STYLE_MSGBOX,""COLOR_WHITE"Success!",""COLOR_GREEN"","Ok","");
- }
- }
- case DIALOG_LOGIN:
- {
- if ( !response ) return Kick ( playerid );
- if( response )
- {
- if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
- {
- INI_ParseFile(GunGameUsersPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
- GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
- ShowPlayerDialog(playerid, DIALOG_SUCCESS_2, DIALOG_STYLE_MSGBOX,""COLOR_WHITE"Success!",""COLOR_GREEN"You have successfully logged in!","Ok","");
- }
- else
- {
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_RED"Incorrect PASSWORD entered.\n"COLOR_WHITE"Type your password below to login.","Login","Quit");
- }
- return 1;
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment