I'm really embarrassed >.>
sorry
function hSandy_Interact()
{
if (cJason.ActiveInventory==iKnife);
{
cJason.Walk(166, 126, eBlock, eWalkableAreas);
Display("You cut the gum of sandy's hair.");
cJason.AddInventory(iGum);
}
else
{
cJason.Walk(188, 115, eBlock, eWalkableAreas);
cJason.Think("Moving her would hurt and you can't take the gum off with your hands.");
}
}
But I get this error:
Failed to save room room4.crm; details below
room4.asc(59): Error (line 59): PE04: parse error at ';'
Thankyou for any help.
sorry
function hSandy_Interact()
{
if (cJason.ActiveInventory==iKnife);
{
cJason.Walk(166, 126, eBlock, eWalkableAreas);
Display("You cut the gum of sandy's hair.");
cJason.AddInventory(iGum);
}
else
{
cJason.Walk(188, 115, eBlock, eWalkableAreas);
cJason.Think("Moving her would hurt and you can't take the gum off with your hands.");
}
}
But I get this error:
Failed to save room room4.crm; details below
room4.asc(59): Error (line 59): PE04: parse error at ';'
Thankyou for any help.