15.05.2012, 13:49
Hi, im getting a problem :/
i have this variable in the begin of my script (global variable)
new Conhecidosde[4096][MAX_PLAYERS];
and more below i have other global variable:
enum Factions
{
fName[50],
Float:fX,
Float:fY,
Float:fZ,
fMaterials,
fDrugs,
fBank,
fRank1[35],
fRank2[35],
fRank3[35],
fRank4[35],
fRank5[35],
fRank6[35],
fRank7[35],
fRank8[35],
fRank9[35],
fRank10[35],
fSkin1,
fSkin2,
fSkin3,
fSkin4,
fSkin5,
fSkin6,
fSkin7,
fSkin8,
fSkin9,
fSkin10,
fJoinRank,
fUseSkins,
fType,//For Government factions etc
fRankAmount,
fColor[128],
fUseColor,
};
new DynamicFactions[10][Factions];
and the problem is, in the script, i dont know why, i think that they are having conflict '-'
because when i restart the server, and all the script save's
the info of DynamicFactions[0][Factions] goes to DynamicFactions[1][Factions] and this goes to DynamicFactions[2][Factions]
etc...etc...
all the script was going right until i need to create the variable "new Conhecidosde[4096][MAX_PLAYERS];"
if you know what is bad with the variable , plz say-me '-'
i have this variable in the begin of my script (global variable)
new Conhecidosde[4096][MAX_PLAYERS];
and more below i have other global variable:
enum Factions
{
fName[50],
Float:fX,
Float:fY,
Float:fZ,
fMaterials,
fDrugs,
fBank,
fRank1[35],
fRank2[35],
fRank3[35],
fRank4[35],
fRank5[35],
fRank6[35],
fRank7[35],
fRank8[35],
fRank9[35],
fRank10[35],
fSkin1,
fSkin2,
fSkin3,
fSkin4,
fSkin5,
fSkin6,
fSkin7,
fSkin8,
fSkin9,
fSkin10,
fJoinRank,
fUseSkins,
fType,//For Government factions etc
fRankAmount,
fColor[128],
fUseColor,
};
new DynamicFactions[10][Factions];
and the problem is, in the script, i dont know why, i think that they are having conflict '-'
because when i restart the server, and all the script save's
the info of DynamicFactions[0][Factions] goes to DynamicFactions[1][Factions] and this goes to DynamicFactions[2][Factions]
etc...etc...
all the script was going right until i need to create the variable "new Conhecidosde[4096][MAX_PLAYERS];"
if you know what is bad with the variable , plz say-me '-'