08.01.2011, 14:08
Hey,
I've got a little problem. I got the following script:
This is what will happen if they respond to the register dialog (OnDialogResponse)
The server crashes and the server-log's last message is "before". So there is something wrong with the dini_Create(file);
What I've already done:
- include insert
- dini insert to the script on top
- Server is on my PC - No CHMOD needed
- Users folder is created in scriptfiles
I've got a little problem. I got the following script:
Код:
new pname[24], file[36]; format(file, sizeof(file), "Users/%s.ini", GetPlayerName(playerid, pname, sizeof(pname))); print("before"); dini_Create(file); print("after"); dini_Set(file, "Passwort", inputtext);
The server crashes and the server-log's last message is "before". So there is something wrong with the dini_Create(file);
What I've already done:
- include insert
- dini insert to the script on top
- Server is on my PC - No CHMOD needed
- Users folder is created in scriptfiles