C:\Users\Hendo\Desktop\SAMP HERZ\gamemodes\Hayfun.pwn(1684) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
public OnPlayerConnect(playerid)
{
new Spielerdatei[64];
new SpielerName[MAX_PLAYER_NAME];
format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.ini",SpielerName);
if(dini_Exists(Spielerdatei))
{
SendClientMessage(playerid,GRUEN,"|__________Einloggen__________|");
SendClientMessage(playerid,WEIS,"Dein Account wurde gefunden");
SendClientMessage(playerid,WEIS,"um dich einzuloggen gebe einfach dein Passwort ein");
return 1;
}
else
{
SendClientMessage(playerid,GRUEN,"|__________Registrieren__________|");
SendClientMessage(playerid,WEIS,"Dein Account wurde nicht gefunden");
SendClientMessage(playerid,WEIS,"um dich zu Registrieren gebe einfach dein gewünschtes Passwort ein");
return 1;
}
/*
dini_IntSet(s,"Geld",GetPlayerMoney(playerid));
dini_IntSet(s,"Kills",PlayerInfo[playerid][pKills]);
dini_IntSet(s,"Deaths",PlayerInfo[playerid][pDeaths]);
dini_IntSet(s,"Bank",PlayerInfo[playerid][pBank]);
dini_IntSet(s,"Fuerschein",PlayerInfo[playerid][car]);
dini_IntSet(s,"Moto-schein",PlayerInfo[playerid][bike]);
dini_IntSet(s,"Flug-schein",PlayerInfo[playerid][plane]);
dini_IntSet(s,"Moto-schein",PlayerInfo[playerid][bike]);
dini_IntSet(s,"Level",PlayerInfo[playerid][pLevel]);
dini_IntSet(s,"Moto-schein",PlayerInfo[playerid][bike]);
dini_IntSet(s,"Mats",PlayerInfo[playerid][pMats]);
dini_IntSet(s,"pName",PlayerInfo[playerid][bike]);
dini_IntSet(s,"Passwort",PlayerInfo[playerid][pPasswort]);
PlayerInfo[playerid][car] = 0;
PlayerInfo[playerid][boat] = 0;
PlayerInfo[playerid][plane] = 0;
PlayerInfo[playerid][pAdmin] = 0;
PlayerInfo[playerid][pName] = 0;
PlayerInfo[playerid][pMats] = 0;
PlayerInfo[playerid][pAdminlevel] = 0;
PlayerInfo[playerid][pLevel] = 0;
PlayerInfo[playerid][pBank] = 0;
PlayerInfo[playerid][pMember] = 0;
PlayerInfo[playerid][pCash] = 0;
PlayerInfo[playerid][pDeaths] = 0;
PlayerInfo[playerid][pKills] = 0;
PlayerInfo[playerid][pPasswort] = 0;*/
WeekDayg = TextDrawCreate(557.000000,41.000000,"----"); // Zeile 1684 <.----------------------------------------
TextDrawAlignment(WeekDayg,0);
TextDrawBackgroundColor(WeekDayg,0x000000ff);
TextDrawColor(WeekDayg,0x009600DD);
TextDrawFont(WeekDayg,3);
TextDrawLetterSize(WeekDayg,0.499999,1.000000); //TextDrawColor(WeekDayg,0xffff00cc);
TextDrawSetOutline(WeekDayg,1);
TextDrawSetProportional(WeekDayg,1);
TextDrawSetShadow(WeekDayg,1);
Clock = TextDrawCreate(543.5, 24.0, "--:--");
TextDrawLetterSize(Clock, 0.6, 1.8);
TextDrawFont(Clock, 3);
TextDrawSetOutline(Clock, 2);
TextDrawShowForPlayer(playerid, Clock);
Hayfun = TextDrawCreate(38.000000,426.000000,"HayFun RL+DM");
TextDrawAlignment(Hayfun,0);
TextDrawBackgroundColor(Hayfun,0x000000ff);
TextDrawFont(Hayfun,3);
TextDrawLetterSize(Hayfun,0.399999,1.700000);
TextDrawColor(Hayfun,0xffff00ff);
TextDrawSetOutline(Hayfun,1);
TextDrawSetProportional(Hayfun,1);
SetTimer("settime",1000,true);
SetTimerEx("AFKick", AFK_TIME*60*1000, 1, "i", playerid); // AFK Check
TextDrawShowForPlayer(playerid, Clock);
TextDrawShowForPlayer(playerid, WeekDayg);
TextDrawShowForPlayer(playerid, Hayfun);
return 1;
}
WeekDayg = TextDrawCreate(557.000000,41.000000,"----"); // Zeile 1684 <.----------------------------------------