User's Data Problem
#2

You get this warning "warning 217: loose indentation" if you do not indent your code properly
This will give that warning
Код:
if(a)
{
for(new i;i <10;i++)
{

}
}
but this won't
Код:
if(a)
{
     for(new i;i <10;i++)
     {

     }
}
This
Код:
if(!strlen(inputtext))
can be replaced with
Код:
if (inputtext[0] == 0 || (inputtext[0] == 1 && inputtext[1] == 0))
Try updating YSI.I can't find anything wrong in your register code.

Код:
new INI:File = INI_Open(UserPath(playerid));
                INI_SetTag(File,"data");
                INI_WriteString(File,"Password",hashpass);
                INI_WriteInt(File,"Cash",0);
                INI_WriteInt(File,"Admin",0);
                INI_WriteInt(File,"Kills",0);
                INI_WriteInt(File,"Deaths",0);
                INI_WriteInt(File,"Vip",0);
                INI_Close(File);
Reply


Messages In This Thread
[SOLVED]User's Data Problem - by Armageddonz - 07.06.2015, 01:05
Re: User's Data Problem - by Yashas - 07.06.2015, 03:16
Re: User's Data Problem - by Armageddonz - 07.06.2015, 04:14
Re: User's Data Problem - by Armageddonz - 07.06.2015, 04:28
Re: User's Data Problem - by Armageddonz - 07.06.2015, 04:42
Re: User's Data Problem - by Yashas - 07.06.2015, 04:55

Forum Jump:


Users browsing this thread: 2 Guest(s)