[09:37:22] Servidor Ligado: [10/11/2016 09:37:22] [09:37:22] ======================================================================= [09:37:23] Number of vehicle models: 98 [09:38:24] [connection] requests connection cookie. [09:38:25] [connection] incoming connection: id: 0 [09:38:25] O player ID:0 com o ip: está tentando conectar! [09:38:28] [join] Fall_4i20 has joined the server (0:192.168.0.6) [09:38:39] Nome do Arquivo: /SeifVehicle/PLAYER.cfg [09:38:39] PLAYER logou no server. [09:41:39] [part] PLAYER has left the server (0:1) [09:42:31] [connection] 192.168.0.6:63857 requests connection cookie. [09:42:32] [connection] incoming connection: 192.168.0.6:63857 id: 0 [09:42:32] O player ID:0 com o ip: está tentando conectar! [09:42:32] [join] PLAYER has joined the server (0:192.168.0.6) [09:42:39] Nome do Arquivo: /SeifVehicle/PLAYER.cfg [09:42:39] Fall_4i20 logou no server. [09:42:52] [debug] Server crashed while executing BRL.amx [09:42:52] [debug] AMX backtrace: [09:42:52] [debug] #0 native SendClientMessage () from samp-server.exe [09:42:52] [debug] #1 000ceb0c in public OnDialogResponse (0, 8913, 1, -1, 24032348) from GM.amx [09:42:52] [debug] Native backtrace: [09:42:52] [debug] #0 0049dc0c in ?? () from samp-server.exe [09:42:52] [debug] Server crashed while executing BRL.amx [09:42:52] [debug] AMX backtrace: [09:42:52] [debug] #0 native SendClientMessage () from samp-server.exe [09:42:52] [debug] #1 000ceb0c in public OnDialogResponse (0, 8913, 1, -1, 24032348) from GM.amx [09:42:52] [debug] Native backtrace: [09:42:52] [debug] #0 772b803d in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll [09:42:52] [debug] #1 772b79ca in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll [09:42:52] [debug] #2 00498e11 in ?? () from samp-server.exe [09:42:52] [debug] #3 0044d9c9 in ?? () from samp-server.exe [09:42:52] [debug] #4 0045856c in ?? () from samp-server.exe [09:42:52] [debug] #5 0045ad2a in ?? () from samp-server.exe [09:42:52] [debug] #6 72277c09 in ?? () from plugins\crashdetect.DLL [09:42:52] [debug] #7 772ddd3c in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll [09:42:52] [debug] #8 76deacb9 in ?? () from C:\WINDOWS\System32\KERNELBASE.dll [09:42:52] [debug] #9 76deacd6 in ?? () from C:\WINDOWS\System32\KERNELBASE.dll
/SeifVehicle/PLAYER.cfg |
static
string[128]
format(string, sizeof(string) "Olб %s, tudo bem?");
SendClientMessage(playerid, -1, string);
Veja no OnDialogResponse se tem algum SendClientMessage como o exemplo abaixo!
Ex: PHP код:
|
if(dialogid == 8913) { if(response) { if(isnull(inputtext)) { SendClientMessage(playerid, COLOR_GRAD2, "Digite A Senha da Administração!"); return ShowPlayerDialog(playerid,8913, DIALOG_STYLE_INPUT, "Senha Admin Real Live","Digite a Senha Corretamente da Administração Real Live","Confirmar","Cancelar"); } if(Tentdono >= 3) { Kick(playerid); } if(strcmp(Senhadono,inputtext, true) == 0) { SendClientMessage(playerid, VERDE2,"Senha Correta!! Bem Vindo %s !"); return true; } else { SendClientMessage(playerid, COLOR_LIGHTRED, "A Senha está incorreta!"); Tentdono++; return ShowPlayerDialog(playerid,8913, DIALOG_STYLE_INPUT, "Senha Admin Real Live","Digite a Senha Corretamente da Administração Real Live","Confirmar","Cancelar"); } } else { Kick(playerid); return 1; } }
#define LOGIN_ADMIN (0)
if(dialogid == LOGIN_ADMIN)
{
return true;
}
Tem nгo
Код:
if(dialogid == 8913) { if(response) { if(isnull(inputtext)) { SendClientMessage(playerid, COLOR_GRAD2, "Digite A Senha da Administraзгo!"); return ShowPlayerDialog(playerid,8913, DIALOG_STYLE_INPUT, "Senha Admin Real Live","Digite a Senha Corretamente da Administraзгo Real Live","Confirmar","Cancelar"); } if(Tentdono >= 3) { Kick(playerid); } if(strcmp(Senhadono,inputtext, true) == 0) { SendClientMessage(playerid, VERDE2,"Senha Correta!! Bem Vindo %s !"); return true; } else { SendClientMessage(playerid, COLOR_LIGHTRED, "A Senha estб incorreta!"); Tentdono++; return ShowPlayerDialog(playerid,8913, DIALOG_STYLE_INPUT, "Senha Admin Real Live","Digite a Senha Corretamente da Administraзгo Real Live","Confirmar","Cancelar"); } } else { Kick(playerid); return 1; } } |
static
string[124], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string, sizeof(string), "Senha Correta!! Bem Vindo %s !", pName);
SendClientMessage(playerid, VERDE2, string);