void main()
{

object oPC = GetEnteringObject();

if (!GetIsPC(oPC)) return;

int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));

if (DoOnce==TRUE) return;

SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);

object oTarget;
object oSpawn;
oTarget = GetWaypointByTag("weaponsrack1");

oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "weaponsrack1", GetLocation(oTarget));

}