Help with Saving
#5

just before you destroy the pickup

pawn Код:
format(winstring, sizeof winstring, "BonusPickup_%d", i);
dini_Set("filename.txt", string, "1");
And how you find out if it got picked up
pawn Код:
if(dini_Get("filename.txt", "BonusPickup_0")) //0 for the first BonusPickup[0]
{
    //Got picked up
} else {
    //Not
}
Reply


Messages In This Thread
Help with Saving: Solved. - by Stigg - 11.02.2011, 21:28
AW: Help with Saving - by Nero_3D - 11.02.2011, 21:49
Re: Help with Saving - by SWEMike - 11.02.2011, 21:50
Re: AW: Help with Saving - by Stigg - 11.02.2011, 22:03
AW: Help with Saving - by Nero_3D - 11.02.2011, 22:13
Re: AW: Help with Saving - by Stigg - 11.02.2011, 22:14

Forum Jump:


Users browsing this thread: 1 Guest(s)