Code:
read_data(1,team,1)
if (team[0]=='C')
ct_score = read_data(2)
else if (team[0]=='T')
terrorist_score = read_data(2)
return PLUGIN_CONTINUE
}
1) he reads 1 byte from parameter 1 of the message. Param1 is the team: CT or T probably
2) he compares the read byte to C and T. If it is C, he assigns the param2 (that is the score) to CT score global variable, if it is T, he assigns the param2 to the T score global variable.
read_data with one parameter reads the msg param as an int, with 3 parameters it reads the msg param as a string...
__________________