05.12.2014, 09:20
Quote:
|
Pues solo busca el dialogo de contraseсa y busca el Kick o preciona Control + F en el compilador pawn, y busca lo que deseas buscar y listo.
|
Код:
Cuentas_OnPlayerRequestClass(playerid)
{
if(PlayerInfo[playerid][pJugando] == 0)
{
if(Registrado[playerid] == 0) { SendClientMessage(playerid, Amarillo, "Debes registrarte en http://titaniumrp.es/pcu para poder ingresar al servidor."); Kick(playerid); return 1;}
format(string,sizeof(string),"\n Bienvenido de vuelta %s!\n\n Escribe la contraseсa de tu cuenta:\n",pName(playerid));
ShowPlayerDialog(playerid, 1001, DIALOG_STYLE_PASSWORD, ">> Iniciar sesiуn!", string, "Log-in", "Cancelar");
return 0;
}
return 1;
}
Quote:
|
Originally Posted by Lunnatiicz
Hay un error de condiciones if, como dice jotajeda, busca en el cуdigo la funciуn kick en las condiciones del loggin y arregla eso o postealo en un comentario.
|
Quote:
|
Originally Posted by Zume-Zero
Otra hipуtesis:
Quote: Kicks the player if "SpawnPlayer" is called before "SetSpawnInfo". |
Aclaro que la GM de Titanium es la V2, de desces, tote y compaсia.


