05.01.2015, 20:39
I am trying to read a ini file using y_ini.
Code:
All of the code is working except the money one, For some reason it makes the money to 0.
Any help ?
Code:
pawn Код:
/* CODE */
new val;
INI_Int("Origin" , PlayerInfo[playerid][pOrigin]);
INI_Int("Muted" , PlayerInfo[playerid][pMuted]);
INI_Int("Respect" , PlayerInfo[playerid][pExp]);
INI_Int("Money" , val); GivePlayerCash(playerid, val); //This is not working...
INI_Int("Bank" , PlayerInfo[playerid][pAccount]);
INI_Int("Crimes" , PlayerInfo[playerid][pCrimes]);
/* Another Code */
Any help ?