I'm trying to solve some, errors here can anyone help me?
#1

Quote:

if(dialogid == skins)
{
if(response == 1)
{
if(!VBIsNumeric(inputtext))
{
SendClientMessage(playerid, Vermelho, "Valor invбlido, tente novamente!");
return 1;
}
if ( strval (inputtext) >= 0 && strval (inputtext) < 299)
{
if (strval (inputtext) == 292) || (strval (inputtext) == 271) || (strval (inputtext) == 272) ||(strval (inputtext) == 273) || (strval (inputtext) == 270) || (strval (inputtext) == 269) || (strval (inputtext) == 274) || (strval (inputtext) == 289)
{
SendClientMessage(playerid, Vermelho, "Skin proibido, tente outro! | ID's = 0-298");
return 1;
}
format(file, sizeof(file), PASTA_CONTAS, GetPlayerNameEx(playerid));
if(GetPlayerGrana(playerid) > 49)
{
GivePlayerGrana(playerid, -50);
dini_Set(file, "Skin", inputtext);
SetPlayerSkin(playerid, dini_Int(file, "Skin"));

SendClientMessage(playerid, Verde, "Vocк comprou uma nova roupa com sucesso!");
}
else
{
SendClientMessage(playerid, Vermelho, "Vocк nгo tem dinheiro para comprar uma roupa.");
}
}
else
{
SendClientMessage(playerid, Vermelho, "ID fora do normal! | ID's = 0-298");
}
}
}

The error is in the above command.
Quote:

: error 029: invalid expression, assumed zero
: error 029: invalid expression, assumed zero

Can someone please help me?
Reply


Messages In This Thread
I'm trying to solve some, errors here can anyone help me? - by DanielzinnDG - 21.03.2017, 21:56
Re: I'm trying to solve some, errors here can anyone help me? - by Toroi - 21.03.2017, 22:08
Respuesta: I'm trying to solve some, errors here can anyone help me? - by DanielzinnDG - 21.03.2017, 22:48

Forum Jump:


Users browsing this thread: 1 Guest(s)