[Ajuda] Erros DOF2
#1

Код:
         new valorSenha;
            	Player[playerid][senha] = format(inputtext, 500, "%s", valorSenha);
            	DOF2_CreateFile(arquivo);
				DOF2_SetString(arquivo, "Senha", Player[playerid][senha]);
                DOF2_SetInt(arquivo, "Dinheiro", Player[playerid][dinheiro]);
                DOF2_SetInt(arquivo, "Score", Player[playerid][score]);
                DOF2_SetInt(arquivo, "Mortes", Player[playerid][mortes]);
                DOF2_SetInt(arquivo, "Assassinatos", Player[playerid][assassinatos]);
                DOF2_SetString(arquivo, "Org", Player[playerid][org]);
                DOF2_SetString(arquivo, "CargoOrg", Player[playerid][cargoOrg]);
                DOF2_SetString(arquivo, "Emprego", Player[playerid][emprego]);
                DOF2_SetString(arquivo, "HabilidadeEmprego", Player[playerid][habilidadeEmprego]);
                DOF2_SetString(arquivo, "Carro", Player[playerid][carro]);
                DOF2_SetString(arquivo, "CorCarro", Player[playerid][corCarro]);
                DOF2_SetString(arquivo, "CorCarro2", Player[playerid][corCarro2]);
                DOF2_SetString(arquivo, "CarteiraTerrestre", Player[playerid][carteiraTerrestre]);
                DOF2_SetString(arquivo, "CarteiraAerea", Player[playerid][carteiraAerea]);
                DOF2_SetString(arquivo, "CarteiraNautica", Player[playerid][carteiraNautica]);
                DOF2_SetString(arquivo, "CarteiraPesca", Player[playerid][carteiraPesca]);
                DOF2_SetString(arquivo, "CarteiraArmas", Player[playerid][carteiraArma]);
                DOF2_SetString(arquivo, "Spawn", Player[playerid][spawn]);
                DOF2_SaveFile(arquivo);                

Player[playerid][dinheiro] = DOF2_GetInt(arquivo, "Dinheiro");
                Player[playerid][score] = DOF2_GetInt(arquivo, "Score");
                Player[playerid][mortes) = DOF2_GetInt(arquivo, "Mortes");
                Player[playerid][assassinatos] = DOF2_GetInt(arquivo, "Assassinatos");
                Player[playerid][org] = DOF2_GetString(arquivo, "Org");
                Player[playerid][cargoOrg) = DOF2_GetString(arquivo, "CargoOrg");
                Player[playerid][emprego] = DOF2_GetString(arquivo, "Emprego");
                Player[playerid][habilidadeEmprego] = DOF2_GetString(arquivo, "HabilidadeEmprego");
                Player[playerid][carro] = DOF2_GetString(arquivo, "Carro");
                Player[playerid][corCarro] = DOF2_GetString(arquivo, "CorCarro");
                Player[playerid][corCarro2] = DOF2_GetString(arquivo, "CorCarro2");
                Player[playerid][carteiraTerrestre] = DOF2_GetString(arquivo, "CarteiraTerrestre");
                Player[playerid][carteiraAerea] = DOF2_GetString(arquivo, "CarteiraAerea");
                Player[playerid][carteiraNautica] = DOF2_GetString(arquivo, "CarteiraNautica");
                Player[playerid][carteiraPesca] = DOF2_GetString(arquivo, "CarteiraPesca");
                Player[playerid][caarteiraArma] = DOF2_GetString(arquivo, "CarteiraArmas");
                Player[playerid][spawn] = DOF2_GetString(arquivo, "Spawn");
                DOF2_SaveFile(arquivo);
Erros:

C:\Users\Andrй\Desktop\GTA\Outros\Servidor\gamemod es\GM.pwn(169) : error 006: must be assigned to an array
C:\Users\Andrй\Desktop\GTA\Outros\Servidor\gamemod es\GM.pwn(170) : error 006: must be assigned to an array
C:\Users\Andrй\Desktop\GTA\Outros\Servidor\gamemod es\GM.pwn(171) : error 006: must be assigned to an array
C:\Users\Andrй\Desktop\GTA\Outros\Servidor\gamemod es\GM.pwn(172) : error 006: must be assigned to an array
C:\Users\Andrй\Desktop\GTA\Outros\Servidor\gamemod es\GM.pwn(173) : error 006: must be assigned to an array
C:\Users\Andrй\Desktop\GTA\Outros\Servidor\gamemod es\GM.pwn(174) : error 006: must be assigned to an array
C:\Users\Andrй\Desktop\GTA\Outros\Servidor\gamemod es\GM.pwn(175) : error 006: must be assigned to an array
C:\Users\Andrй\Desktop\GTA\Outros\Servidor\gamemod es\GM.pwn(176) : error 006: must be assigned to an array
C:\Users\Andrй\Desktop\GTA\Outros\Servidor\gamemod es\GM.pwn(177) : error 006: must be assigned to an array
C:\Users\Andrй\Desktop\GTA\Outros\Servidor\gamemod es\GM.pwn(17 : error 006: must be assigned to an array
C:\Users\Andrй\Desktop\GTA\Outros\Servidor\gamemod es\GM.pwn(179) : error 006: must be assigned to an array
C:\Users\Andrй\Desktop\GTA\Outros\Servidor\gamemod es\GM.pwn(180) : warning 202: number of arguments does not match definition
Reply


Messages In This Thread
Erros DOF2 - by Mito_FmZ - 31.07.2012, 02:10
Re: Erros DOF2 - by Lуs - 31.07.2012, 03:53
Re: Erros DOF2 - by Mito_FmZ - 31.07.2012, 18:36

Forum Jump:


Users browsing this thread: 2 Guest(s)