Login and Register.
#1

Hey. I have made a login and register script - http://pastebin.com/yuLjx4uH . It compiles with no errors or warnings but when i register, the file is not saving to script files. Probably a stupid mistake by me, but does anyone know why its not saving? Thanks.
Reply
#2

pawn Код:
format(file, sizeof(file), file, name);
What?
pawn Код:
format(file, sizeof(file), "%s", name);
if(!dini_Exists(file))
{
}
Reply
#3

Quote:
Originally Posted by [XST]O_x
Посмотреть сообщение
pawn Код:
format(file, sizeof(file), file, name);
What?
pawn Код:
format(file, sizeof(file), "%s", name);
if(!dini_Exists(file))
{
}
Still not saving.
Reply
#4

%scriptfiles.ini.

Are you sure this is correct.
Or you are attempting something like

"/scriptfiles/%s.ini"
Reply
#5

On the format at the OnPlayerConnect use format(file, sizeof(file), "%s.ini", name);
Reply
#6

Quote:
Originally Posted by Denying
Посмотреть сообщение
On the format at the OnPlayerConnect use format(file, sizeof(file), "%s.ini", name);
Really. This thread is one year old.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)