View Single Post
Old 12/01/2011, 02:34 PM   #3
blackwave
Gangsta
 
Join Date: Oct 2010
Location: Fortaleza, Brazil
Posts: 967
Reputation: 7
Default Re: Y_INI annoyin' issue

Well jatoch, it keep giving me a annoying and senseless error...
pawn Code:
CMD:reset(playerid,params[])
{
   #pragma unused params
   Msg(playerid, color, ""#red"logged variable "#green" reseted");
   logged[playerid]=0;
   new name[MAX_PLAYER_NAME];GetPlayerName(playerid,name,sizeof(name));
   format(playerfile,sizeof(playerfile),PLAYER,name);
   INI_Load(PLAYER, playerid, true);
   return 1;
}
INI:playerfile[](playerid, name[], value[])
{
   INI_String("Name",PlayerInfo[playerid][Name]);
   return 0;
}

Code:
 error 017: undefined symbol "INI_String"
I tested other cases with INI Loading and works, except this one: INI_String. I checked the inc and has this function. Also tried with normal arrays, and did work. Except for:
pawn Code:
PlayerInfo[playerid][Name] // I have defined
__________________






My youtube user: Click here
blackwave is offline