13.03.2015, 15:43
Well, try this:
PHP код:
//Loading conta:
public Load_user(playerid, name[], value[]){
new INI:file = INI_Open(User(playerid));
INI_Int("Senha", Info[playerid][SenhaX]);
INI_SetTag(file, "data");
INI_Close(file);
return 1;
}
// Creating Conta
public Create(playerid){
new INI:file = INI_Open(User(playerid));
INI_SetTag(file, "data");
INI_WriteInt(file, "Senha", 0000);
INI_Close(file);
INI_ParseFile(User(playerid),"Load_%s", .bExtra = true, .extra = playerid);
return 1;
}