Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

15 lines
421 B
Plaintext

void main()
{
// object oPC = GetLastUsedBy();
// if (GetIsObjectValid(oPC)) oPC = GetLastSpeaker();
object oPC = OBJECT_SELF;
if (GetIsPC(oPC)==FALSE && GetPCPlayerName(oPC)=="") oPC = GetLastUsedBy();
if (GetIsPC(oPC)== TRUE || GetPCPlayerName(oPC)!="") {
SetLocalInt(oPC, "cc_level", 0);
SetLocalString(oPC, "cc_event", "init_poly");
ExecuteScript("cc_event", oPC);
}
}