i need a script that u can like do everyday and every 24 hours u get paid
im not suire of what jobs to put down, but maybe like
make a timer to tick every:
86400000 milliseconds
Formula:
((((1000mil*1sec)*60sec)*60min)*24h)
and in it you create a loop to read the ppl's name and pay amount in a ini file...ex.:
Create Timer(0, 86400000, payppl(index))
obs.: that is NOT the timer command I just cant remember, plus i dont know if you can leave the index 0 to create a global timer)
then:
sub payppl(index)
dim maxppl
maxppl = GetVar("jobpayouts.ini", "GENERAL", "PayOut")
dim count
count = 0
dim payout
dim player
do while count < maxppl
player = GetVar("jobpayouts.ini", "PLAYER" & count, "PlayerName")
payout = GetVar("jobpayouts.ini", "PLAYER" & count, "PayOut")
'Then here you have to make the "engine" to give the player the money i was gonna use the "call Give_Currency" but then the player needs to be logged on...
I hope I helped..
ORRR
insted of the timer i THINK you can do:
Select Case Time
Case "And case number for day!"
'then the loop i made!!
cya!