18 lines
392 B
Plaintext
18 lines
392 B
Plaintext
void main()
|
|
{
|
|
object oPlayer = GetLastUsedBy();
|
|
object oTarget = GetObjectByTag("RanzEnterWaypt");
|
|
int iPaid = GetLocalInt(oPlayer, "RanzPaid");
|
|
if (GetIsPC(oPlayer))
|
|
{
|
|
if (iPaid == 0)
|
|
{
|
|
SendMessageToPC(oPlayer, "You are unable to enter Ranzington.");
|
|
}
|
|
else
|
|
{
|
|
AssignCommand(oPlayer, ActionJumpToObject(oTarget));
|
|
}
|
|
}
|
|
}
|