VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array callback? Almar Joling (5 replies, 0 views) (2000-Sep-30) Is there an easy, and fast (that's the most important one) way to return an item from an array?
Hmm, let met give an example...
I have an array for playerids of DirectPlay
Now a message comes from the server telling us something about playerid 123456
Do I really need to make a loop* for this or is there something else?
*
For x = 1 to totalplayers
if receivedplayerid = playerarray(x).Playerid then exit for
Next x
|