19.03.2015, 15:39
That worked but now I get these 3 errors on the last 3 cases
Код:
(4495) : error 033: array must be indexed (variable "reasonMsg") (4496) : error 033: array must be indexed (variable "reasonMsg") (4497) : error 033: array must be indexed (variable "reasonMsg")
Код:
case 53: reasonMsg = format(msg, sizeof(msg), "Player %s[%d] died. (Drowned)", playerName,playerid); case 54: reasonMsg = format(msg, sizeof(msg), "Player %s[%d] died. (Collision)", playerName,playerid); default: reasonMsg = format(msg, sizeof(msg), "Player %s[%d] died.", playerName,playerid);