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 FS sin Mi Permiso.
- */
- /////////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////////////
- /*
- ----------------------------------------------------------
- | [FS] --< 'Nueva Pantalla Login (TextDraw)' >-- V1.0 |
- | |
- | Creado Por ØTACØN - 2012 |
- ----------------------------------------------------------
- ----------------------------------------------------------
- | FS CREADO PARA LOS USUARIOS NOVATOS EN PAWNO |
- ----------------------------------------------------------
- */
- /////////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////////////
- #include <a_samp>
- new Text:Conectados[12];
- public OnFilterScriptInit()
- {
- Conectados[1] = TextDrawCreate(0.000000, 2.000000, "_");
- TextDrawBackgroundColor(Conectados[1], 255);
- TextDrawFont(Conectados[1], 1);
- TextDrawLetterSize(Conectados[1], 14.730020, 13.000000);
- TextDrawColor(Conectados[1], -1);
- TextDrawSetOutline(Conectados[1], 0);
- TextDrawSetProportional(Conectados[1], 1);
- TextDrawSetShadow(Conectados[1], 1);
- TextDrawUseBox(Conectados[1], 1);
- TextDrawBoxColor(Conectados[1], 255);
- TextDrawTextSize(Conectados[1], 770.000000, 0.000000);
- Conectados[2] = TextDrawCreate(0.000000, 329.000000, "_");
- TextDrawBackgroundColor(Conectados[2], 255);
- TextDrawFont(Conectados[2], 1);
- TextDrawLetterSize(Conectados[2], 14.730020, 13.000000);
- TextDrawColor(Conectados[2], -1);
- TextDrawSetOutline(Conectados[2], 0);
- TextDrawSetProportional(Conectados[2], 1);
- TextDrawSetShadow(Conectados[2], 1);
- TextDrawUseBox(Conectados[2], 1);
- TextDrawBoxColor(Conectados[2], 255);
- TextDrawTextSize(Conectados[2], 770.000000, 0.000000);
- Conectados[3] = TextDrawCreate(0.000000, 122.000000, "_");
- TextDrawBackgroundColor(Conectados[3], 255);
- TextDrawFont(Conectados[3], 1);
- TextDrawLetterSize(Conectados[3], 14.730020, 0.199999);
- TextDrawColor(Conectados[3], -1);
- TextDrawSetOutline(Conectados[3], 0);
- TextDrawSetProportional(Conectados[3], 1);
- TextDrawSetShadow(Conectados[3], 1);
- TextDrawUseBox(Conectados[3], 1);
- TextDrawBoxColor(Conectados[3], 0xFF9200FF);
- TextDrawTextSize(Conectados[3], 770.000000, 0.000000);
- Conectados[4] = TextDrawCreate(0.000000, 324.000000, "_");
- TextDrawBackgroundColor(Conectados[4], 255);
- TextDrawFont(Conectados[4], 1);
- TextDrawLetterSize(Conectados[4], 14.730020, 0.199999);
- TextDrawColor(Conectados[4], -1);
- TextDrawSetOutline(Conectados[4], 0);
- TextDrawSetProportional(Conectados[4], 1);
- TextDrawSetShadow(Conectados[4], 1);
- TextDrawUseBox(Conectados[4], 1);
- TextDrawBoxColor(Conectados[4], 0xFF9200FF);
- TextDrawTextSize(Conectados[4], 770.000000, 0.000000);
- Conectados[5] = TextDrawCreate(537.000000, 336.000000, "_");
- TextDrawAlignment(Conectados[5], 2);
- TextDrawBackgroundColor(Conectados[5], 255);
- TextDrawFont(Conectados[5], 2);
- TextDrawLetterSize(Conectados[5], 0.230000, 1.600001);
- TextDrawColor(Conectados[5], 0xFF9200FF);
- TextDrawSetOutline(Conectados[5], 1);
- TextDrawSetProportional(Conectados[5], 1);
- Conectados[6] = TextDrawCreate(192.000000, 392.000000, "TeamSpeak 3: ~w~TS.Gamerol.Net");
- TextDrawAlignment(Conectados[6], 2);
- TextDrawBackgroundColor(Conectados[6], 255);
- TextDrawFont(Conectados[6], 2);
- TextDrawLetterSize(Conectados[6], 0.360000, 3.400002);
- TextDrawColor(Conectados[6], 0xFF9200FF);
- TextDrawSetOutline(Conectados[6], 1);
- TextDrawSetProportional(Conectados[6], 1);
- Conectados[7] = TextDrawCreate(458.000000, 392.000000, "Pagina Web: ~w~Gamerol.Net");
- TextDrawAlignment(Conectados[7], 2);
- TextDrawBackgroundColor(Conectados[7], 255);
- TextDrawFont(Conectados[7], 2);
- TextDrawLetterSize(Conectados[7], 0.360000, 3.400002);
- TextDrawColor(Conectados[7], 0xFF9200FF);
- TextDrawSetOutline(Conectados[7], 1);
- TextDrawSetProportional(Conectados[7], 1);
- Conectados[8] = TextDrawCreate(321.000000, 29.000000, "Gamerol ~w~Roleplay");
- TextDrawAlignment(Conectados[8], 2);
- TextDrawBackgroundColor(Conectados[8], 255);
- TextDrawFont(Conectados[8], 2);
- TextDrawLetterSize(Conectados[8], 1.100000, 6.700001);
- TextDrawColor(Conectados[8], 0xFF9200FF);
- TextDrawSetOutline(Conectados[8], 1);
- TextDrawSetProportional(Conectados[8], 1);
- Conectados[9] = TextDrawCreate(319.000000, 341.000000, "] ] ]");
- TextDrawAlignment(Conectados[9], 2);
- TextDrawBackgroundColor(Conectados[9], 255);
- TextDrawFont(Conectados[9], 2);
- TextDrawLetterSize(Conectados[9], 1.100000, 4.600001);
- TextDrawColor(Conectados[9], 0xFF9200FF);
- TextDrawSetOutline(Conectados[9], 1);
- TextDrawSetProportional(Conectados[9], 1);
- Conectados[10] = TextDrawCreate(307.000000, 86.000000, "~y~] ] ] ~w~Mas Que Un Servidor ~y~] ] ]");
- TextDrawAlignment(Conectados[10], 2);
- TextDrawBackgroundColor(Conectados[10], 255);
- TextDrawFont(Conectados[10], 2);
- TextDrawLetterSize(Conectados[10], 0.360000, 1.800001);
- TextDrawColor(Conectados[10], -1);
- TextDrawSetOutline(Conectados[10], 1);
- TextDrawSetProportional(Conectados[10], 1);
- Conectados[11] = TextDrawCreate(90.000000, 336.000000, "_");
- TextDrawAlignment(Conectados[11], 2);
- TextDrawBackgroundColor(Conectados[11], 255);
- TextDrawFont(Conectados[11], 2);
- TextDrawLetterSize(Conectados[11], 0.230000, 1.600001);
- TextDrawColor(Conectados[11], 0xFF9200FF);
- TextDrawSetOutline(Conectados[11], 1);
- TextDrawSetProportional(Conectados[11], 1);
- SetTimer("Conectados_OnLine",2000,true);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- TextDrawShowForPlayer(playerid, Conectados[1]);
- TextDrawShowForPlayer(playerid, Conectados[2]);
- TextDrawShowForPlayer(playerid, Conectados[3]);
- TextDrawShowForPlayer(playerid, Conectados[4]);
- TextDrawShowForPlayer(playerid, Conectados[5]);
- TextDrawShowForPlayer(playerid, Conectados[6]);
- TextDrawShowForPlayer(playerid, Conectados[7]);
- TextDrawShowForPlayer(playerid, Conectados[8]);
- TextDrawShowForPlayer(playerid, Conectados[9]);
- TextDrawShowForPlayer(playerid, Conectados[10]);
- TextDrawShowForPlayer(playerid, Conectados[11]);
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- TextDrawHideForPlayer(playerid, Conectados[1]);
- TextDrawDestroy(Conectados[1]);
- TextDrawHideForPlayer(playerid, Conectados[2]);
- TextDrawDestroy(Conectados[2]);
- TextDrawHideForPlayer(playerid, Conectados[3]);
- TextDrawDestroy(Conectados[3]);
- TextDrawHideForPlayer(playerid, Conectados[4]);
- TextDrawDestroy(Conectados[4]);
- TextDrawHideForPlayer(playerid, Conectados[5]);
- TextDrawDestroy(Conectados[5]);
- TextDrawHideForPlayer(playerid, Conectados[6]);
- TextDrawDestroy(Conectados[6]);
- TextDrawHideForPlayer(playerid, Conectados[7]);
- TextDrawDestroy(Conectados[7]);
- TextDrawHideForPlayer(playerid, Conectados[8]);
- TextDrawDestroy(Conectados[8]);
- TextDrawHideForPlayer(playerid, Conectados[9]);
- TextDrawDestroy(Conectados[9]);
- TextDrawHideForPlayer(playerid, Conectados[10]);
- TextDrawDestroy(Conectados[10]);
- TextDrawHideForPlayer(playerid, Conectados[11]);
- TextDrawDestroy(Conectados[11]);
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- TextDrawHideForPlayer(playerid, Conectados[1]);
- TextDrawDestroy(Conectados[1]);
- TextDrawHideForPlayer(playerid, Conectados[2]);
- TextDrawDestroy(Conectados[2]);
- TextDrawHideForPlayer(playerid, Conectados[3]);
- TextDrawDestroy(Conectados[3]);
- TextDrawHideForPlayer(playerid, Conectados[4]);
- TextDrawDestroy(Conectados[4]);
- TextDrawHideForPlayer(playerid, Conectados[5]);
- TextDrawDestroy(Conectados[5]);
- TextDrawHideForPlayer(playerid, Conectados[6]);
- TextDrawDestroy(Conectados[6]);
- TextDrawHideForPlayer(playerid, Conectados[7]);
- TextDrawDestroy(Conectados[7]);
- TextDrawHideForPlayer(playerid, Conectados[8]);
- TextDrawDestroy(Conectados[8]);
- TextDrawHideForPlayer(playerid, Conectados[9]);
- TextDrawDestroy(Conectados[9]);
- TextDrawHideForPlayer(playerid, Conectados[10]);
- TextDrawDestroy(Conectados[10]);
- TextDrawHideForPlayer(playerid, Conectados[11]);
- TextDrawDestroy(Conectados[11]);
- return 1;
- }
- stock Usuarios()
- {
- new OnLine;
- for(new i, g = GetMaxPlayers(); i < g; i++)
- {
- if(IsPlayerConnected(i))
- {
- OnLine++;
- }
- }
- return OnLine;
- }
- forward Conectados_OnLine(playerid);
- public Conectados_OnLine(playerid)
- {
- new str[128];
- new Name[MAX_PLAYER_NAME];
- GetPlayerName(playerid,Name, sizeof Name);
- format(str,sizeof(str),"Player: ~w~%s", Name);
- TextDrawSetString(Conectados[11], str);
- format(str,sizeof(str),"Usuarios Conectados: ~w~%i", Usuarios());
- TextDrawSetString(Conectados[5], str);
- return 1;
- }
- /////////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////////////
- /*
- ----------------------------------------------------------
- | [FS] --< 'Nueva Pantalla Login (TextDraw)' >-- V1.0 |
- | |
- | Creado Por ØTACØN - 2012 |
- ----------------------------------------------------------
- ----------------------------------------------------------
- | FS CREADO PARA LOS USUARIOS NOVATOS EN PAWNO |
- ----------------------------------------------------------
- */
- /////////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////////////
- /*
- Prohibido TOTALMENTE el Robo de Créditos o la
- Publicación de este FS sin Mi Permiso.
- */
Advertisement
Add Comment
Please, Sign In to add comment