Jump to content
  • 0

daily cash reward to player


Question

2 answers to this question

Recommended Posts

Posted
-	script	hourlypoints	-1,{

//--Start of the Script
OnPCLoginEvent:
attachnpctimer ""+strcharinfo(0)+"";
initnpctimer;
end;

OnTimer60000:
set @minute, @minute + 1;
if(@minute == 1440){
	set @minute,0;
	set .@point_amt, 5; //Points to get every 24 hour 
	set #CASHPOINTS, #CASHPOINTS + .@point_amt;
	dispbottom "You received "+.@point_amt+" Cash points by staying ingame for 24 hour";
	dispbottom "Current Balance = "+#CASHPOINTS+" Cash points";
	set @consecutive_hour, @consecutive_hour + 1;
	}
	
stopnpctimer;
initnpctimer;
end;

}
//--End of the Script

maybe you can use this . correct me if this script wrong :)

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...