Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- • Sistema de Registro e Login com TextDraw
- • Criador: Whoo
- • Creditos Whoo
- •
- //// //// /// /// /////////// ///////////
- /// / /// /// /// /// /// /// ///
- /// // /// ////////// /// /// /// ///
- /// // // /// /// /// /// /// /// ///
- ///// /////// /// /// /////////// ///////////
- • 10/12/2014 •
- */
- #define FILTERSCRIPT
- // INCLUDES //
- #include <a_samp>
- #include <dof2>
- #if defined FILTERSCRIPT
- // DIALOGS //
- #define DIALOG_REGISTRO ( 1 )
- #define DIALOG_LOGIN ( 2 )
- #define DIALOG_AVISO ( 3 )
- // CORES //
- #define COR_AZUL_ADMIN 0x4876FFFF
- #define COR_AVISO 0x8B8B83FF
- #define COR_SUCESSO 0x54FF9FFF
- new Text:Registro[19];
- new
- IP[26],
- Arquivo[40],
- String[256],
- Administrador[MAX_PLAYERS],
- Level[MAX_PLAYERS],
- Skin[MAX_PLAYERS],
- Matou[MAX_PLAYERS],
- Morreu[MAX_PLAYERS],
- PlayerERRO[MAX_PLAYERS],
- Nome[MAX_PLAYER_NAME]
- //ANome[MAX_PLAYER_NAME]
- ;
- public OnFilterScriptInit()
- {
- print("\n------------------------------------------------------------------");
- print(" SISTEMA DE REGISTRO/LOGIN COM TEXTDRAW CARREGADO");
- print(" Creditos: Whoo");
- print("------------------------------------------------------------------\n");
- Registro[0] = TextDrawCreate(640.000000, 0.000000, " ");
- TextDrawBackgroundColor(Registro[0], 255);
- TextDrawFont(Registro[0], 1);
- TextDrawLetterSize(Registro[0], 0.500000, 8.000000);
- TextDrawColor(Registro[0], -1);
- TextDrawSetOutline(Registro[0], 0);
- TextDrawSetProportional(Registro[0], 1);
- TextDrawSetShadow(Registro[0], 1);
- TextDrawUseBox(Registro[0], 1);
- TextDrawBoxColor(Registro[0], 35);
- TextDrawTextSize(Registro[0], -30.000000, 19.000000);
- Registro[1] = TextDrawCreate(388.000000, 161.000000, " ");
- TextDrawBackgroundColor(Registro[1], 255);
- TextDrawFont(Registro[1], 1);
- TextDrawLetterSize(Registro[1], 0.500000, 0.199999);
- TextDrawColor(Registro[1], -1);
- TextDrawSetOutline(Registro[1], 0);
- TextDrawSetProportional(Registro[1], 1);
- TextDrawSetShadow(Registro[1], 1);
- TextDrawUseBox(Registro[1], 1);
- TextDrawBoxColor(Registro[1], 60);
- TextDrawTextSize(Registro[1], 257.000000, -20.000000);
- Registro[2] = TextDrawCreate(388.000000, 190.000000, " ");
- TextDrawBackgroundColor(Registro[2], 255);
- TextDrawFont(Registro[2], 1);
- TextDrawLetterSize(Registro[2], 0.500000, 0.199999);
- TextDrawColor(Registro[2], -1);
- TextDrawSetOutline(Registro[2], 0);
- TextDrawSetProportional(Registro[2], 1);
- TextDrawSetShadow(Registro[2], 1);
- TextDrawUseBox(Registro[2], 1);
- TextDrawBoxColor(Registro[2], 70);
- TextDrawTextSize(Registro[2], 257.000000, -20.000000);
- Registro[3] = TextDrawCreate(388.000000, 218.000000, " ");
- TextDrawBackgroundColor(Registro[3], 255);
- TextDrawFont(Registro[3], 1);
- TextDrawLetterSize(Registro[3], 0.500000, 0.199999);
- TextDrawColor(Registro[3], -1);
- TextDrawSetOutline(Registro[3], 0);
- TextDrawSetProportional(Registro[3], 1);
- TextDrawSetShadow(Registro[3], 1);
- TextDrawUseBox(Registro[3], 1);
- TextDrawBoxColor(Registro[3], 70);
- TextDrawTextSize(Registro[3], 257.000000, -20.000000);
- Registro[4] = TextDrawCreate(388.000000, 247.000000, " ");
- TextDrawBackgroundColor(Registro[4], 255);
- TextDrawFont(Registro[4], 1);
- TextDrawLetterSize(Registro[4], 0.500000, 0.199999);
- TextDrawColor(Registro[4], -1);
- TextDrawSetOutline(Registro[4], 0);
- TextDrawSetProportional(Registro[4], 1);
- TextDrawSetShadow(Registro[4], 1);
- TextDrawUseBox(Registro[4], 1);
- TextDrawBoxColor(Registro[4], 70);
- TextDrawTextSize(Registro[4], 257.000000, -20.000000);
- Registro[5] = TextDrawCreate(282.000000, 162.000000, "Registrar");
- TextDrawBackgroundColor(Registro[5], 255);
- TextDrawFont(Registro[5], 2);
- TextDrawLetterSize(Registro[5], 0.349999, 1.500000);
- TextDrawColor(Registro[5], -1);
- TextDrawSetOutline(Registro[5], 1);
- TextDrawSetProportional(Registro[5], 1);
- Registro[6] = TextDrawCreate(298.000000, 191.000000, "Logar");
- TextDrawBackgroundColor(Registro[6], 255);
- TextDrawFont(Registro[6], 2);
- TextDrawLetterSize(Registro[6], 0.349999, 1.500000);
- TextDrawColor(Registro[6], -1);
- TextDrawSetOutline(Registro[6], 1);
- TextDrawSetProportional(Registro[6], 1);
- Registro[7] = TextDrawCreate(306.000000, 218.000000, "Info");
- TextDrawBackgroundColor(Registro[7], 255);
- TextDrawFont(Registro[7], 2);
- TextDrawLetterSize(Registro[7], 0.349999, 1.500000);
- TextDrawColor(Registro[7], -1);
- TextDrawSetOutline(Registro[7], 1);
- TextDrawSetProportional(Registro[7], 1);
- Registro[8] = TextDrawCreate(305.000000, 247.000000, "Sair");
- TextDrawBackgroundColor(Registro[8], 255);
- TextDrawFont(Registro[8], 2);
- TextDrawLetterSize(Registro[8], 0.349999, 1.500000);
- TextDrawColor(Registro[8], -1);
- TextDrawSetOutline(Registro[8], 1);
- TextDrawSetProportional(Registro[8], 1);
- Registro[9] = TextDrawCreate(650.000000, 68.000000, " ");
- TextDrawBackgroundColor(Registro[9], 255);
- TextDrawFont(Registro[9], 1);
- TextDrawLetterSize(Registro[9], 0.800000, 0.000000);
- TextDrawColor(Registro[9], -1);
- TextDrawSetOutline(Registro[9], 0);
- TextDrawSetProportional(Registro[9], 1);
- TextDrawSetShadow(Registro[9], 1);
- TextDrawUseBox(Registro[9], 1);
- TextDrawBoxColor(Registro[9], 1131343615);
- TextDrawTextSize(Registro[9], -11.000000, 0.000000);
- Registro[10] = TextDrawCreate(650.000000, 378.000000, " ");
- TextDrawBackgroundColor(Registro[10], 255);
- TextDrawFont(Registro[10], 1);
- TextDrawLetterSize(Registro[10], 0.800000, -0.099999);
- TextDrawColor(Registro[10], -1);
- TextDrawSetOutline(Registro[10], 0);
- TextDrawSetProportional(Registro[10], 1);
- TextDrawSetShadow(Registro[10], 1);
- TextDrawUseBox(Registro[10], 1);
- TextDrawBoxColor(Registro[10], 1131343615);
- TextDrawTextSize(Registro[10], -11.000000, 0.000000);
- Registro[11] = TextDrawCreate(261.000000, 161.000000, " ");
- TextDrawBackgroundColor(Registro[11], 255);
- TextDrawFont(Registro[11], 1);
- TextDrawLetterSize(Registro[11], 0.500000, 0.899999);
- TextDrawColor(Registro[11], -1);
- TextDrawSetOutline(Registro[11], 0);
- TextDrawSetProportional(Registro[11], 1);
- TextDrawSetShadow(Registro[11], 1);
- TextDrawUseBox(Registro[11], 1);
- TextDrawBoxColor(Registro[11], 255);
- TextDrawTextSize(Registro[11], 262.000000, 0.000000);
- Registro[12] = TextDrawCreate(261.000000, 190.000000, " ");
- TextDrawBackgroundColor(Registro[12], 255);
- TextDrawFont(Registro[12], 1);
- TextDrawLetterSize(Registro[12], 0.500000, 0.899999);
- TextDrawColor(Registro[12], -1);
- TextDrawSetOutline(Registro[12], 0);
- TextDrawSetProportional(Registro[12], 1);
- TextDrawSetShadow(Registro[12], 1);
- TextDrawUseBox(Registro[12], 1);
- TextDrawBoxColor(Registro[12], 1131343615);
- TextDrawTextSize(Registro[12], 262.000000, 0.000000);
- Registro[13] = TextDrawCreate(261.000000, 218.000000, " ");
- TextDrawBackgroundColor(Registro[13], 255);
- TextDrawFont(Registro[13], 1);
- TextDrawLetterSize(Registro[13], 0.500000, 0.899999);
- TextDrawColor(Registro[13], -1);
- TextDrawSetOutline(Registro[13], 0);
- TextDrawSetProportional(Registro[13], 1);
- TextDrawSetShadow(Registro[13], 1);
- TextDrawUseBox(Registro[13], 1);
- TextDrawBoxColor(Registro[13], 255);
- TextDrawTextSize(Registro[13], 262.000000, 0.000000);
- Registro[14] = TextDrawCreate(261.000000, 247.000000, " ");
- TextDrawBackgroundColor(Registro[14], 255);
- TextDrawFont(Registro[14], 1);
- TextDrawLetterSize(Registro[14], 0.500000, 0.899999);
- TextDrawColor(Registro[14], -1);
- TextDrawSetOutline(Registro[14], 0);
- TextDrawSetProportional(Registro[14], 1);
- TextDrawSetShadow(Registro[14], 1);
- TextDrawUseBox(Registro[14], 1);
- TextDrawBoxColor(Registro[14], 1131343615);
- TextDrawTextSize(Registro[14], 262.000000, 0.000000);
- Registro[15] = TextDrawCreate(388.000000, 247.000000, " ");
- TextDrawBackgroundColor(Registro[15], 255);
- TextDrawFont(Registro[15], 1);
- TextDrawLetterSize(Registro[15], 0.500000, 0.899999);
- TextDrawColor(Registro[15], -1);
- TextDrawSetOutline(Registro[15], 0);
- TextDrawSetProportional(Registro[15], 1);
- TextDrawSetShadow(Registro[15], 1);
- TextDrawUseBox(Registro[15], 1);
- TextDrawBoxColor(Registro[15], 1131343615);
- TextDrawTextSize(Registro[15], 379.000000, 0.000000);
- Registro[16] = TextDrawCreate(388.000000, 190.000000, " ");
- TextDrawBackgroundColor(Registro[16], 255);
- TextDrawFont(Registro[16], 1);
- TextDrawLetterSize(Registro[16], 0.500000, 0.899999);
- TextDrawColor(Registro[16], -1);
- TextDrawSetOutline(Registro[16], 0);
- TextDrawSetProportional(Registro[16], 1);
- TextDrawSetShadow(Registro[16], 1);
- TextDrawUseBox(Registro[16], 1);
- TextDrawBoxColor(Registro[16], 1131343615);
- TextDrawTextSize(Registro[16], 379.000000, 0.000000);
- Registro[17] = TextDrawCreate(388.000000, 218.000000, " ");
- TextDrawBackgroundColor(Registro[17], 255);
- TextDrawFont(Registro[17], 1);
- TextDrawLetterSize(Registro[17], 0.500000, 0.899999);
- TextDrawColor(Registro[17], -1);
- TextDrawSetOutline(Registro[17], 0);
- TextDrawSetProportional(Registro[17], 1);
- TextDrawSetShadow(Registro[17], 1);
- TextDrawUseBox(Registro[17], 1);
- TextDrawBoxColor(Registro[17], 255);
- TextDrawTextSize(Registro[17], 379.000000, 0.000000);
- Registro[18] = TextDrawCreate(388.000000, 161.000000, " ");
- TextDrawBackgroundColor(Registro[18], 255);
- TextDrawFont(Registro[18], 1);
- TextDrawLetterSize(Registro[18], 0.500000, 0.899999);
- TextDrawColor(Registro[18], -1);
- TextDrawSetOutline(Registro[18], 0);
- TextDrawSetProportional(Registro[18], 1);
- TextDrawSetShadow(Registro[18], 1);
- TextDrawUseBox(Registro[18], 1);
- TextDrawBoxColor(Registro[18], 255);
- TextDrawTextSize(Registro[18], 379.000000, 0.000000);
- TextDrawSetSelectable(Registro[5], 1);
- TextDrawSetSelectable(Registro[6], 1);
- TextDrawSetSelectable(Registro[7], 1);
- TextDrawSetSelectable(Registro[8], 1);
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- InterpolateCameraPos(playerid, -2328.572021, 1456.048095, 141.509216, -2928.397460, 1388.436035, 164.589508, 15000);
- InterpolateCameraLookAt(playerid, -2332.968994, 1457.633422, 139.733627, -2924.312500, 1390.837646, 162.994110, 15000);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- SelectTextDraw(playerid, 0x00EEEEFF);
- TextDrawShowForPlayer(playerid, Registro[0]);
- TextDrawShowForPlayer(playerid, Registro[1]);
- TextDrawShowForPlayer(playerid, Registro[2]);
- TextDrawShowForPlayer(playerid, Registro[3]);
- TextDrawShowForPlayer(playerid, Registro[4]);
- TextDrawShowForPlayer(playerid, Registro[5]);
- TextDrawShowForPlayer(playerid, Registro[6]);
- TextDrawShowForPlayer(playerid, Registro[7]);
- TextDrawShowForPlayer(playerid, Registro[8]);
- TextDrawShowForPlayer(playerid, Registro[9]);
- TextDrawShowForPlayer(playerid, Registro[10]);
- TextDrawShowForPlayer(playerid, Registro[11]);
- TextDrawShowForPlayer(playerid, Registro[12]);
- TextDrawShowForPlayer(playerid, Registro[13]);
- TextDrawShowForPlayer(playerid, Registro[14]);
- TextDrawShowForPlayer(playerid, Registro[15]);
- TextDrawShowForPlayer(playerid, Registro[16]);
- TextDrawShowForPlayer(playerid, Registro[17]);
- TextDrawShowForPlayer(playerid, Registro[18]);
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- SavePlayer(playerid);
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- SetPlayerSkin(playerid, Skin[playerid]);
- TextDrawHideForPlayer(playerid, Registro[0]);
- TextDrawHideForPlayer(playerid, Registro[1]);
- TextDrawHideForPlayer(playerid, Registro[2]);
- TextDrawHideForPlayer(playerid, Registro[3]);
- TextDrawHideForPlayer(playerid, Registro[4]);
- TextDrawHideForPlayer(playerid, Registro[5]);
- TextDrawHideForPlayer(playerid, Registro[6]);
- TextDrawHideForPlayer(playerid, Registro[7]);
- TextDrawHideForPlayer(playerid, Registro[8]);
- TextDrawHideForPlayer(playerid, Registro[9]);
- TextDrawHideForPlayer(playerid, Registro[10]);
- TextDrawHideForPlayer(playerid, Registro[11]);
- TextDrawHideForPlayer(playerid, Registro[12]);
- TextDrawHideForPlayer(playerid, Registro[13]);
- TextDrawHideForPlayer(playerid, Registro[14]);
- TextDrawHideForPlayer(playerid, Registro[15]);
- TextDrawHideForPlayer(playerid, Registro[16]);
- TextDrawHideForPlayer(playerid, Registro[17]);
- TextDrawHideForPlayer(playerid, Registro[18]);
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == DIALOG_REGISTRO)
- {
- if(response)
- {
- if(strlen(inputtext) < 5 || strlen(inputtext) > 16 && !strlen(inputtext))
- {
- SendClientMessage(playerid, COR_AVISO,"| AVISO | Atenção a Senha tem que ter no Minimo 5 Caracteres ou no Máximo 16 Caracteres.");
- format(String, sizeof(String), "{F8F8FF}Bem Vindo ao Servidor {FF4040}%s{F8F8FF}\n\nVocê ainda nao tem uma Conta Registrada\n\nDigite Digite uma Senha para se Registrar\n\nStatus: {FF4040}N/A Registrado.\n\n{F8F8FF}IP:{FF4040}%s", Nome, IP);
- ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_PASSWORD, "-- REGISTRANDO --", String, "Registrar", "Cancelar");
- return 1;
- }
- GetPlayerName(playerid, Nome, sizeof(Nome));
- GetPlayerIp(playerid, IP, sizeof(IP));
- format(Arquivo, sizeof(Arquivo), "Registros/%s.ini", Nome);
- DOF2_CreateFile(Arquivo);
- DOF2_SetString(Arquivo, "Senha", inputtext);
- DOF2_SetInt(Arquivo, "Administrador", 0);
- DOF2_SetInt(Arquivo, "Level", 0);
- DOF2_SetInt(Arquivo, "Skin", 98);
- DOF2_SetInt(Arquivo, "Matou", 0);
- DOF2_SetInt(Arquivo, "Morreu", 0);
- DOF2_SetInt(Arquivo, "Dinheiro", 550);
- DOF2_SaveFile();
- SendClientMessage(playerid, COR_SUCESSO,"| INFO | Você se Registrou com Sucesso, Agora digite sua Senha para Logar");
- format(String, sizeof(String), "{F8F8FF}Bem Vindo ao Servidor {FF4040}%s{F8F8FF}\n\nVocê ja tem uma Conta Registrada\n\nDigite sua senha para Logar\n\nStatus:{FF4040}Registrado.\n\n{F8F8FF}IP:{FF4040}%s", Nome, IP);
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "-- LOGANDO --", String, "Logar", "Cancelar");
- return 1;
- }
- else
- {
- format(String, sizeof(String), "| INFO | O Jogador(a) %s Foi Kickado do Servidor Motivo: N/A Registrou.", Nome);
- SendClientMessageToAll(COR_AZUL_ADMIN, String);
- Kick(playerid);
- }
- }
- if(dialogid == DIALOG_LOGIN)
- {
- GetPlayerName(playerid, Nome, sizeof(Nome));
- GetPlayerIp(playerid, IP, sizeof(IP));
- if(response)
- {
- if(!strlen(inputtext))
- {
- SendClientMessage(playerid, COR_AVISO,"| AVISO | Atenção digite sua Senha para Logar.");
- format(String, sizeof(String), "{F8F8FF}Bem Vindo ao Servidor {FF4040}%s{F8F8FF}\n\nVocê ja tem uma Conta Registrada\n\nDigite sua senha para Logar\n\nStatus:{FF4040}Registrado.\n\n{F8F8FF}IP:{FF4040}%s", Nome, IP);
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "-- LOGANDO --", String, "Logar", "Cancelar");
- return 1;
- }
- if(!strcmp(inputtext,DOF2_GetString(Arquivo, "Senha"),false))
- {
- Logar(playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COR_AVISO,"| AVISO | Senha incorreta digite-a novamente, se errar 3 vezes você sera Kickado.");
- format(String, sizeof(String), "{F8F8FF}Bem Vindo ao Servidor {FF4040}%s{F8F8FF}\n\nVocê ja tem uma Conta Registrada\n\nDigite sua senha para Logar\n\nStatus:{FF4040}Registrado.\n\n{F8F8FF}IP:{FF4040}%s", Nome, IP);
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "-- LOGANDO --", String, "Logar", "Cancelar");
- PlayerERRO[playerid]++;
- if(PlayerERRO[playerid]==3)
- {
- format(String, sizeof(String), "| INFO | O Jogador(a) %s Foi Kickado do Servidor Motivo: Limite de Erro.", Nome);
- SendClientMessageToAll(COR_AZUL_ADMIN, String);
- Kick(playerid);
- return 1;
- }
- }
- }
- else
- {
- format(String, sizeof(String), "| INFO | O Jogador(a) %s Foi Kickado do Servidor Motivo: N/A Registrou.", Nome);
- SendClientMessageToAll(COR_AZUL_ADMIN, String);
- Kick(playerid);
- }
- }
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
- stock SavePlayer(playerid)
- {
- GetPlayerName(playerid, Nome, sizeof(Nome));
- format(Arquivo, sizeof(Arquivo), "Registros/%s.ini", Nome);
- if(DOF2_FileExists(Arquivo))
- {
- DOF2_SetInt(Arquivo,"Administrador", Administrador[playerid]);
- DOF2_SetInt(Arquivo,"Dinheiro", GetPlayerMoney(playerid));
- DOF2_SetInt(Arquivo,"Level", Level[playerid]);
- Skin[playerid] = GetPlayerSkin(playerid);
- DOF2_SetInt(Arquivo,"Skin", Skin[playerid]);
- DOF2_SetInt(Arquivo,"Matou", Matou[playerid]);
- DOF2_SetInt(Arquivo,"Morreu", Morreu[playerid]);
- DOF2_SaveFile();
- }
- return 1;
- }
- stock Logar(playerid)
- {
- GetPlayerName(playerid, Nome, sizeof(Nome));
- format(Arquivo, sizeof(Arquivo), "Registros/%s.ini", Nome);
- Administrador[playerid] = DOF2_GetInt(Arquivo, "Administrador");
- Level[playerid] = DOF2_GetInt(Arquivo, "Level");
- Skin[playerid] = DOF2_GetInt(Arquivo, "Skin");
- Matou[playerid] = DOF2_GetInt(Arquivo, "Matou");
- Morreu[playerid] = DOF2_GetInt(Arquivo, "Morreu");
- GivePlayerMoney(playerid, DOF2_GetInt(Arquivo,"Dinheiro"));
- CancelSelectTextDraw(playerid);
- SpawnPlayer(playerid);
- DOF2_SaveFile();
- return 1;
- }
- public OnPlayerClickTextDraw(playerid, Text:clickedid)
- {
- GetPlayerName(playerid, Nome, sizeof(Nome));
- format(Arquivo, sizeof(Arquivo), "Registros/%s.ini", Nome);
- GetPlayerIp(playerid, IP, sizeof(IP));
- if(clickedid == Registro[5] )
- {
- if(DOF2_FileExists(Arquivo))
- {
- SendClientMessage(playerid, COR_AVISO, "| AVISO | Atenção Você ja tem uma Conta, Clique em Logar para Logar.");
- }
- else
- {
- format(String, sizeof(String), "{F8F8FF}Bem Vindo ao Servidor {FF4040}%s{F8F8FF}\n\nVocê ainda nao tem uma Conta Registrada\n\nDigite Digite uma Senha para se Registrar\n\nStatus: {FF4040}N/A Registrado.\n\n{F8F8FF}IP:{FF4040}%s", Nome, IP);
- ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_PASSWORD, "-- REGISTRANDO --", String, "Registrar", "Cancelar");
- }
- }
- if(clickedid == Registro[6])
- {
- if(DOF2_FileExists(Arquivo))
- {
- format(String, sizeof(String), "{F8F8FF}Bem Vindo ao Servidor {FF4040}%s{F8F8FF}\n\nVocê ja tem uma Conta Registrada\n\nDigite sua senha para Logar\n\nStatus:{FF4040}Registrado.\n\n{F8F8FF}IP:{FF4040}%s", Nome, IP);
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "-- LOGANDO --", String, "Logar", "Cancelar");
- }
- else
- {
- SendClientMessage(playerid, COR_AVISO, "| AVISO | Atenção Você não tem uma Conta, Clique em Registrar para Registrar.");
- }
- }
- if(clickedid == Registro[7])
- {
- SendClientMessage(playerid, COR_AVISO, "| AVISO | INFO.");
- }
- if(clickedid == Registro[8])
- {
- format(String, sizeof(String), "| INFO | O Jogador(a) %s Saiu do Servidor", Nome);
- SendClientMessageToAll(COR_AZUL_ADMIN, String);
- }
- return 1;
- }
- #endif
Add Comment
Please, Sign In to add comment