15.07.2017, 14:45
Tem
Em onplayertext
cria uma string como maximo de caractere que deseja
new string[caracteres];
format(string,sizeof(string), "%s", text);
SendClientMessageToAll(cor, string);
ou
60 as caracteres
if(strlen(text) > 60)return SendClientMessage(playerid, COR,"[ERRO]: Seu texto atingiu o limite mбximo, resuma!"), false;
da return 0 no onplayertext se for usar o primeiro
Em onplayertext
cria uma string como maximo de caractere que deseja
new string[caracteres];
format(string,sizeof(string), "%s", text);
SendClientMessageToAll(cor, string);
ou
60 as caracteres
if(strlen(text) > 60)return SendClientMessage(playerid, COR,"[ERRO]: Seu texto atingiu o limite mбximo, resuma!"), false;
da return 0 no onplayertext se for usar o primeiro