03.04.2013, 18:50
Hi.I have a problem with payday code now...I think i didn't have mistakes on the code but it doesn't work...Let's explain what code need to do:When the time is xx:00 who player is online to get +3 Exp.This is code:
pawn Код:
forward PayDay();
public PayDay()
{
new hh, mm, ss;
gettime( hh, mm, ss );
if(mm == 00)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
PlayerInfo[i][Exp] += 3;
}
}
return 1;
}