My problems with Y_INI
#5

Quote:
Originally Posted by Nabeshin
Посмотреть сообщение
The problem is when you load the file, try this:

Код:
INI_Int("Money",PlayerInfo[playerid][Money]);
SetPVarInt(playerid, "Money",PlayerInfo[playerid][Money]);
And you need to assign "Money" as the current player money (you may need GivePlayerMoney and ResetPlayerMoney).
No, this is wrong. It's already for a certain player:
PlayerInfo[playerid][Money]
It's an array with a slot for every player. There's no reason for using pvars.
Reply


Messages In This Thread
My problems with Y_INI - by dusk - 14.04.2013, 07:00
Re: My problems with Y_INI - by DiGiTaL_AnGeL - 14.04.2013, 08:03
Re: My problems with Y_INI - by dusk - 14.04.2013, 08:11
Respuesta: My problems with Y_INI - by Nabeshin - 14.04.2013, 08:15
Re: Respuesta: My problems with Y_INI - by DiGiTaL_AnGeL - 14.04.2013, 08:23
Re: My problems with Y_INI - by dusk - 14.04.2013, 11:23

Forum Jump:


Users browsing this thread: 2 Guest(s)