How can you save the armour and health?
#1

How would I save armour and health to an .ini file... i.e. saving money to an .ini like so
dini_IntSet(file, "money", GetPlayerMoney(playerid));
Reply
#2

pawn Код:
dini_FloatSet(file, "health", health);
dini_FloatSet(file, "armour", armour);
And this is the wrong section too, this should be moved to Scripting Discussion.
Reply
#3

thank you so much i spent ages trying to work this out
Reply
#4

wait how do i load it i.e. GivePlayerMoney(playerid, dini_Int(file, "money")-GetPlayerMoney(playerid)); for money
Reply
#5

never i did it, thanks again
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)