Why does my pawn crash ? (Y_INI)
#1

pawn Код:
new file[40];
format(file, sizeof(file), BIZ_FILE, BizID[playerid]);
new INI:bFilee = INI_Open(file);
INI_WriteString(bFilee, "bName", BizInfo[BizID[playerid]][bName]);
INI_Close(bFilee);
The compiler just crashes.
Reply
#2

Show us BIZ_FILE, I guess (?) I don't see any problems right now.
Reply
#3

#define BIZ_FILE "NVCNR/BIZOVI/%d.ini"

Its straight from NVCNR script.
Reply
#4

Try double forwardslash instead:

pawn Код:
#define BIZ_FILE "NVCNR\\BIZOVI\\%d.ini"
Reply
#5

Nope, same.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)