View Single Post
  #2  
Old 04-06-2011, 04:51 AM
0PiX0 0PiX0 is offline
Coder
0PiX0's Avatar
Join Date: Jan 2011
Posts: 130
0PiX0 is a jewel in the rough0PiX0 is a jewel in the rough
I am not sure if there is an equivalent of getareanpcs( x,y,width,height ) to get players. One way to accomplish what you want is to loop through the players object. Test each player's coordinates to determine whether they are inside your rectangle.
Reply With Quote