Please Help
#1

Guys Why he Don't Work i have add in Scriptifles Player But he don't Work .
Server Code
Код:
[06:13:04] Incoming connection: 41.137.23.18:59198
[06:13:05] [join] Ayouyou has joined the server (0:41.137.23.18)
[06:13:09] *** YSI Error: INI_Open could not find or create file Players/Ayouyou.ini
[06:13:50] *** YSI Error: INI_Open could not find or create file Players/Ayouyou.ini
[06:13:50] [part] Ayouyou has left the server (0:1)

+rep For Help
Reply
#2

i have this problem too
after update my YSI files and problem not fixed yet
my server is down
please help about this problem
Reply
#3

you got that #define path/user/%.ini or something ye?
Reply
#4

i have this
Код:
#define Player_File "Players/%s.ini"
Reply
#5

hmm try this ain't sure it will work..

PHP код:
#define PATH "players/%s.ini" 
Reply
#6

btw what tutorial you made that? kush's ?
Reply
#7

Код:
D:\Documents and Settings\Ay0uB\Bureau\Server X1tReme Stunting\pawno\include\YSI\..\YSI_Storage\y_ini.inc(206) : fatal error 100: cannot read from file: "..\amx\os"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#8

This is login/register ye?

What tutorial u got it from ?
Reply
#9

When i have add this i Get
Код:
#define PATH "players/%s.ini"
Код:
D:\DOCUME~1\Ay0uB\Bureau\NOUVEA~2\GAMEMO~1\X1treme.pwn(102) : warning 201: redefinition of constant/macro (symbol "PATH")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Reply
#10

Replace your macro command with this. It works.
Код:
stock RPN(playerid)
{
	new name[MAX_PLAYER_NAME+1];
	GetPlayerName(playerid, name, sizeof(name));
	return name;
}

stock Path(playerid)
{
    new str[35];
    format(str, sizeof(str), "Users/%s.ini", RPN(playerid));
    return str;
}
Did you create "players" map in your scriptfiles map?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)