17 lines
238 B
Plaintext
17 lines
238 B
Plaintext
|
#include "rd_advzones"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
int iArea;
|
||
|
object oPC;
|
||
|
|
||
|
oPC = GetEnteringObject();
|
||
|
|
||
|
iArea = 1;
|
||
|
|
||
|
if (GetIsInCombat(oPC))
|
||
|
SendMessageToPC(oPC,"You are unable to use the portal while in combat.");
|
||
|
else
|
||
|
ZoneToArea(oPC,iArea);
|
||
|
}
|