SetTimer("sekunden",1000,true);
PUBLIC:sekunden()
{
new string[50], tick = gettime();
for(new i=0; i<MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i) IsPlayerNPC(i) pTick[i]+60 > tick) continue;
PlayerInfo[i][pPayDay]++;
format(string,sizeof(string),"Payday in: %i min",60-PlayerInfo[i][pPayDay]);
TextDrawSetString(paydaytex[i],string);
pTick[i] = tick;
}
return 1;
}