View Single Post
  #2  
Old 06-10-2003, 02:40 AM
amonrabr amonrabr is offline
Scripter
Join Date: Nov 2001
Location: Brazil
Posts: 374
amonrabr is on a distinguished road
width = <number>;
height = <number>;
px = <number>;
py = <number>;
number_of_found_things=0;

for(i=px;i<px+width;i++)
for(j=py;j<py+height;j++)
if (testplayer(i,j)==true)number_of_found_things++;


o.o
Reply With Quote