• Log in or sign up for an account here: https://www.sythe.org/login

clan wars, source

Status
Not open for further replies.

thomy

Member
Joined
Jan 21, 2008
Sythe Gold
0
Messages
80
hey
im coding my source now :p its my first one and its going good.

but i have one problem ... , i was working on clan wars but no other source have full working clan wars yet, so i wane change :p but how do i put a timer on a room that comes back every 5 min ...

if i know it i can code my full working clan wars with waiting room and stuff :)

plz help me out

thomy
 
tbh idk but ur source sounds great im sure there will be lots of leechers =] yeh im done coding my own server now but i prolly would check it out if i wasnt
 
hey hero xxislx here
first declare an Int
Code:
 public int yourtimer;

Now on your process add this
Code:
if (yourtimer > 0) {
			yourtimerr -= 1;
		}
Code:
if (yourtimer == 0){
teleport to xxxx yyyy;
}
add this boolean:
Code:
public boolean isInwaitroom(int coordX, int coordY, int Type) {
			if ((coordY >= xxxx) && (coordY <= xxxx)
                           && (coordX <= xxxx)
					&& (coordX >= xxxx)) {
				return true;
			
		}
		return false;
when some1 clicks the portal or whatever to enter add this
Code:
yourtimer = x;

the problem is that this will only affect one player, ask sam on how to do it to affect everyone
 
Status
Not open for further replies.
Runescape Gamblingrunescape gambling
Back
Top