PDA

View Full Version : key works only when host has it



jk_addict
10-24-2000, 10:55 PM
I inserted the code:

setinv(player, 47, 0);
setinvavailable(player, 47, 0);

Into the end of kyle.cog's killed section, and it takes away the blue key whenever the player is killed. Problem is, it only activates the console when the host has the key. Both people can pick up and lose the key, but only host can use it. What's up with that?

jk_addict
10-25-2000, 08:12 PM
Actually, to word that a little better http://forums.massassi.net/html/smile.gif The players can only use their keys when the host has a key. I'm not sure where to start or what to place in the code, or whether to even start with the kyle.cog, or if it's in the cog for the gate that the key opens. I've managed to get the key to disappear from the player's bin when he/she dies, but I don't know that much about cog. I'm sure someone else knows though.