error 001: expected token: ")", but found "["
#1

Hello!
So, I got this error:
PHP код:
error 001expected token")"but found "[" 
This is my code:
PHP код:
forward LoadUser_data(playerid,name[],value[]);
public 
LoadUser_data(playerid,name[],value[])
{
    
INI_String("Password",PlayerInfo[playerid][pPass]); // Error line
    
INI_Int("Cash",PlayerInfo[playerid][pCash]);
    
INI_Int("Email",PlayerInfo[playerid][pEmail]);
    
INI_Int("Godine",PlayerInfo[playerid][pGodine]);
    
INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
    
INI_Int("Kills",PlayerInfo[playerid][pKills]);
    
INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
    return 
1;

Thank you guys!
Reply
#2

INI_String(name[], variable , length );


That's the correct syntax.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)