Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- new Text:Intro[53];
- public OnFilterScriptInit()
- {
- Intro[1] = TextDrawCreate(211.000000, 181.000000, "~r~U");
- TextDrawFont(Intro[1], 2);
- TextDrawLetterSize(Intro[1], 0.500000, 1.000000);
- Intro[0] = TextDrawCreate(0.0, 0.0, "_");
- TextDrawFont(Intro[0], 1);
- TextDrawLetterSize(Intro[0], 0.0, 50.0);
- TextDrawUseBox(Intro[0], true);
- TextDrawBoxColor(Intro[0], 0x000000FF);
- Intro[52] = TextDrawCreate(0.0, 0.0, "_");
- TextDrawFont(Intro[52], 1);
- TextDrawLetterSize(Intro[52], 0.0, 50.0);
- TextDrawUseBox(Intro[52], true);
- TextDrawBoxColor(Intro[52], 0xFFFFFFFF);
- Intro[2] = TextDrawCreate(211.000000, 181.000000, "~r~SU");
- TextDrawFont(Intro[2], 2);
- TextDrawLetterSize(Intro[2], 0.500000, 1.000000);
- Intro[3] = TextDrawCreate(211.000000, 181.000000, "~r~SUP");
- TextDrawFont(Intro[3], 2);
- TextDrawLetterSize(Intro[3], 0.500000, 1.000000);
- Intro[4] = TextDrawCreate(211.000000, 181.000000, "~r~SUPE");
- TextDrawFont(Intro[4], 2);
- TextDrawLetterSize(Intro[4], 0.500000, 1.000000);
- Intro[5] = TextDrawCreate(211.000000, 181.000000, "~r~SUPER");
- TextDrawFont(Intro[5], 2);
- TextDrawLetterSize(Intro[5], 0.500000, 1.000000);
- Intro[6] = TextDrawCreate(211.000000, 181.000000, "~r~SUPERG");
- TextDrawFont(Intro[6], 2);
- TextDrawLetterSize(Intro[6], 0.500000, 1.000000);
- Intro[7] = TextDrawCreate(211.000000, 181.000000, "~r~SUPERGAM");
- TextDrawFont(Intro[7], 2);
- TextDrawLetterSize(Intro[7], 0.500000, 1.000000);
- Intro[8] = TextDrawCreate(211.000000, 181.000000, "~r~SUPERGAMES");
- TextDrawFont(Intro[8], 2);
- TextDrawLetterSize(Intro[8], 0.500000, 1.000000);
- Intro[9] = TextDrawCreate(183.000000, 191.000000, "~p~.");
- TextDrawFont(Intro[9], 1);
- TextDrawLetterSize(Intro[9], 5.050058, 1.700000);
- Intro[10] = TextDrawCreate(183.000000, 191.000000, "~p~.");
- TextDrawFont(Intro[10], 1);
- TextDrawLetterSize(Intro[10], 10.050058, 1.700000);
- Intro[11] = TextDrawCreate(183.000000, 191.000000, "~p~.");
- TextDrawFont(Intro[11], 1);
- TextDrawLetterSize(Intro[11], 15.050058, 1.700000);
- Intro[12] = TextDrawCreate(183.000000, 191.000000, "~p~.");
- TextDrawFont(Intro[12], 1);
- TextDrawLetterSize(Intro[12], 20.050058, 1.700000);
- Intro[13] = TextDrawCreate(183.000000, 191.000000, "~p~.");
- TextDrawFont(Intro[13], 1);
- TextDrawLetterSize(Intro[13], 25.050058, 1.700000);
- Intro[14] = TextDrawCreate(632.000000, 181.000000, "pristato");
- TextDrawFont(Intro[14], 2);
- TextDrawLetterSize(Intro[14], 0.500000, 1.000000);
- Intro[15] = TextDrawCreate(622.000000, 181.000000, "pristato");
- TextDrawFont(Intro[15], 2);
- TextDrawLetterSize(Intro[15], 0.500000, 1.000000);
- Intro[16] = TextDrawCreate(612.000000, 181.000000, "pristato");
- TextDrawFont(Intro[16], 2);
- TextDrawLetterSize(Intro[16], 0.500000, 1.000000);
- Intro[17] = TextDrawCreate(602.000000, 181.000000, "pristato");
- TextDrawFont(Intro[17], 2);
- TextDrawLetterSize(Intro[17], 0.500000, 1.000000);
- Intro[18] = TextDrawCreate(592.000000, 181.000000, "pristato");
- TextDrawFont(Intro[18], 2);
- TextDrawLetterSize(Intro[18], 0.500000, 1.000000);
- Intro[19] = TextDrawCreate(582.000000, 181.000000, "pristato");
- TextDrawFont(Intro[19], 2);
- TextDrawLetterSize(Intro[19], 0.500000, 1.000000);
- Intro[20] = TextDrawCreate(572.000000, 181.000000, "pristato");
- TextDrawFont(Intro[20], 2);
- TextDrawLetterSize(Intro[20], 0.500000, 1.000000);
- Intro[21] = TextDrawCreate(562.000000, 181.000000, "pristato");
- TextDrawFont(Intro[21], 2);
- TextDrawLetterSize(Intro[21], 0.500000, 1.000000);
- Intro[22] = TextDrawCreate(552.000000, 181.000000, "pristato");
- TextDrawFont(Intro[22], 2);
- TextDrawLetterSize(Intro[22], 0.500000, 1.000000);
- Intro[23] = TextDrawCreate(542.000000, 181.000000, "pristato");
- TextDrawFont(Intro[23], 2);
- TextDrawLetterSize(Intro[23], 0.500000, 1.000000);
- Intro[24] = TextDrawCreate(532.000000, 181.000000, "pristato");
- TextDrawFont(Intro[24], 2);
- TextDrawLetterSize(Intro[24], 0.500000, 1.000000);
- Intro[25] = TextDrawCreate(522.000000, 181.000000, "pristato");
- TextDrawFont(Intro[25], 2);
- TextDrawLetterSize(Intro[25], 0.500000, 1.000000);
- Intro[26] = TextDrawCreate(512.000000, 181.000000, "pristato");
- TextDrawFont(Intro[26], 2);
- TextDrawLetterSize(Intro[26], 0.500000, 1.000000);
- Intro[27] = TextDrawCreate(502.000000, 181.000000, "pristato");
- TextDrawFont(Intro[27], 2);
- TextDrawLetterSize(Intro[27], 0.500000, 1.000000);
- Intro[28] = TextDrawCreate(492.000000, 181.000000, "pristato");
- TextDrawFont(Intro[28], 2);
- TextDrawLetterSize(Intro[28], 0.500000, 1.000000);
- Intro[29] = TextDrawCreate(482.000000, 181.000000, "pristato");
- TextDrawFont(Intro[29], 2);
- TextDrawLetterSize(Intro[29], 0.500000, 1.000000);
- Intro[30] = TextDrawCreate(472.000000, 181.000000, "pristato");
- TextDrawFont(Intro[30], 2);
- TextDrawLetterSize(Intro[30], 0.500000, 1.000000);
- Intro[31] = TextDrawCreate(462.000000, 181.000000, "pristato");
- TextDrawFont(Intro[31], 2);
- TextDrawLetterSize(Intro[31], 0.500000, 1.000000);
- Intro[32] = TextDrawCreate(452.000000, 181.000000, "pristato");
- TextDrawFont(Intro[32], 2);
- TextDrawLetterSize(Intro[32], 0.500000, 1.000000);
- Intro[33] = TextDrawCreate(442.000000, 181.000000, "pristato");
- TextDrawFont(Intro[33], 2);
- TextDrawLetterSize(Intro[33], 0.500000, 1.000000);
- Intro[34] = TextDrawCreate(432.000000, 181.000000, "pristato");
- TextDrawFont(Intro[34], 2);
- TextDrawLetterSize(Intro[34], 0.500000, 1.000000);
- Intro[35] = TextDrawCreate(422.000000, 181.000000, "pristato");
- TextDrawFont(Intro[35], 2);
- TextDrawLetterSize(Intro[35], 0.500000, 1.000000);
- Intro[36] = TextDrawCreate(412.000000, 181.000000, "pristato");
- TextDrawFont(Intro[36], 2);
- TextDrawLetterSize(Intro[36], 0.500000, 1.000000);
- Intro[37] = TextDrawCreate(402.000000, 181.000000, "pristato");
- TextDrawFont(Intro[37], 2);
- TextDrawLetterSize(Intro[37], 0.500000, 1.000000);
- Intro[38] = TextDrawCreate(392.000000, 181.000000, "pristato");
- TextDrawFont(Intro[38], 2);
- TextDrawLetterSize(Intro[38], 0.500000, 1.000000);
- Intro[39] = TextDrawCreate(382.000000, 181.000000, "pristato");
- TextDrawFont(Intro[39], 2);
- TextDrawLetterSize(Intro[39], 0.500000, 1.000000);
- Intro[40] = TextDrawCreate(372.000000, 181.000000, "pristato");
- TextDrawFont(Intro[40], 2);
- TextDrawLetterSize(Intro[40], 0.500000, 1.000000);
- Intro[41] = TextDrawCreate(362.000000, 181.000000, "pristato");
- TextDrawFont(Intro[41], 2);
- TextDrawLetterSize(Intro[41], 0.500000, 1.000000);
- Intro[42] = TextDrawCreate(352.000000, 181.000000, "pristato");
- TextDrawFont(Intro[42], 2);
- TextDrawLetterSize(Intro[42], 0.500000, 1.000000);
- Intro[43] = TextDrawCreate(342.000000, 181.000000, "pristato");
- TextDrawFont(Intro[43], 2);
- TextDrawLetterSize(Intro[43], 0.500000, 1.000000);
- Intro[44] = TextDrawCreate(332.000000, 181.000000, "pristato");
- TextDrawFont(Intro[44], 2);
- TextDrawLetterSize(Intro[44], 0.500000, 1.000000);
- Intro[45] = TextDrawCreate(322.000000, 181.000000, "pristato");
- TextDrawFont(Intro[45], 2);
- TextDrawLetterSize(Intro[45], 0.500000, 1.000000);
- Intro[47] = TextDrawCreate(230.000000, 212.000000, "~g~www.Go-Play.LT");
- TextDrawFont(Intro[47], 2);
- TextDrawLetterSize(Intro[47], 0.340000, 1.099999);
- Intro[48] = TextDrawCreate(319.000000, 226.000000, "~y~SuperServas");
- TextDrawFont(Intro[48], 2);
- TextDrawLetterSize(Intro[48], 0.340000, 1.099999);
- Intro[49] = TextDrawCreate(413.000000, 182.000000, ".");
- TextDrawFont(Intro[49], 2);
- TextDrawLetterSize(Intro[49], 0.500000, 1.000000);
- Intro[50] = TextDrawCreate(417.000000, 182.000000, ".");
- TextDrawFont(Intro[50], 2);
- TextDrawLetterSize(Intro[50], 0.500000, 1.000000);
- Intro[51] = TextDrawCreate(421.000000, 182.000000, ".");
- TextDrawFont(Intro[51], 2);
- TextDrawLetterSize(Intro[51], 0.500000, 1.000000);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- TogglePlayerSpectating(playerid, true);
- ForceClassSelection(playerid);
- SetPVarInt(playerid, "Intro", 0);
- TextDrawShowForPlayer(playerid, Intro[0]);
- SetTimerEx("ShowIntro", 1000, 0, "d", playerid);
- return 1;
- }
- forward ShowIntro(playerid);
- public ShowIntro(playerid)
- {
- SetPVarInt(playerid, "Intro", GetPVarInt(playerid, "Intro") + 1);
- new iteration = GetPVarInt(playerid, "Intro");
- switch(iteration)
- {
- case 1:
- {
- for(new i; i < 11; i++){SendClientMessage(playerid, -1, "");}
- TextDrawShowForPlayer(playerid, Intro[0]);
- PlayerPlaySound(playerid, 1185, 1474.5114,-904.4835,59.6022);
- }
- case 2:
- {
- TextDrawShowForPlayer(playerid, Intro[1]);
- }
- case 3:
- {
- TextDrawHideForPlayer(playerid, Intro[1]);
- TextDrawShowForPlayer(playerid, Intro[2]);
- }
- case 4:
- {
- TextDrawHideForPlayer(playerid, Intro[2]);
- TextDrawShowForPlayer(playerid, Intro[3]);
- }
- case 5:
- {
- TextDrawHideForPlayer(playerid, Intro[3]);
- TextDrawShowForPlayer(playerid, Intro[4]);
- }
- case 6:
- {
- TextDrawHideForPlayer(playerid, Intro[4]);
- TextDrawShowForPlayer(playerid, Intro[5]);
- }
- case 7:
- {
- TextDrawHideForPlayer(playerid, Intro[5]);
- TextDrawShowForPlayer(playerid, Intro[6]);
- }
- case 8:
- {
- TextDrawHideForPlayer(playerid, Intro[6]);
- TextDrawShowForPlayer(playerid, Intro[7]);
- }
- case 9:
- {
- TextDrawHideForPlayer(playerid, Intro[7]);
- TextDrawShowForPlayer(playerid, Intro[8]);
- }
- case 10:
- {
- TextDrawShowForPlayer(playerid, Intro[9]);
- }
- case 11:
- {
- TextDrawHideForPlayer(playerid, Intro[9]);
- TextDrawShowForPlayer(playerid, Intro[10]);
- }
- case 12:
- {
- TextDrawHideForPlayer(playerid, Intro[10]);
- TextDrawShowForPlayer(playerid, Intro[11]);
- }
- case 13:
- {
- TextDrawHideForPlayer(playerid, Intro[11]);
- TextDrawShowForPlayer(playerid, Intro[12]);
- }
- case 14:
- {
- TextDrawHideForPlayer(playerid, Intro[12]);
- TextDrawShowForPlayer(playerid, Intro[13]);
- }
- case 15:
- {
- TextDrawShowForPlayer(playerid, Intro[14]);
- }
- case 16:
- {
- TextDrawHideForPlayer(playerid, Intro[14]);
- TextDrawShowForPlayer(playerid, Intro[15]);
- }
- case 17:
- {
- TextDrawHideForPlayer(playerid, Intro[15]);
- TextDrawShowForPlayer(playerid, Intro[16]);
- }
- case 18:
- {
- TextDrawHideForPlayer(playerid, Intro[16]);
- TextDrawShowForPlayer(playerid, Intro[17]);
- }
- case 19:
- {
- TextDrawHideForPlayer(playerid, Intro[17]);
- TextDrawShowForPlayer(playerid, Intro[18]);
- }
- case 20:
- {
- TextDrawHideForPlayer(playerid, Intro[18]);
- TextDrawShowForPlayer(playerid, Intro[19]);
- }
- case 21:
- {
- TextDrawHideForPlayer(playerid, Intro[19]);
- TextDrawShowForPlayer(playerid, Intro[20]);
- }
- case 22:
- {
- TextDrawHideForPlayer(playerid, Intro[20]);
- TextDrawShowForPlayer(playerid, Intro[21]);
- }
- case 23:
- {
- TextDrawHideForPlayer(playerid, Intro[21]);
- TextDrawShowForPlayer(playerid, Intro[22]);
- }
- case 24:
- {
- TextDrawHideForPlayer(playerid, Intro[22]);
- TextDrawShowForPlayer(playerid, Intro[23]);
- }
- case 25:
- {
- TextDrawHideForPlayer(playerid, Intro[23]);
- TextDrawShowForPlayer(playerid, Intro[24]);
- }
- case 26:
- {
- TextDrawHideForPlayer(playerid, Intro[24]);
- TextDrawShowForPlayer(playerid, Intro[25]);
- }
- case 27:
- {
- TextDrawHideForPlayer(playerid, Intro[25]);
- TextDrawShowForPlayer(playerid, Intro[26]);
- }
- case 28:
- {
- TextDrawHideForPlayer(playerid, Intro[26]);
- TextDrawShowForPlayer(playerid, Intro[27]);
- }
- case 29:
- {
- TextDrawHideForPlayer(playerid, Intro[27]);
- TextDrawShowForPlayer(playerid, Intro[28]);
- }
- case 30:
- {
- TextDrawHideForPlayer(playerid, Intro[28]);
- TextDrawShowForPlayer(playerid, Intro[29]);
- }
- case 31:
- {
- TextDrawHideForPlayer(playerid, Intro[29]);
- TextDrawShowForPlayer(playerid, Intro[30]);
- }
- case 32:
- {
- TextDrawHideForPlayer(playerid, Intro[30]);
- TextDrawShowForPlayer(playerid, Intro[31]);
- }
- case 33:
- {
- TextDrawHideForPlayer(playerid, Intro[31]);
- TextDrawShowForPlayer(playerid, Intro[32]);
- }
- case 34:
- {
- TextDrawHideForPlayer(playerid, Intro[32]);
- TextDrawShowForPlayer(playerid, Intro[33]);
- }
- case 35:
- {
- TextDrawHideForPlayer(playerid, Intro[33]);
- TextDrawShowForPlayer(playerid, Intro[34]);
- }
- case 36:
- {
- TextDrawHideForPlayer(playerid, Intro[34]);
- TextDrawShowForPlayer(playerid, Intro[35]);
- }
- case 37:
- {
- TextDrawHideForPlayer(playerid, Intro[35]);
- TextDrawShowForPlayer(playerid, Intro[36]);
- }
- case 38:
- {
- TextDrawHideForPlayer(playerid, Intro[36]);
- TextDrawShowForPlayer(playerid, Intro[37]);
- }
- case 39:
- {
- TextDrawHideForPlayer(playerid, Intro[37]);
- TextDrawShowForPlayer(playerid, Intro[38]);
- }
- case 40:
- {
- TextDrawHideForPlayer(playerid, Intro[38]);
- TextDrawShowForPlayer(playerid, Intro[39]);
- }
- case 41:
- {
- TextDrawHideForPlayer(playerid, Intro[39]);
- TextDrawShowForPlayer(playerid, Intro[40]);
- }
- case 42:
- {
- TextDrawHideForPlayer(playerid, Intro[40]);
- TextDrawShowForPlayer(playerid, Intro[41]);
- }
- case 43:
- {
- TextDrawHideForPlayer(playerid, Intro[41]);
- TextDrawShowForPlayer(playerid, Intro[42]);
- }
- case 44:
- {
- TextDrawHideForPlayer(playerid, Intro[42]);
- TextDrawShowForPlayer(playerid, Intro[43]);
- }
- case 45:
- {
- TextDrawHideForPlayer(playerid, Intro[43]);
- TextDrawShowForPlayer(playerid, Intro[44]);
- }
- case 46:
- {
- TextDrawHideForPlayer(playerid, Intro[44]);
- TextDrawShowForPlayer(playerid, Intro[45]);
- }
- case 47:
- {
- TextDrawShowForPlayer(playerid, Intro[49]);
- }
- case 48:
- {
- TextDrawShowForPlayer(playerid, Intro[50]);
- }
- case 49:
- {
- TextDrawShowForPlayer(playerid, Intro[51]);
- }
- case 50:
- {
- TextDrawShowForPlayer(playerid, Intro[47]);
- }
- case 51:
- {
- TextDrawShowForPlayer(playerid, Intro[48]);
- }
- case 52:
- {
- TextDrawHideForPlayer(playerid, Intro[0]);
- TextDrawShowForPlayer(playerid, Intro[52]);
- }
- case 53:
- {
- TextDrawHideForPlayer(playerid, Intro[52]);
- TextDrawShowForPlayer(playerid, Intro[0]);
- }
- case 54:
- {
- TextDrawHideForPlayer(playerid, Intro[0]);
- TextDrawShowForPlayer(playerid, Intro[52]);
- }
- case 55:
- {
- TextDrawHideForPlayer(playerid, Intro[52]);
- TextDrawShowForPlayer(playerid, Intro[0]);
- }
- }
- if(GetPVarInt(playerid, "Intro") < 56)
- {
- SetTimerEx("ShowIntro", 200, 0, "d", playerid);
- }
- else if(47 < GetPVarInt(playerid, "Intro") < 52)
- {
- SetTimerEx("ShowIntro", 1000, 0, "d", playerid);
- }
- else
- {
- for(new i; i < sizeof(Intro); i++)
- {
- TextDrawHideForPlayer(playerid, Intro[i]);
- }
- TogglePlayerSpectating(playerid, false);
- ForceClassSelection(playerid);
- PlayerPlaySound(playerid,1186,2241.7932,2437.3384,10.8203);
- }
- return 1;
- }
- public OnFilterScriptExit()
- {
- for(new i; i < sizeof(Intro); i++)
- {
- TextDrawDestroy(Intro[i]);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment