Ye, sorry about the title.
Im having troubles reading 1 item (a TPlayer) from a TList.
Local player:TPlayer = players:TList.Last:TPlayer
Gives errors, and i tried many variations.
Only in a loop using EachIn, i can get it working.
How do i get a single item from the list as type TPlayer?
Im having troubles reading 1 item (a TPlayer) from a TList.
Local player:TPlayer = players:TList.Last:TPlayer
Gives errors, and i tried many variations.
Only in a loop using EachIn, i can get it working.
How do i get a single item from the list as type TPlayer?