Click here to save the world(1 minute till launch)
#1

*Nuke disarmed.

Now, while where here I have a quick question about strings,

pawn Код:
new tempo[7];
    for(new i; i < Pickups; i ++) {
    format(tempo, 7, "%dName", i);
    format(Names[i], 25, "%s", dini_Get("/LSA/Data/BizData.txt", tempo));
    format(tempo, 7, "%dOwner", i);
    format(BizData[Owner][i], 25, "%s", dini_Get("/LSA/Data/BizData.txt", tempo));
    }
Declarations:
pawn Код:
enum BizInfo {
Name[25],
Owner[25]
}

new Names[Pickups][25];
Names works, but the enum doesn't. Any help would be REALLY appreciated.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)