Colocar limite de caracteres?
#7

Lucas, vocк estб checando ao mesmo tempo se o strlen de tmp й nulo e se й maior de 30 por causa do !. Certo:

pawn Код:
if(strlen(tmp) > 30)
{              
 SendClientMessage(playerid, Cor, "Nъmero Mбximo de Caracteres Atingido! [MБXIMO: 30]");          
 return 1;        
}
Reply


Messages In This Thread
Colocar limite de caracteres? - by [BGSL]Manoel Ski - 01.03.2011, 19:46
Re: Colocar limite de caracteres? - by LuaN_ - 01.03.2011, 19:55
Re: Colocar limite de caracteres? - by [BGSL]Manoel Ski - 01.03.2011, 19:57
Re: Colocar limite de caracteres? - by ManoLexuS - 01.03.2011, 20:13
Re: Colocar limite de caracteres? - by [BGSL]Manoel Ski - 01.03.2011, 20:22
Re: Colocar limite de caracteres? - by Macintosh - 01.03.2011, 20:41
Re: Colocar limite de caracteres? - by [BEP]AcerPilot - 02.03.2011, 01:55
Re: Colocar limite de caracteres? - by [BGSL]Manoel Ski - 03.03.2011, 14:40

Forum Jump:


Users browsing this thread: 3 Guest(s)