Jump to content
  • 0

HourlyPoint per 5 menit Mendapatkan CashPoint !


daL

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  09/27/12
  • Last Seen:  

//===== Hourly Points Script =========================================
//===== By: ==========================================================
//= GorthexTiger modified by Nibi modified again by Winz
//====================================================================

-	script	hourlypoints	-1,{
OnPCLoginEvent:
	addtimer .timer,"hourlypoints::OnPointGet";
	end;
	
OnPointGet:
	while(checkvending() >= 1 ) {
		sleep2 .delay;
		dispbottom set(.@mes$,"The loyalty reward event halted because you were vending.");
	}
	set #CASHPOINTS, #CASHPOINTS + .point_amt;
	dispbottom "You received "+.point_amt+" Cash points by staying in game for 5 minutes";
	
	addtimer .timer,"hourlypoints::OnPointGet";
	end;

OnInit:
	set .timer, 1000*60*5; //Timer in milliseconds.
	set .point_amt, 10; //Normal points gained.
	set .delay, 1000; //Delay for idle re-check check.
}
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...