05.03.2011, 16:30
I trying to save this at the enum but don't work
But this give errors "array sizes do not match..."
THIS DON'T SAVE TOO!!! : / to read after..
Any help? =\
pawn Код:
enum nInfo
{
nNome[32],
nTelefone,
nLocalizacao[128],
nSituacao[128],
};
new NoveInfo[nInfo];
//This's to save:
stock NoveNome(string[])
{
NoveInfo[nNome] = string;
return 1;
}
stock NoveSituacao(string[])
{
NoveInfo[nSituacao] = string;
return 1;
}
stock NoveLocalizacao(string[])
{
NoveInfo[nLocalizacao] = string;
return 1;
}
//Using
format(wanted, sizeof(wanted), "%s", GetPlayerNameEx(playerid));
NoveNome(wanted)
THIS DON'T SAVE TOO!!! : / to read after..
Any help? =\