2023-08-08 16:22:17 -04:00
|
|
|
object oPlayer = GetEnteringObject();
|
|
|
|
string sPrint;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
sPrint = "Player Name: "+ GetName(oPlayer)+"\n";
|
|
|
|
sPrint =sPrint + "Player IP Address: "+ GetPCIPAddress(oPlayer)+"\n";
|
|
|
|
sPrint =sPrint + "Player Logon: "+ GetPCPlayerName(oPlayer)+"\n";
|
|
|
|
sPrint =sPrint + "Player PCDKEY: "+ GetPCPublicCDKey(oPlayer)+"\n";
|
|
|
|
sPrint =sPrint + "\n";
|
|
|
|
PrintString(sPrint);
|
|
|
|
|
|
|
|
object oPC = GetEnteringObject();
|
2023-08-15 18:54:31 -05:00
|
|
|
ActionPlayAnimation(ANIMATION_FIREFORGET_SALUTE);
|
2023-08-08 16:22:17 -04:00
|
|
|
// log in/out
|
|
|
|
if (GetLocalInt(oPC,"PCDead")==1)
|
|
|
|
{
|
|
|
|
effect eKill = EffectDeath(TRUE);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT,eKill,oPC);
|
2023-09-03 21:12:26 -05:00
|
|
|
|
|
|
|
ExecuteScript("lose_xp_quest_oc",oPC);
|
|
|
|
DelayCommand(1.75, PopUpDeathGUIPanel(oPC, FALSE, TRUE));
|
|
|
|
|
2023-08-08 16:22:17 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|