View Single Post
azalty
AlliedModders Donor
Join Date: Feb 2020
Location: France
Old 12-04-2022 , 16:55   Re: Enum struct, how do we access the struct property as parameter?
Reply With Quote #3

index.CameraShakeChance or FPlayerChances[client][index].CameraShakeChance ?

I'm pretty confused about your code. I don't really get it, you pass an enum struct as a parameter called index (weird name) yet you access it with FPlayerChances[client][index] like wtf.
And old syntax too :'(
__________________
GitHub | Discord: @azalty | Steam

Last edited by azalty; 12-04-2022 at 16:58.
azalty is offline