Colocar limite de caracteres?
#4

O comando que voc fez tб errado ^^
Correto:
pawn Код:
GetPlayerName(id,iName,sizeof(iName));
            GetPlayerName(playerid,pName,sizeof(pName));
            format(Message,sizeof(Message),"[PMS BGSL]: Mensagem enviada para %s ID:%d: %s!",pName,id,gMessage);
            SendClientMessage(playerid,Verde,Message);
            format(Message,sizeof(Message),"[PMS BGSL]: Mensagem Particular de %s (ID: %d): %s",pName,playerid,gMessage);
            SendClientMessage(id,Amarelo,Message);
Limite:
(( sу oclocar isso ))
pawn Код:
if(gMessage > tamanho)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Vocк nгo pode digitar +tamanho caracteres.");
return 1;
}
Reply


Messages In This Thread
Colocar limite de caracteres? - by [BGSL]Manoel Ski - 03.03.2011, 14:49
Re: Colocar limite de caracteres? - by deregudegu - 03.03.2011, 15:12
Re: Colocar limite de caracteres? - by Kruger - 03.03.2011, 15:25
Re: Colocar limite de caracteres? - by Ricop522 - 03.03.2011, 15:25
Respuesta: Colocar limite de caracteres? - by [BGSL]Manoel Ski - 03.03.2011, 17:31
Re: Colocar limite de caracteres? - by rjjj - 03.03.2011, 17:34
Re: Colocar limite de caracteres? - by Ricop522 - 03.03.2011, 19:11

Forum Jump:


Users browsing this thread: 1 Guest(s)