View Single Post
  #4  
Old 04-04-2010, 05:32 AM
ChainGang_DX ChainGang_DX is offline
Animations Artist On Era
ChainGang_DX's Avatar
Join Date: Mar 2010
Location: Texas
Posts: 35
ChainGang_DX is an unknown quantity at this point
Send a message via AIM to ChainGang_DX
NPC Code:
function onActionServerSide()
{
if (params[0] == "echo")
{
sendtorc("Timer Up!");
//echo("Hello World!");
}
}
//#CLIENTSIDE
function onKeyPressed(code,key)
{
if (key == "1")
{
for (i = 3; i > 0; i --)
{
player.chat = i;
sleep(1);
}

playlooped("beep2.wav");
player.chat = ":end";
//ECHO IS DONE SERVERSIDE
triggerserver("weapon",name,"echo");
sleep(5);
stopsound("beep2.wav");
play("goera3.wav");
}
}




This is the Script i'm trying to make a command that can work by hours minutes and seconds, like 00:00:00. I also Wanna make it stop counting down when I say :end, Help plz?
__________________



Scoper Zephlyn (Sat Oct 15 14:53:42 2011):
owned.
Reply With Quote