Closed Bryantdl7 closed 10 years ago
yes I know of this feature, and no was not me who coded.
If it works on others servers and not on your is because there is some addon conflicting with PlayX, Server-Side or Client-Side try to delete your garrysmod folder and reinstall garry'smod (Backup data / maps / addons first), or check for any addon that can conflict with PlayX or any really old addon that are generating any Lua errors.
I cannot help you if you do not report any Lua Error log.
Sorry to continue to be a nuisance, but where would I find my lua error log to post?
As I was saying before, I can do !ytplay video name on another server I know of. Also it says right in the code of https://github.com/nexbr/playx/blob/master/lua/autorun/server/playx_media_query.lua
that you can do !ytplay wiremod instead of just !ytplay https://www.youtube.com/watch?v=9NvkJ_qKeVU
quote of the code saying this is possible:
"-- Chat commands: -- !yt - Search YouTube in-game for embeddable videos, and get
-- the first result (it will not play, though)
-- !ytplay [query] - Search YouTube, and play it as well, but if you do
-- not provide an argument/search query, then the last found video
-- (via !yt or so) will be played"
I can physically prove this to you if you that your code does do this, yet I cannot make this work on my server even with reinstalling the .gma version of the addon.
Includer are screenshots aswell of this actually working.