2024-02-11 14:01:05 -05:00
|
|
|
//::///////////////////////////////////////////////
|
|
|
|
//:: OnClientLeave eventscript
|
|
|
|
//:: prc_onleave
|
|
|
|
//:://////////////////////////////////////////////
|
|
|
|
#include "prc_class_const"
|
|
|
|
#include "inc_utility"
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2025-05-27 22:29:19 -04:00
|
|
|
//:: Execute scripts hooked to this event for the player triggering it
|
2024-02-11 14:01:05 -05:00
|
|
|
object oPC = GetExitingObject();
|
|
|
|
AssignCommand(GetModule(), DelayCommand(0.1, RecalculateTime()));
|
|
|
|
ExecuteAllScriptsHookedToEvent(oPC, EVENT_ONCLIENTLEAVE);
|
|
|
|
}
|