Thread
:
Enum struct, how do we access the struct property as parameter?
View Single Post
azalty
AlliedModders Donor
Join Date: Feb 2020
Location: France
12-04-2022 , 16:55 Re: Enum struct, how do we access the struct property as parameter?
#
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
View Public Profile
Send a private message to azalty
Visit azalty's homepage!
Find More Posts by azalty