28.02.2017, 14:22
Try
return 1;
return 1;
Clear Line Red
PHP код:
if(dialogid == DIALOG_LOGIN+1)
{
if(response)
{
if(strlen(inputtext) < 4 || strlen(inputtext) > 16 || !strlen(inputtext)){
return ShowPlayerLoginDialog(playerid, gPlayerAccount[playerid]);
new password[64];
strmid(password, inputtext, 0, strlen(inputtext), 255);
Encrypt(password);
OnPlayerRegister(playerid,password);
}
else
{
SendClientMessage(playerid, COLOR_YELLOW, "[!] "#C_WHITE" msg ");
Kick(playerid);
PHP код:
}
}
}
PHP код:
if(dialogid == DIALOG_LOGIN+1)
{
if(response)
{
if(strlen(inputtext) < 4 || strlen(inputtext) > 16 || !strlen(inputtext)){
return ShowPlayerLoginDialog(playerid, gPlayerAccount[playerid]);
new password[64];
strmid(password, inputtext, 0, strlen(inputtext), 255);
Encrypt(password);
OnPlayerRegister(playerid,password);
}
else
{
SendClientMessage(playerid, COLOR_YELLOW, "[!] "#C_WHITE" msg ");
Kick(playerid);
PHP код:
}
}