//::////////////////////////////////////////////// //:: Created By: Donny Wilbanks //:: Created On: 6/24/03 //::////////////////////////////////////////////// #include "asg_i_dbplayer" void main() { int iLast = GetLocalInt(GetModule(),"LAST_PB_UPDATEjano"); iLast = iLast + 1 ; float i = 0.0; if (iLast >= 100 ) { SetLocalInt(GetModule(),"LAST_PB_UPDATEjano",0); object oPlayer = GetFirstPC(); while (GetIsObjectValid(oPlayer)) { SendMessageToPC(oPlayer,"Saving All Character Files..."); i = i +10.0; PlayerDatabase("W",oPlayer); oPlayer = GetNextPC(); } } else { SetLocalInt(GetModule(),"LAST_PB_UPDATEjano",iLast); } }