View Single Post
  #1  
Old 08-23-2008, 02:28 AM
Deathborn123 Deathborn123 is offline
Owner of Dev Deathborn123
Deathborn123's Avatar
Join Date: Aug 2008
Location: Germany
Posts: 21
Deathborn123 is on a distinguished road
Need Help with a "Homestone" Script

Hey NAT Community,

I'd need help with my script which is basicly porting you to the onlinestartlocal after 10secs and playing a gani in this time. After you used it, you'd have a Cooldown for 6minutes. Quite simply you may think but i tried and tried and asked some people but they coulnd't help me, maybe you can?!

Oh yea and please keep those "My Ass whats that for a dumb script" for yourself please

Here is what i did so far:


//This will be the Homestone porting you to the Onlinestartlocal
function onActionServerside(action){
if (action == "warp"){
setlevel2("onlinestartlocal.graal",30,30);
player.chat="passed!";
}
}


//#CLIENTSIDE
function onCreated() {
client.cooldown = false;

}
function onWeaponfired() {
if (client.pause<=0&&client.cooldown=false) {
setani Homestone,NULL;
player.freezetime = 10.0;
client.cooldown = true;

setTimer(0.10);


}
else {
player.chat="Your Homestone is not Ready yet! You need to wait atleast " @client.pause@ " seconds!";

}
}

function onTimeout() {
triggeraction(0,0,serverside,warp,warpout,null);
player.chat="Warped!";
for (client.pause=>0; client.pause <=600; client.pause-1{
sleep 1.0;


}
if (client.pause=0) {
client.cooldown = false;
}
}


Regards,
Zab
__________________
You cannot Prevent and Prepare for War at the same Time.
Reply With Quote