Registersystem Problem - Server crashes
#1

Hey,

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);
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
Reply


Messages In This Thread
Registersystem Problem - Server crashes - by GiS - 08.01.2011, 14:08
Re: Registersystem Problem - Server crashes - by HyperZ - 08.01.2011, 14:21
Re: Registersystem Problem - Server crashes - by JaTochNietDan - 08.01.2011, 14:21
Re: Registersystem Problem - Server crashes - by GiS - 08.01.2011, 14:35
Re: Registersystem Problem - Server crashes - by JaTochNietDan - 08.01.2011, 14:46
Re: Registersystem Problem - Server crashes - by GiS - 08.01.2011, 14:48
Re: Registersystem Problem - Server crashes - by HyperZ - 08.01.2011, 14:50
Re: Registersystem Problem - Server crashes - by GiS - 08.01.2011, 14:53
Re: Registersystem Problem - Server crashes - by JaTochNietDan - 08.01.2011, 14:56
Re: Registersystem Problem - Server crashes - by GiS - 08.01.2011, 15:02

Forum Jump:


Users browsing this thread: 2 Guest(s)