Quote:
|
Originally Posted by Omini
NPC Code:
function onKeypressed(character)
{
if (character == "s") {
if (client.cx == "on") {
putaway();
}
}
}
|
NPC Code:
function onKeyPressed(Code, Key)
{
if (client.cs != "on")
return;
if (Key == "s")
putaway();
}
It's code, and then key :]
Skyld is only doing what is right, I guess most of the posts were pointless.