View Single Post
Old 12/01/2011, 12:57 AM   #1
blackwave
Gangsta
 
Join Date: Oct 2010
Location: Fortaleza, Brazil
Posts: 967
Reputation: 7
Default Y_INI annoyin' issue

On dini, you can do:
pawn Code:
PlayerInfo[playerid][Cash] = dini_Int(file,"Cash");


But on y_ini, how do I do it?

I tried as correctly:
pawn Code:
INI:playerfile[](name[], value[])
{
   INI_Int("cash",GetPlayerMoney(playerid));
   return 0;
}


Give me error of undefined symbol: playerid. Means there's no "playerid " on the structure. So, how do I add? I really need it..
__________________






My youtube user: Click here
blackwave is offline