erro no dini -
DarthVeider - 16.12.2014
Olб Alguйm Pode Me Ajudar Com O Comando De Mudar Email Que Estou Convertendo Para Dini O Comando E Esse
CMD:mudaremail(playerid, params[])
{
new email;
if(sscanf(params, "u",email)) return SendClientMessage(playerid,-1,"Use: /mudaremail [EMAIL]");
static Str[128];
format(Str, sizeof(Str),"Vocк Mudou seu Email de %s para %s !!", dini_Get(Arquivo,"Email"), email);
SendClientMessage(playerid, -1, Str);
SendClientMessage(playerid, -1, "Cuidado ! vocк deve verificar se estб certo ! pois poderб perder sua Conta.");
dini_Set(Arquivo,"Email", email);
return true;
}
e esta dando o seguinte erro
pawn Код:
C:\Users\Darth Vader\Documents\pawno\Registro.pwn(121) : error 035: argument type mismatch (argument 3)
Linha Do Erro
pawn Код:
dini_Set(Arquivo,"Email", email);
Alguйm Pode Me Ajudar. Agradeзo Desde Jб
Re: erro no dini -
[BOPE]Seu._.Madruga - 16.12.2014
Vocк esqueceu de definir a variбvel email como string.
° Comando completo:
PHP код:
CMD:mudaremail(playerid, params[]) {
new email[155];
if(sscanf(params, "s[155]", email)) return SendClientMessage(playerid,-1,"Use: /mudaremail [EMAIL]");
static Str[128];
format(Str, sizeof(Str),"[ INFO ] Vocк mudou seu E-mail de %s para %s !", dini_Get(Arquivo,"Email"), email);
SendClientMessage(playerid, -1, Str);
SendClientMessage(playerid, -1, "Cuidado ! vocк deve verificar se estб certo ! pois poderб perder sua Conta.");
dini_Set(Arquivo,"Email", email);
return 1;
}
Re: erro no dini -
DarthVeider - 16.12.2014
Obrigado Tinha Esquecido +REP Pra Ti.