30.07.2014, 16:19
Error Type:
Code:
error line:
Код:
error 008: must be a constant expression; assumed zero
Код:
public OnPlayerText(playerid, text[]) { new result[128] = text; for(new i = 0, j = strlen(result); i < j; i++) { if('0' <= result[i] <= '9') { result[i] = '*'; } } SendPlayerMessageToAll(playerid, result); return 0; }
error line:
Код:
result[128] = text;