Keycode check if anyone needs
PHP Code:
//#CLIENTSIDE
function onPlayerChats()
{
if(player.chat == "/keycheckon") {
this.on = true;
setTimer(.05);
}
else if(player.chat == "/keycheckoff") {
this.on = false;
}
}
function onTimeout()
{
if(this.on) {
if(player.chat != "/keycheckoff")
player.chat = "Code:" SPC code SPC "Key:" SPC key;
}
setTimer(.05);
}