LucasBaker Posted May 6, 2013 Share Posted May 6, 2013 I wonder why this script is not showing the name of the player who typed "/vincular" and the message is also not appearing for all function vincular () outputChatBox ('[Forum] O Player ".. getPlayerName(getPlayerName(player)).."', root, 255, 255, 255, true) end addCommandHandler ( "vincular", vincular) Link to comment
DNL291 Posted May 6, 2013 Share Posted May 6, 2013 Try this: function vincular(player) outputChatBox ("[Forum] O Player "..getPlayerName(player), root, 255, 255, 255, true) end addCommandHandler ( "vincular", vincular) Link to comment
LucasBaker Posted May 6, 2013 Author Share Posted May 6, 2013 DNL291 I type /vincular and nothing appears Link to comment
iPrestege Posted May 6, 2013 Share Posted May 6, 2013 DNL291I type /vincular and nothing appears Are you sure it's server side? Post the meta.xml file . Link to comment
LucasBaker Posted May 6, 2013 Author Share Posted May 6, 2013 DNL291I type /vincular and nothing appears Are you sure it's server side? Post the meta.xml file . <meta> <info name="ForumINFO" author="Miller" version="1.0" type="script" /> <script src="main.lua" type="server"/> </meta> Link to comment
LucasBaker Posted May 6, 2013 Author Share Posted May 6, 2013 Try this: function vincular(player) outputChatBox ("[Forum] O Player "..getPlayerName(player), root, 255, 255, 255, true) end addCommandHandler ( "vincular", vincular) was missing the command in chat, thanks Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now