Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
- *
- * Estè Simple FILTERSCRIPT esta hecho especialmente para www.forum.sa-mp.com
- * NO Publicar estè FILTERSCRIPT en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
- *
- * Codigo Creado Por OTACON
- *
- * CREDITOS:
- * OTACON: Realizacion y Idea de creacion del code.
- * TÙ: Modificacion libremente respetando lo mencionado ;).
- *
- * NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
- *
- * Prohibido TOTALMENTE el Robo de Créditos o la
- * Publicación de este FILTERSCRIPT sin Mi Permiso.
- */
- /*
- * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
- *
- * This simple FILTERSCRIPT is made especially for www.forum.sa-mp.com
- * DO NOT Post the FILTERSCRIPT in Other SAMP forums and impersonating the creator of the CODE.
- *
- * Code Created By OTACON
- *
- * CREDITS:
- * OTACON: Idea Making and code creation.
- * YOUR: Modification freely respecting the above ;).
- *
- * NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
- *
- * FULLY spaces Theft Credit or
- * Publication of this FILTERSCRIPT without my permission.
- */
- #include <a_samp>
- #include <zcmd>
- #define MAX_TD_KICK (4)
- new Text:ErrorKickTD[MAX_TD_KICK];
- forward ErrorKick(playerid);
- public ErrorKick(playerid) Kick(playerid);
- stock KickEx(playerid) {
- for(new msg=0; msg<24; msg++) \
- SendClientMessage(playerid,-1," ");
- for(new index=0; index<MAX_TD_KICK; index++) \
- TextDrawShowForPlayer(playerid,ErrorKickTD[index]);
- SetTimerEx("ErrorKick", 1000, false, "d", playerid);
- }
- #define Kick(%0) KickEx(%0)
- public OnFilterScriptInit() {
- ErrorKickTD[0] = TextDrawCreate(-30.000000, 1.000000, "_");
- TextDrawBackgroundColor(ErrorKickTD[0], 255);
- TextDrawFont(ErrorKickTD[0], 1);
- TextDrawLetterSize(ErrorKickTD[0], 0.500000, 53.299995);
- TextDrawColor(ErrorKickTD[0], -1);
- TextDrawSetOutline(ErrorKickTD[0], 0);
- TextDrawSetProportional(ErrorKickTD[0], 1);
- TextDrawSetShadow(ErrorKickTD[0], 1);
- TextDrawUseBox(ErrorKickTD[0], 1);
- TextDrawBoxColor(ErrorKickTD[0], 7715839);
- TextDrawTextSize(ErrorKickTD[0], 900.000000, 0.000000);
- TextDrawSetSelectable(ErrorKickTD[0], false);
- ErrorKickTD[1] = TextDrawCreate(261.000000, 42.000000, ":(");
- TextDrawAlignment(ErrorKickTD[1], 3);
- TextDrawBackgroundColor(ErrorKickTD[1], 255);
- TextDrawFont(ErrorKickTD[1], 1);
- TextDrawLetterSize(ErrorKickTD[1], 3.209999, 17.499998);
- TextDrawColor(ErrorKickTD[1], -1);
- TextDrawSetOutline(ErrorKickTD[1], 1);
- TextDrawSetProportional(ErrorKickTD[1], 1);
- TextDrawSetSelectable(ErrorKickTD[1], false);
- ErrorKickTD[2] = TextDrawCreate(186.000000, 206.000000, "SORRY! An Error Has Occurred!.");
- TextDrawBackgroundColor(ErrorKickTD[2], 255);
- TextDrawFont(ErrorKickTD[2], 2);
- TextDrawLetterSize(ErrorKickTD[2], 0.580000, 3.500001);
- TextDrawColor(ErrorKickTD[2], -1);
- TextDrawSetOutline(ErrorKickTD[2], 1);
- TextDrawSetProportional(ErrorKickTD[2], 1);
- TextDrawSetSelectable(ErrorKickTD[2], false);
- ErrorKickTD[3] = TextDrawCreate(187.000000, 234.000000, "Contact a Member of server administration.");
- TextDrawBackgroundColor(ErrorKickTD[3], 255);
- TextDrawFont(ErrorKickTD[3], 2);
- TextDrawLetterSize(ErrorKickTD[3], 0.399999, 1.700000);
- TextDrawColor(ErrorKickTD[3], -606282753);
- TextDrawSetOutline(ErrorKickTD[3], 1);
- TextDrawSetProportional(ErrorKickTD[3], 1);
- TextDrawSetSelectable(ErrorKickTD[3], false);
- return true;
- }
- public OnFilterScriptExit() {
- for(new index=0; index<MAX_TD_KICK; index++) \
- TextDrawDestroy(ErrorKickTD[index]);
- return true;
- }
- public OnPlayerConnect(playerid) {
- for(new index=0; index<MAX_TD_KICK; index++) \
- TextDrawHideForPlayer(playerid,ErrorKickTD[index]);
- return true;
- }
- public OnPlayerDisconnect(playerid, reason) {
- for(new index=0; index<MAX_TD_KICK; index++) \
- TextDrawHideForPlayer(playerid,ErrorKickTD[index]);
- return true;
- }
- COMMAND:test(playerid, params[]) {
- Kick(playerid);
- return true;
- }
- /*
- * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
- *
- * Estè Simple FILTERSCRIPT esta hecho especialmente para www.forum.sa-mp.com
- * NO Publicar estè FILTERSCRIPT en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
- *
- * Codigo Creado Por OTACON
- *
- * CREDITOS:
- * OTACON: Realizacion y Idea de creacion del code.
- * TÙ: Modificacion libremente respetando lo mencionado ;).
- *
- * NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
- *
- * Prohibido TOTALMENTE el Robo de Créditos o la
- * Publicación de este FILTERSCRIPT sin Mi Permiso.
- */
- /*
- * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
- *
- * This simple FILTERSCRIPT is made especially for www.forum.sa-mp.com
- * DO NOT Post the FILTERSCRIPT in Other SAMP forums and impersonating the creator of the CODE.
- *
- * Code Created By OTACON
- *
- * CREDITS:
- * OTACON: Idea Making and code creation.
- * YOUR: Modification freely respecting the above ;).
- *
- * NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
- *
- * FULLY spaces Theft Credit or
- * Publication of this FILTERSCRIPT without my permission.
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement