[Ajuda] must be assigned to an array
#8

Quote:
Originally Posted by FerrariL
Посмотреть сообщение
Veja se funciona :
PHP код:
pInfos[playerid][pSenha] = inputtext
Acho que seria
PHP код:
pInfos[playerid][pSenha] = strval(inputtext); 
@Cauezin testa ai:
PHP код:
if(dialogid == DIALOG_REGISTRO)
    {
    if(
strval(inputtext) < 4)
    {
    
ShowPlayerDialog(playeridDIALOG_REGISTRODIALOG_STYLE_INPUT"Bem-Vindo""Seja bem-vindo jogador!\nDigite uma senha abaixo para se registrar  em nosso servidor.""Confirmar""Sair");
    
SendClientMessage(playerid0xFF0000AA,"|ERRO|Sua senha precisa ter no minimo 4 caracteres!");
    return 
1;
    }
    if(!
response)
    {
    
Kick(playerid);
    return 
1;
    }else{
    
DOF2_CreateFile(arquivo);
    
DOF2_SetString(arquivo"Senha"inputtext);
    
DOF2_SetInt(arquivo"Dinheiro"pInfos[playerid][pDinheiro]);
    
DOF2_SetInt(arquivo"Skin"23);
    
DOF2_SetInt(arquivo"Score"pInfos[playerid][pScore]);
    
DOF2_SaveFile();
    
SendClientMessage(playerid0xFF8080AA,"|SERVER|Sua conta foi criada com sucesso!");
    
SpawnPlayer(playerid);
    
SetPlayerPos(playerid,1172.6566,-1323.3835,15.4025);
    }
    } 
Reply


Messages In This Thread
must be assigned to an array - by Cauezin - 30.03.2018, 16:42
Re: must be assigned to an array - by FerrariL - 30.03.2018, 16:46
Re: must be assigned to an array - by Cauezin - 30.03.2018, 16:48
Re: must be assigned to an array - by FerrariL - 30.03.2018, 16:51
Re: must be assigned to an array - by Cauezin - 30.03.2018, 17:20
Re: must be assigned to an array - by FerrariL - 30.03.2018, 17:30
Re: must be assigned to an array - by Cauezin - 30.03.2018, 18:37
Re: must be assigned to an array - by AllanSG - 30.03.2018, 19:11
Re: must be assigned to an array - by FerrariL - 30.03.2018, 19:39
Re: must be assigned to an array - by AllanSG - 30.03.2018, 20:13

Forum Jump:


Users browsing this thread: 1 Guest(s)