Saving varables.
#2

So what's the problem? You don't know how? You do it the same as you save all your other variables.

dUserSetINT(PlayerName(playerid)).("bomb",HaveBomb[playerid]);

That will save the HaveBomb value for the playerid to his file when he disconnected.

EDIT: to get the variable back:

HaveBomb[playerid] = dUserINT(PlayerName(playerid)).("bomb");
Reply


Messages In This Thread
Saving varables. - by Hot - 24.05.2009, 18:16
Re: Saving varables. - by Weirdosport - 24.05.2009, 18:23
Re: Saving varables. - by Hot - 24.05.2009, 18:25
Re: Saving varables. - by Weirdosport - 24.05.2009, 18:25

Forum Jump:


Users browsing this thread: 1 Guest(s)