View Single Post
  #1  
Old 01-03-2006, 05:21 AM
Lord Sephiroth Lord Sephiroth is offline
Babylon OG
Lord Sephiroth's Avatar
Join Date: Jan 2005
Location: Winnipeg, Manitoba, Canada
Posts: 798
Lord Sephiroth will become famous soon enough
Send a message via AIM to Lord Sephiroth
Trivial little thing

I'll be the first to say that i'm not a scripter. I've never been a scripter.
But I do make events pretty good, and I need a little bit of help.
I have a script where it works exactly how I want it to, except it can't be seen by all other players.
So im asking the experts, how would I make this so that it does the same thing, (if player touches a block, it shoots an arrow with a .5 second cool down time), except it can be seen/hurt other players?

This is what I have so far:
NPC Code:

//#CLIENTSIDE
if (playertouchsme) {
if (!this.mytimer) {
shootarrow 3;
set this.mytimer;
timeout = .5;
}
}
if (timeout) {
unset this.mytimer;
}


When I unclientside it, the entire thing just doesn't work.
I know timeout and playertouchsme don't work together.
Help?
__________________
Babylonian; wherever I or it may lay.
Reply With Quote