Thread: Arrays....
View Single Post
  #6  
Old 03-05-2002, 08:30 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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|
Reply With Quote