Jump to content
  • 0

pomoc Prosim vypisuje mi ERROR


Ribbean

Dotaz

Popis problému:


som ešte začiatočnik pls mohli by ste mi napisat čo by som mal opravit aby to fungovalo?


Chyby/varování kompilátoru a při běhu:


C:\Server\filterscripts\login2.pwn(2) : fatal error 100: cannot read from file: "YSI\y_ini"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.


Kód:

 

#include 
#include 
#include 
#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define COLOR_WHITE "(FFFFFF)"
#define COLOR_RED "(F81414)"
#define COLOR_GREEN "{00FF22)"
#define COLOR_LIGHTBLUE "(00CED1)"
#define PATH "/Accounts/%s.ini"
#pragma tabsize 0
enum pInfo
{
  pPass,
  pCash,
  pAdmin,
  pScore,
  pBankmoney,
  pBanned
}
new Plazerinfo(MAX_PLAYERS)[pInfo];
forward loadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[]|
{
  INI_Int("Password",PlayerInfo[playerid][pPass]|;
  INI_Int("Cash",PlayerInfo[playerid][pCash]|;
  INI_Int("Admin",PlayerInfo[playerid][pAdmin]|;
  INI_Int("Score",PlayerInfo[playerid][pScore]|;
  INI_Int("Bankmoney",PlayerInfo[playerid][pBankmoney]|;
  INI_Int("Banned",PlayerInfo[playerid][pBanned]|;
  return 1;
}
stock Userpath(playerid)
{
 new string(128),playername[MAX_PLAYER_NAME]
 GetPlazerName(playerid,playername,sizeof(playername)|;
 format(string,sizeof(string),PATH,playername);
 return string;
}
stock udb_hash(buf[])
{
 new length=strlen(buf);
 new s1 = 1;
 new s2 = 0;
 new n;
 for (n=0; n

 

 

 

 

 

Dodatečné poznámky:

 

--

Link to comment
Share on other sites

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...