#is there a more efficient way to do this?
1 messages · Page 1 of 1 (latest)
If equipped table is actually a table and not something weird,
equippedtable[canister] = boolean
Ye thats prob better
Also, please use camelcase. Plus, OnServerEvent always sets the first inputted parameter to the player, so create a separate player parameter to avoid having it set canister as the player
Ps. As a general rule, if it looks like you have to put more than a dozen if statements, you almost certainly do not—and if you do have to, then you've done something very wrong and should probably just remake it lol
** You are now Level 14! **