Hallo,
wenn ich auf meinem Server Connecte kommen nur Textdraws aber kein Register oder Login Dialog hier der OnPlayerConnect
public OnPlayerConnect(playerid){
PlayerInfo[playerid][frisch_eingeloggt] = 1;
if(LogFilesJet == 1){
printf("OnPlayerConnect 0 | Name: %s", PlayerName(playerid));
}
PlayerInfo[playerid][gPlayerLogged] = 0;
SetTimer("ResetConnect", 3000, 0);
ConnectPlayers++;
Leben[playerid] = 100;
Ruestung[playerid] = 0;
if(ConnectPlayers > 20){
SendClientMessage(playerid, COLOR_RED, "Zu viele Spieler versuchen gleichzeitig zu connecten. Versuche es etwas später erneut");
KickPlayer(playerid);
blockhospital[playerid]=1;
blockhospitaltimer[playerid]=SetTimerEx("BlockHospital",25000,false,"i",playerid);
return 1;
}
pVehicles[playerid] = 0;
/*
new country[MAX_COUNTRY_NAME];
country = GetPlayerCountryName(playerid);
new playername[64];
GetPlayerName(playerid,playername,64);
if(IsPlayerNPC(playerid) ||strmatch(country,"Germany") || strmatch(country,"Netherlands") || strmatch(country,"Austria") || strmatch(country,"Switzerland") ||!strcmp(playername,"[LoS]Xam_Res",true)|| !strcmp(playername,"Tyger_Rastellis",true) || !strcmp(playername,"Arlind",true)|| !strcmp(playername,"FatiFlori",true)|| !strcmp(playername,"flori50",true)|| !strcmp(playername,"Streep",true)|| !strcmp(playername,"FatiFlori.[157]",true)
|| !strcmp(playername,"Chris_DiaZ",true) ||!strcmp(playername,"Arlind_Muerto",true) ){
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Nicht zugelassene IP");
KickPlayer(playerid);
}
*/
shotTime[playerid] = 0;
shot[playerid] = 0;
TextDrawHideForPlayer(playerid, AutoKaufText[playerid]);
TextDrawHideForPlayer(playerid, gInfoBoxAuto[playerid]);
PlayerInfo[playerid][gPlayerLogged] = 0;
PlayerInfo[playerid][voteban] = 0;
PlayerInfo[playerid][coins] = 0;
PlayerInfo[playerid][blockcmd] = 1;
PlayerInfo[playerid][tutlos] = 0;
PlayerInfo[playerid][gwkills] = 0;
euro[playerid] = 0;
PlayerInfo[playerid][failedlogin] = 0;
PlayerInfo[playerid][bank] = 0;
PlayerInfo[playerid][nca] = 0;
PlayerInfo[playerid][nc] = 0;
PlayerInfo[playerid][springen] = 0;
hatzelle[playerid] = 40;
respawnzeit[playerid] = 0;
OnPlayerInit(playerid);
return 1;
}