//////////////////////////////////////// // Reset Player Score // //////////////////////////////////////// #include "spawner" void main() { object oPC = GetPCSpeaker(); SetLocalInt (oPC,"player_dd", 0); SetLocalInt (oPC,"pc_hit", 0); PlaySound("gui_select"); PCEffect(0.5, VFX_DUR_PIXIEDUST, oPC); DelayCommand(0.5, PlaySound("sce_neutral")); DelayCommand(2.0, PlaySound("sce_positive")); Message(2.0, "*** Your Damage/Hit scores have been reset ***", oPC); }