28.12.2012, 03:06
I'll try explain this without saying something incorrect in real basic terms. Adding char to a variable reduces the size of the variable and is awesome for reducing sizes. Char restricts variables in the way that it only allows values from 0-255 (no negatives) but with bool there is only two values so why not :P? variable[MAX_PLAYERS] could only have a value from 0 - 255 though and if you want anything over you have to use a normal variable. Char's are accessed in a different way also e.g.
Normal variable
Char variable
Someone correct me if I'm wrong on any parts of this.
Normal variable
pawn Код:
variable[playerid] = true;
pawn Код:
variable{playerid} = true;