Thread
:
Arrays....
View Single Post
#
6
03-05-2002, 08:30 PM
Admins
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
I think all here were wrong
If you do playerx in this.arrayX then it checks if playerx
is in the array (the exact value of playerx, so its only
true if its equal to one of the 5 entries of the array).
To check for a range do
playerx in |x+1,x+5|
Admins
View Public Profile
View GraalOnline Profile
Visit Admins's homepage!
Find all posts by Admins