Advertisement
OtaconEvil

[FS] Facil, Pantalla ERROR de Windows 8 en 'Kick' By OTACON

Oct 27th, 2013
538
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 5.69 KB | None | 0 0
  1. /*
  2.         * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
  3.         *
  4.         * Estè Simple FILTERSCRIPT esta hecho especialmente para www.forum.sa-mp.com
  5.         * NO Publicar estè FILTERSCRIPT en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
  6.         *
  7.         * Codigo Creado Por OTACON
  8.         *
  9.         * CREDITOS:
  10.         *     OTACON: Realizacion y Idea de creacion del code.
  11.         *     TÙ: Modificacion libremente respetando lo mencionado ;).
  12.         *
  13.         *    NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
  14.         *
  15.         *                Prohibido TOTALMENTE el Robo de Créditos o la
  16.         *                  Publicación de este FILTERSCRIPT sin Mi Permiso.
  17. */
  18. /*
  19.         * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
  20.         *
  21.         * This simple FILTERSCRIPT is made especially for www.forum.sa-mp.com
  22.         * DO NOT Post the FILTERSCRIPT in Other SAMP forums and impersonating the creator of the CODE.
  23.         *
  24.         * Code Created By OTACON
  25.         *
  26.         * CREDITS:
  27.         *     OTACON: Idea Making and code creation.
  28.         *     YOUR: Modification freely respecting the above ;).
  29.         *
  30.         *    NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
  31.         *
  32.         *                        FULLY spaces Theft Credit or
  33.         *                 Publication of this FILTERSCRIPT without my permission.
  34. */
  35. #include <a_samp>
  36. #include <zcmd>
  37.  
  38. #define MAX_TD_KICK (4)
  39. new Text:ErrorKickTD[MAX_TD_KICK];
  40. forward ErrorKick(playerid);
  41. public ErrorKick(playerid) Kick(playerid);
  42. stock KickEx(playerid) {
  43.     for(new msg=0; msg<24; msg++) \
  44.         SendClientMessage(playerid,-1," ");
  45.     for(new index=0; index<MAX_TD_KICK; index++) \
  46.         TextDrawShowForPlayer(playerid,ErrorKickTD[index]);
  47.     SetTimerEx("ErrorKick", 1000, false, "d", playerid);
  48. }
  49. #define Kick(%0) KickEx(%0)
  50. public OnFilterScriptInit() {
  51.     ErrorKickTD[0] = TextDrawCreate(-30.000000, 1.000000, "_");
  52.     TextDrawBackgroundColor(ErrorKickTD[0], 255);
  53.     TextDrawFont(ErrorKickTD[0], 1);
  54.     TextDrawLetterSize(ErrorKickTD[0], 0.500000, 53.299995);
  55.     TextDrawColor(ErrorKickTD[0], -1);
  56.     TextDrawSetOutline(ErrorKickTD[0], 0);
  57.     TextDrawSetProportional(ErrorKickTD[0], 1);
  58.     TextDrawSetShadow(ErrorKickTD[0], 1);
  59.     TextDrawUseBox(ErrorKickTD[0], 1);
  60.     TextDrawBoxColor(ErrorKickTD[0], 7715839);
  61.     TextDrawTextSize(ErrorKickTD[0], 900.000000, 0.000000);
  62.     TextDrawSetSelectable(ErrorKickTD[0], false);
  63.  
  64.     ErrorKickTD[1] = TextDrawCreate(261.000000, 42.000000, ":(");
  65.     TextDrawAlignment(ErrorKickTD[1], 3);
  66.     TextDrawBackgroundColor(ErrorKickTD[1], 255);
  67.     TextDrawFont(ErrorKickTD[1], 1);
  68.     TextDrawLetterSize(ErrorKickTD[1], 3.209999, 17.499998);
  69.     TextDrawColor(ErrorKickTD[1], -1);
  70.     TextDrawSetOutline(ErrorKickTD[1], 1);
  71.     TextDrawSetProportional(ErrorKickTD[1], 1);
  72.     TextDrawSetSelectable(ErrorKickTD[1], false);
  73.  
  74.     ErrorKickTD[2] = TextDrawCreate(186.000000, 206.000000, "SORRY! An Error Has Occurred!.");
  75.     TextDrawBackgroundColor(ErrorKickTD[2], 255);
  76.     TextDrawFont(ErrorKickTD[2], 2);
  77.     TextDrawLetterSize(ErrorKickTD[2], 0.580000, 3.500001);
  78.     TextDrawColor(ErrorKickTD[2], -1);
  79.     TextDrawSetOutline(ErrorKickTD[2], 1);
  80.     TextDrawSetProportional(ErrorKickTD[2], 1);
  81.     TextDrawSetSelectable(ErrorKickTD[2], false);
  82.  
  83.     ErrorKickTD[3] = TextDrawCreate(187.000000, 234.000000, "Contact a Member of server administration.");
  84.     TextDrawBackgroundColor(ErrorKickTD[3], 255);
  85.     TextDrawFont(ErrorKickTD[3], 2);
  86.     TextDrawLetterSize(ErrorKickTD[3], 0.399999, 1.700000);
  87.     TextDrawColor(ErrorKickTD[3], -606282753);
  88.     TextDrawSetOutline(ErrorKickTD[3], 1);
  89.     TextDrawSetProportional(ErrorKickTD[3], 1);
  90.     TextDrawSetSelectable(ErrorKickTD[3], false);
  91.     return true;
  92. }
  93. public OnFilterScriptExit() {
  94.     for(new index=0; index<MAX_TD_KICK; index++) \
  95.         TextDrawDestroy(ErrorKickTD[index]);
  96.     return true;
  97. }
  98. public OnPlayerConnect(playerid) {
  99.     for(new index=0; index<MAX_TD_KICK; index++) \
  100.         TextDrawHideForPlayer(playerid,ErrorKickTD[index]);
  101.     return true;
  102. }
  103. public OnPlayerDisconnect(playerid, reason) {
  104.     for(new index=0; index<MAX_TD_KICK; index++) \
  105.         TextDrawHideForPlayer(playerid,ErrorKickTD[index]);
  106.     return true;
  107. }
  108. COMMAND:test(playerid, params[]) {
  109.     Kick(playerid);
  110.     return true;
  111. }
  112. /*
  113.         * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
  114.         *
  115.         * Estè Simple FILTERSCRIPT esta hecho especialmente para www.forum.sa-mp.com
  116.         * NO Publicar estè FILTERSCRIPT en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
  117.         *
  118.         * Codigo Creado Por OTACON
  119.         *
  120.         * CREDITOS:
  121.         *     OTACON: Realizacion y Idea de creacion del code.
  122.         *     TÙ: Modificacion libremente respetando lo mencionado ;).
  123.         *
  124.         *    NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
  125.         *
  126.         *                Prohibido TOTALMENTE el Robo de Créditos o la
  127.         *                  Publicación de este FILTERSCRIPT sin Mi Permiso.
  128. */
  129. /*
  130.         * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
  131.         *
  132.         * This simple FILTERSCRIPT is made especially for www.forum.sa-mp.com
  133.         * DO NOT Post the FILTERSCRIPT in Other SAMP forums and impersonating the creator of the CODE.
  134.         *
  135.         * Code Created By OTACON
  136.         *
  137.         * CREDITS:
  138.         *     OTACON: Idea Making and code creation.
  139.         *     YOUR: Modification freely respecting the above ;).
  140.         *
  141.         *    NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
  142.         *
  143.         *                        FULLY spaces Theft Credit or
  144.         *                 Publication of this FILTERSCRIPT without my permission.
  145. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement