Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Prohibido TOTALMENTE el Robo de Créditos o la
- Publicación de este FILTERSCRIPT sin Mi Permiso.
- FULLY spaces Theft Credit or
- Publication of this FILTERSCRIPT without my permission.
- SIMPLE FILTERSCRIPT --> Simple Horse Dynamic 'TextDraw' V2
- CREDITOS: OTACON ;)
- NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
- */
- #include <a_samp>
- new Text:CaballitoDinamicoTD[MAX_PLAYERS][2];
- new MatarTimerCaballito[MAX_PLAYERS];
- new TextCaballito[][] = { "ld_otb:hrs1", "ld_otb:hrs2", "ld_otb:hrs3", "ld_otb:hrs4", "ld_otb:hrs5", "ld_otb:hrs6", "ld_otb:hrs7", "ld_otb:hrs8" };
- new Float:PosicionCaballito[] = { 30.000000, 111.000000, 194.000000, 279.000000, 366.000000, 457.000000 };
- public OnFilterScriptInit() {
- print("\n**************************************");
- print(" Simple Horse Dynamic 'TextDraw' V2 ");
- print(" Date: 20/07/2013 ");
- print(" Author: OTACON ");
- print(" --* Loaded with Success!!. *-- ");
- print("***************************************\n");
- return true;
- }
- public OnFilterScriptExit() {
- print("\n**************************************");
- print(" Simple Horse Dynamic 'TextDraw' V2 ");
- print(" Date: 20/07/2013 ");
- print(" Author: OTACON ");
- print(" --* Downloaded with Success!!. *-- ");
- print("***************************************\n");
- return true;
- }
- public OnPlayerConnect(playerid) {
- CaballitoDinamicoTD[playerid][1] = TextDrawCreate(30.000000, 120.000000, "_");
- TextDrawBackgroundColor(CaballitoDinamicoTD[playerid][1], 255);
- TextDrawFont(CaballitoDinamicoTD[playerid][1], 4);
- TextDrawLetterSize(CaballitoDinamicoTD[playerid][1], 0.500000, 1.000000);
- TextDrawColor(CaballitoDinamicoTD[playerid][1], -1);
- TextDrawSetOutline(CaballitoDinamicoTD[playerid][1], 0);
- TextDrawSetProportional(CaballitoDinamicoTD[playerid][1], 1);
- TextDrawSetShadow(CaballitoDinamicoTD[playerid][1], 1);
- TextDrawUseBox(CaballitoDinamicoTD[playerid][1], 1);
- TextDrawBoxColor(CaballitoDinamicoTD[playerid][1], 255);
- TextDrawTextSize(CaballitoDinamicoTD[playerid][1], 70.000000, 62.000000);
- return true;
- }
- public OnPlayerDisconnect(playerid, reason) {
- TextDrawHideForPlayer(playerid, CaballitoDinamicoTD[playerid][1]);
- TextDrawDestroy(CaballitoDinamicoTD[playerid][1]);
- KillTimer(MatarTimerCaballito[playerid]);
- return true;
- }
- public OnPlayerSpawn(playerid) {
- TextDrawShowForPlayer(playerid, CaballitoDinamicoTD[playerid][1]);
- MatarTimerCaballito[playerid]=SetTimerEx("MoverCaballito", 200, true, "d", playerid);
- return true;
- }
- forward MoverCaballito(playerid);
- public MoverCaballito(playerid) {
- static indexcaballito, caballitoindex;
- indexcaballito++;
- TextDrawHideForPlayer(playerid, CaballitoDinamicoTD[playerid][1]);
- TextDrawDestroy(CaballitoDinamicoTD[playerid][1]);
- CaballitoDinamicoTD[playerid][1] = TextDrawCreate(PosicionCaballito[caballitoindex], 120.000000, "_");
- TextDrawBackgroundColor(CaballitoDinamicoTD[playerid][1], 255);
- TextDrawFont(CaballitoDinamicoTD[playerid][1], 4);
- TextDrawLetterSize(CaballitoDinamicoTD[playerid][1], 0.500000, 1.000000);
- TextDrawColor(CaballitoDinamicoTD[playerid][1], -1);
- TextDrawSetOutline(CaballitoDinamicoTD[playerid][1], 0);
- TextDrawSetProportional(CaballitoDinamicoTD[playerid][1], 1);
- TextDrawSetShadow(CaballitoDinamicoTD[playerid][1], 1);
- TextDrawUseBox(CaballitoDinamicoTD[playerid][1], 1);
- TextDrawBoxColor(CaballitoDinamicoTD[playerid][1], 255);
- TextDrawTextSize(CaballitoDinamicoTD[playerid][1], 70.000000, 62.000000);
- TextDrawShowForPlayer(playerid, CaballitoDinamicoTD[playerid][1]);
- TextDrawSetString(CaballitoDinamicoTD[playerid][1], TextCaballito[indexcaballito]);
- if(indexcaballito>=7) indexcaballito=0, caballitoindex++;
- if(caballitoindex>=6) caballitoindex=0;
- }
- /*
- Prohibido TOTALMENTE el Robo de Créditos o la
- Publicación de este FILTERSCRIPT sin Mi Permiso.
- FULLY spaces Theft Credit or
- Publication of this FILTERSCRIPT without my permission.
- SIMPLE FILTERSCRIPT --> Simple Horse Dynamic 'TextDraw' V2
- CREDITOS: OTACON ;)
- NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement