View Single Post
  #5  
Old 04-23-2002, 01:52 AM
draygin draygin is offline
Telmont Bandit
draygin's Avatar
Join Date: Feb 2002
Location: Ohio
Posts: 2,550
draygin is on a distinguished road
Quote:
Originally posted by Tyhm
Yeah, that's because players[this.i].id<0 no longer applies to NPCs: they have a modulo on playerid of something like 32767, so the only way to detect them really is either players[this.i].id>3000 (which would break at random or whenever the server got 3000 players on at once - unlikely, but that's how we got the Y2K bug), or if(strlen(#n(this.i))<1) if your NPCs do not have names set - since players cannot set their names to null, that should be safe.
Greek can some one translate that to english :-P I'm probably one of the dumbest people you'll ever meet. When it comes to scripting I can tinker but actually fixing something? I dont know about that. Hmm I guess when I get home I can try and figure out where to put that.

I mean making a massive army of dark warriors is rather pointless when they kill each other off then the last man standing comes after you.
__________________

I stole Spanky's gold!
Reply With Quote