function

Started by kokia, Jul 19, 2015, 08:36 AM

Previous topic - Next topic

kokia

hello friends is this function still in 0.4 ?
function onConsoleInput( cmd, text )
{
 if(cmd=="chat")
    {
        Message("[#00ff00]kokia owner :[#ffffff] "+text);
        print("kokia owner:" +text);
    }
}
i am asking because in my 0.3 script i had this function and now i pasted it in my script and when i try to type in console something nothing is typed in console anyway to make it work again?

Mashreq

The event onConsoleInput is no longer existing in 0.4, so whatever you add in onConsoleInput event it wont be going to work.

kokia

it works with ysc's plugin
 locked now i didnt knew