Jump to content
  • 0

HELP! Hourly Points with limit per day


Question

3 answers to this question

Recommended Posts

  • 0
Posted


//Check for 5 hours consecutive

if(@consecutive_hour == 5) {

set @consecutive_hour,0;

getitem 31025,2;

dispbottom "You receive "+.cpoint_amt+" Blue Potions in playing for 3 consecutive hours";

}

else addtimer .timer,"hourlypoints::OnPointGet";

end;

OnClock0000: // Exactly 12:00 Midnight

@consecutive_hour=0;

end;

  • 0
Posted
	//Check for 5 hours consecutive
	if(@consecutive_hour == 5) {
		set @consecutive_hour,0;
		getitem 31025,2;
		dispbottom "You receive "+.cpoint_amt+" Blue Potions in playing for 3 consecutive hours";
	}
	else addtimer .timer,"hourlypoints::OnPointGet";
	end;
	
OnClock0000: // Exactly 12:00 Midnight
	@consecutive_hour=0;
	end;
  I get script_rid2sd: fatal error ! player not attached!

 

help pls

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...