View Single Post
  #5  
Old 12-04-2008, 11:53 AM
Pelikano Pelikano is offline
Registered User
Pelikano's Avatar
Join Date: Oct 2008
Posts: 1,133
Pelikano has a little shameless behaviour in the past
Quote:
Originally Posted by Codein View Post
I'd probably do something like this in the timeout loop:

PHP Code:
for (plplayers) {
  if (
this.x in |pl.xpl.3| && this.y in |pl.ypl.y3|) {
    
//hit stuff
  
}

I think you'd do something similar for NPCs.
You're a genius dude.

Thanks.
Reply With Quote