Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
//::///////////////////////////////////////////////
//:: OnClientLeave eventscript
//:: prc_onleave
//:://////////////////////////////////////////////
#include "prc_class_const"
#include "inc_utility"
#include "inc_letoscript"
#include "inc_leto_prc"
void main()
{
// Execute scripts hooked to this event for the player triggering it
object oPC = GetExitingObject();
if(!GetIsDM(oPC))
{
if(GetPRCSwitch(PRC_LETOSCRIPT_FIX_ABILITIES))
PRCLetoExit(oPC);
if(GetPRCSwitch(PRC_USE_LETOSCRIPT))
LetoPCExit(oPC);
}
AssignCommand(GetModule(), DelayCommand(0.1, RecalculateTime()));
ExecuteAllScriptsHookedToEvent(oPC, EVENT_ONCLIENTLEAVE);
}