15.11.2013, 01:35
pawn Код:
if ( dialogid == skins)
{
if ( response == 1)
{
if ( !VBIsNumeric(inputtext))
{
SendClientMessage ( playerid , Vermelho, "Valor invбlido, tente novamente!" ) ;
return 1;
}
//ESTAMOS TRATANDO DESSA LINHA if ( StrToInt(inputtext) >= 0 && StrToInt(inputtext) <= 299)
{
if(StrToInt(inputtext) == 292 || StrToInt(inputtext) == 271 || StrToInt(inputtext) == 272 ||
StrToInt(inputtext) == 292 || StrToInt(inputtext) == 271 || StrToInt(inputtext) == 272)
{
SendClientMessage ( playerid , Vermelho, "Skin proibido, tente outro! | ID's = 0-298" ) ;
return 1;
}
Realmente apliquei a comparaзгo de forma errada (&& ||)