05.03.2011, 16:48
You have to use strmid to turn a multidimensional array equal to another text variable (string).
Strmid will extract the content of a string to the string with multidimensional array, and everything without give errors related to the arrays
.
Here, i did it for you
I hope that i have helped
Strmid will extract the content of a string to the string with multidimensional array, and everything without give errors related to the arrays

Here, i did it for you

pawn Код:
enum nInfo
{
nNome[32],
nTelefone,
nLocalizacao[128],
nSituacao[128],
};
new NoveInfo[nInfo];
//This's to save:
stock NoveNome(string[])
{
//NoveInfo[nNome] = string;
strmid(NoveInfo[nNome],string,false,strlen(string),32);
return 1;
}
stock NoveSituacao(string[])
{
//NoveInfo[nSituacao] = string;
strmid(NoveInfo[nSituacao],string,false,strlen(string),128);
return 1;
}
stock NoveLocalizacao(string[])
{
//NoveInfo[nLocalizacao] = string;
strmid(NoveInfo[nLocalizacao],string,false,strlen(string),128);
return 1;
}
