24.09.2010, 20:34
Make a timer or on that same timer where it increases the Player[i][SecondsLoggedIn] value, add a check like
There, scripted nice and good, should work.
pawn Код:
if( Player[i][SecondsLoggedIn] >= 3600 )
{
#define MAX_PAYCHECK 9999
new paymoney = random(MAX_PAYCHECK);
new paystring[70];
format(paystring,sizeof(paystring), "You have been paid %d!", paymoney);
SendClientMessage(playerid,0x008080FF,paystring);
GivePlayerMoney(i, paymoney);
}

