Jaysyn904 66a0a3e043 Initial commit
Initial commit.
2024-08-03 14:13:18 -04:00

12 lines
412 B
Plaintext

// -----------------------------------------------------------------------------
// MAIN - Example OnPlayerRest script
// -----------------------------------------------------------------------------
#include "se_inc_pc_loc"
void main()
{
object oPC = GetLastPCRested();
if(GetLastRestEventType() == REST_EVENTTYPE_REST_STARTED)
SE_SaveLocation(oPC);
ExecuteScript("x2_mod_def_rest", oPC);
}