Hello, I've been trying for two days to figure this out and still can't so I'm hoping somebody here might be able to direct me.
I'm trying to store points for each client that go up each round, similar to Vs Saxton Hale but not stored as a cookie (So it resets when the map changes).
So far I've come up with having an array variable just called points, declared as
And then I've hooked onto the event "arena_round_start", which adds up everybody's points by one each round like this.
Code:
for(new i = 1; i <= GetClientCount(); i++) {
if(IsClientInGame(i) && !IsFakeClient(i)) {
points[i]++;
}
}
The problem is when I try setting stuff depending on who has the most points, I feel like it's doing it randomly and not actually on the value of the points.
Am I doing this completely wrong?