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?