Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: kokia on Jul 19, 2015, 08:36 AM

Title: function
Post by: kokia on Jul 19, 2015, 08:36 AM
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?
Title: Re: function
Post by: Mashreq on Jul 19, 2015, 09:33 AM
The event onConsoleInput is no longer existing in 0.4, so whatever you add in onConsoleInput event it wont be going to work.
Title: Re: function
Post by: kokia on Jul 19, 2015, 11:51 AM
it works with ysc's plugin
 locked now i didnt knew