Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Kid_Buu on Jan 10, 2018, 06:23 AM

Title: because it does not work?
Post by: Kid_Buu on Jan 10, 2018, 06:23 AM
Hi, I've been using Sebby's menu system on my server but something does not work!
What happens is that (if it enters the menus) but it does not grab the keys to move the options.
I'm not sure what the error is,  is but could someone give me a possible solution?

Here the code:

function onKeyDown(player,key)
{
menuKeyDown( player, key );
}

function onScriptLoad()
{
dofile( "scripts/CMS.nut" );
CreateMenu("Kid_Buu is cool?","Yes","No");
}

Link!

http://www.mediafire.com/file/vsg5u9u7hzeh515/CMS.nut

Sorry for my bad english
Title: Re: because it does not work?
Post by: umar4911 on Jan 11, 2018, 10:03 AM
Give link of forum
Title: Re: because it does not work?
Post by: Kid_Buu on Jan 11, 2018, 05:09 PM
oh sorry, Link fixed
Title: Re: because it does not work?
Post by: umar4911 on Jan 12, 2018, 08:15 AM
Quote from: Kid_Buu on Jan 11, 2018, 05:09 PMoh sorry, Link fixed
Give me forum link of the menu system not the cms.nut file
Title: Re: because it does not work?
Post by: VK.Jona83Killer on Jan 13, 2018, 05:52 AM
That men took that system from here:

https://forum.vc-mp.org/?topic=9.msg9#msg9 (http://forum.vc-mp.org/?topic=9.msg9#msg9)
Title: Re: because it does not work?
Post by: Kid_Buu on Jan 13, 2018, 06:07 AM
yes
Title: Re: because it does not work?
Post by: VK.Jona83Killer on Jan 17, 2018, 04:41 AM
add this in your function onPlayerJoin

menuJoin( player );
Title: Re: because it does not work?
Post by: Kid_Buu on Jan 17, 2018, 05:24 AM
ohhhhhhhhhhhhhh yes

Thaaaanks