Help save email
#8

You must specify the size of the string.
Like this:
pawn Код:
//Enum:
enum pInfo
{
    pEmail[60]
}
//Loading Data:
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
    INI_String("Email",PlayerInfo[playerid][pEmail],60);
    return 1;
}
//OnplayerDisconnect:
INI_WriteString(File,"Email",PlayerInfo[playerid][pEmail]);
Compiler give this errors because you didn't specify the size of string in enum !
try and tell me worked or no !
Reply


Messages In This Thread
Fixed. - by Edw - 25.10.2014, 07:24
Re: Help save email - by M4D - 25.10.2014, 07:42
Fixed. - by Edw - 25.10.2014, 07:46
Fixed. - by Edw - 25.10.2014, 08:20
Re: Help save email - by Metroplex - 25.10.2014, 08:32
Re: Help save email - by Quickie - 25.10.2014, 08:41
Fixed. - by Edw - 25.10.2014, 08:45
Re: Help save email - by M4D - 25.10.2014, 08:47
Re: Help save email - by Mic_H - 25.10.2014, 08:57
Fixed. - by Edw - 25.10.2014, 11:45

Forum Jump:


Users browsing this thread: 2 Guest(s)