stock CreateOfflineInfo(playerid, reason)
{
new string[128];
if(sServerGMX == 1)return 1;
for(new i=0;i<MAX_OFFLINEPICKUPS;i++)
{
if(Spieler[playerid][pLoggedIn])
{
if(OfflineInfo[i][pickCreated] == false)
{
OfflineInfo[i][pickCreated] = true;
GetPlayerPos(playerid, OfflineInfo[i][pickPos][0], OfflineInfo[i][pickPos][1], OfflineInfo[i][pickPos][2]);
OfflineInfo[i][pickVirtualWorld] = GetPlayerVirtualWorld(playerid);
format(OfflineInfo[i][pickName], MAX_PLAYER_NAME+1, GetName(playerid));
OfflineInfo[i][pickDeleteTime] = gettime() + (60);
OfflineInfo[i][pickID] = CreatePickup(1275, 0, OfflineInfo[i][pickPos][0], OfflineInfo[i][pickPos][1], OfflineInfo[i][pickPos][2], OfflineInfo[i][pickVirtualWorld]);
static const dc[3][] ={"(Timeout/Crash)","(Verlassen)","(Kick/Ban)"};
format(string, sizeof(string), "%s\n%s\n%02d:%02d:%02d", OfflineInfo[i][pickName], dc[reason], h,m,s);
OfflineLable[i] = Create3DTextLabel(string, COLOR_ALPHA_WHITE, OfflineInfo[i][pickPos][0], OfflineInfo[i][pickPos][1], OfflineInfo[i][pickPos][2], 10.0, 0);
OfflineInfo[i][pickWanteds] = Spieler[playerid][pWanteds];
OfflineInfo[i][pickContract] = Spieler[playerid][pContract];
return i;
}
}
}
return 0;
}
Die Zeit also h,m,s wird die zeit ausgelesen wird aber nicht richtig angezeigt