Hi. I want to create a sort of sheet that keeps the players' info for my plugin.
My idea was to make 18 arrays for the 18 in-game users (Highlander mode)
Each array has 4 integers:
1. userid
2. team (1 = red; 2= blu)
3. class (1 = scout; 2=soldier; etc...)
4. BOT (1 = no; 2 = yes)
These variables will be refreshed everytime someone joins a class, leaves the match or does some specified command.
This would let the plugin recognize the Bots with a specified class or team and would make a sort of filter for some commands of my choice.
Do you think an array is a good thing for this case? Or should i use something else?
Thank you, and sorry if this question is a blasphemy to SourcePawn language: i just got into it