View Single Post
Old 13/01/2011, 05:27 PM   #3
blackwave
Gangsta
 
Join Date: Oct 2010
Location: Fortaleza, Brazil
Posts: 967
Reputation: 7
Default Re: Y_INI reading (INI_LOAD) issue.

I had another command before. And put for print after each function.

GetPlayerName = print ( the_runner ) // My name
format = print ( the_runner.ini) // My file name

All worked perfectly.

Just doesn't loads this section:
pawn Code:
INI:playerfile[](playerid, name[], value[])
{
   printf("%s has been loaded",playerfile); // CUZ HERE HASN't PRINTED
   INI_String("Name", PlayerInfo[playerid], Name);
   INI_Int("Cash", PlayerInfo[playerid][Cash]);
   return 0;
}
__________________






My youtube user: Click here
blackwave is offline