[Error with YSI\y_ini]
#4

So now these are the errors I get.

Quote:

H:\[S]uper\gamemodes\[S]uper.pwn(146) : error 017: undefined symbol "inputtext"
H:\[S]uper\gamemodes\[S]uper.pwn(148 ) : error 028: invalid subscript (not an array or too many subscripts): "SuperHuman_Info"
H:\[S]uper\gamemodes\[S]uper.pwn(148 ) : warning 215: expression has no effect
H:\[S]uper\gamemodes\[S]uper.pwn(148 ) : error 001: expected token: ";", but found "]"
H:\[S]uper\gamemodes\[S]uper.pwn(148 ) : error 029: invalid expression, assumed zero
H:\[S]uper\gamemodes\[S]uper.pwn(148 ) : fatal error 107: too many error messages on one line

And this is my code.

PHP код:
public OnPlayerDisconnect(playeridreason)
{
//    Cloner[playerid] = 0;
    
new INI:File INI_Open(UserPath(playerid));
    
INI_SetTag(File,"Superhuman_Roleplay");
    
INI_WriteInt(File,"Password",udb_hash(inputtext));
    
INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
    
INI_WriteInt(File,"Admin"SuperHuman_Info[playerid], pAdmin);
    
INI_WriteInt(File,"NormalName",GetPayerName(playerid));
    
INI_WriteInt(File,"NormalLevel"SuperHuman_Info[playerid], nLevel);
    
INI_WriteInt(File,"NormalSkin"GetPlayerSkin(playerid));
    
INI_WriteInt(File,"NormalAbility"SuperHuman_Info[playerid], nAbility);
    
INI_WriteInt(File,"NormalWeakness"SuperHuman_Info[playerid], nWeakness);
    
INI_WriteInt(File,"SuperName"SuperHuman_Info[playerid], sName);
    
INI_WriteInt(File,"SuperLevel"SuperHuman_Info[playerid], sLevel);
    
INI_WriteInt(File,"SuperSkin"SuperHuman_Info[playerid], sSkin);
    
INI_WriteInt(File,"Ability_1"SuperHuman_Info[playerid], sAbility1);
    
INI_WriteInt(File,"Ability_2"SuperHuman_Info[playerid], sAbility2);
    
INI_WriteInt(File,"Ability_3"SuperHuman_Info[playerid], sAbility3);
    
INI_WriteInt(File,"Weakness_1"SuperHuman_Info[playerid], sWeakness1);
    
INI_WriteInt(File,"Weakness_2"SuperHuman_Info[playerid], sWeakness2);
    
INI_WriteInt(File,"Weakness_3"SuperHuman_Info[playerid], sWeakness3);
    
INI_Close(File);
    return 
1;

Line 146 is
PHP код:
INI_WriteInt(File,"Password",udb_hash(inputtext)); 
Line 148 is
PHP код:
INI_WriteInt(File,"Admin"SuperHuman_Info[playerid], pAdmin); 
And these two lines are the two errors.
Reply


Messages In This Thread
[Error with YSI\y_ini] - by Dreamwall - 30.06.2016, 21:34
Re: [Error with YSI\y_ini] - by Konstantinos - 30.06.2016, 21:45
Re: [Error with YSI\y_ini] - by Dreamwall - 30.06.2016, 22:06
Re: [Error with YSI\y_ini] - by Dreamwall - 30.06.2016, 22:25
Re: [Error with YSI\y_ini] - by DTV - 01.07.2016, 00:52
Re: [Error with YSI\y_ini] - by Dreamwall - 01.07.2016, 17:04
Re: [Error with YSI\y_ini] - by DTV - 01.07.2016, 17:26
Re: [Error with YSI\y_ini] - by Dreamwall - 01.07.2016, 20:03
Re: [Error with YSI\y_ini] - by Konstantinos - 01.07.2016, 20:30

Forum Jump:


Users browsing this thread: 1 Guest(s)