WriteByte(MSG_ONE, SVC_SETVIEW);
WriteEntity(MSG_ONE, self);
}
+
+ // reset player keys
+ self.itemkeys = 0;
// player is dead and becomes observer
// FIXME fix LMS scoring for new system
self.itemkeys = key_code;
precache_model(self.model);
- if (self.spawnflags & 1)
+ if (self.spawnflags & 1) // FLOATING
self.noalign = 1;
if (self.noalign)
};
/*QUAKED item_key2 (0 .5 .8) (-16 -16 -24) (16 16 32) FLOATING
-GOLDEN key.
+GOLD key.
-----------KEYS------------
colormod: color of the key (default: '1 .9 0').
message: message to print when player picks up this key.
if (p.key_door_messagetime <= time) {
play2(other, "misc/talk.wav");
centerprint(other, "You don't have the silver key!");
- p.wait = p.key_door_messagetime + 2;
+ p.key_door_messagetime = time + 2;
}
return FALSE;
} else {