View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-13-2021 , 08:24   Re: Dynamic Array run time error
Reply With Quote #3

Yes, random( 10 ) would give you a value from 0 to 9 so for array index purposes it's perfect. Use random() with ArraySize() inside of it.
__________________
Bugsy is offline