Im making a boat system, but my script wont work can someone help me out:
PHP Code:
// NPC made by Join my guild Elite Mafia!
//#CLIENTSIDE
if (created) {
time = 10;
}
if (playerenters) {
time = 10;
timeout = .1;
}
if (timeout) {
time -= 1;
timeout = 2;
}
if (time <=0) {
message T.T;
setlevel2 graallegacy_h04.nw,11,31;
scheduleevent(1,"Sailing","idle");
}
function onSailing() {
setlevel2 graallegacy_h04.nw,11,31;
}
i got the "scheduleevent(1,"Sailing","idle");" out of the "GBaddy" script (just to let you know...)