Hi when I try and compile this code the line with message_begin gets this error...
Quote:
|
error 035: argument type mismatch (argument 2)
|
Here is the code...
Code:
public updateScore(id) {
message_begin(MSG_ALL, "ScoreInfo"); /* <--- Gets error here */
write_byte(id); // Player id
write_short(0); // Frags
write_short(0); // Deaths
write_short(0); // Class
write_short(0); // Team
message_end();
}