dnsvlc Posted May 12, 2013 Posted May 12, 2013 Привет, мне надоели надписи вроде "Las Venturas, Bone Country" и им подобные. Подскажите пожалуйста, можно ли их убрать? Если можно, то сразу функцию, а то я найти не могу. Спасибо!
Kenix Posted May 12, 2013 Posted May 12, 2013 showPlayerHudComponent( 'area_name', false ); http://vk.com/the_kenix Вопросы задавайте на форуме, не пишите мне в личку. Please don't pm me.
dnsvlc Posted May 12, 2013 Author Posted May 12, 2013 Создал, но он не работает. Что не так? function hudChanger () showPlayerHudComponent ( source, "area_name", true ) showPlayerHudComponent ( thePlayer, "area_name", true ) end addEventHandler ( "onPlayerJoin", getRootElement(), hudChanger )
Moderators Disinterpreter Posted May 12, 2013 Moderators Posted May 12, 2013 Создал, но он не работает. Что не так? function hudChanger () showPlayerHudComponent ( source, "area_name", true ) showPlayerHudComponent ( thePlayer, "area_name", true ) end addEventHandler ( "onPlayerJoin", getRootElement(), hudChanger ) true на false пробовали поменять? Developers, Developers, Developers, Developers.... © Steve Balmer http://www.lua.org/about.html Quote Please do not write it as "LUA", which is both ugly and confusing, because then it becomes an acronym with different meanings for different people. So, please, write "Lua" right!
dnsvlc Posted May 12, 2013 Author Posted May 12, 2013 Создал, но он не работает. Что не так? function hudChanger () showPlayerHudComponent ( source, "area_name", true ) showPlayerHudComponent ( thePlayer, "area_name", true ) end addEventHandler ( "onPlayerJoin", getRootElement(), hudChanger ) true на false пробовали поменять? Да, в любом случае не работает.
Arimance Posted May 12, 2013 Posted May 12, 2013 addEventHandler( "onPlayerJoin", getRootElement(), function() showPlayerHudComponent( source, "area_name", false ); end ); We are happy to announce a new MTA project which called the Reborn. It's fresh and smally unique idea that has a role play game type. Check it at http://www.reborn.so ( Russia ).
dnsvlc Posted May 12, 2013 Author Posted May 12, 2013 addEventHandler( "onPlayerJoin", getRootElement(), function() showPlayerHudComponent( source, "area_name", false ); end ); Нет-с, не работает.
TheNormalnij Posted May 12, 2013 Posted May 12, 2013 скрипт хоть в серверном файле... TheNormalnij.de
Kenix Posted May 12, 2013 Posted May 12, 2013 showPlayerHudComponent( 'area_name', false ); Просто воткни этот код на клиентской стороне и всё. Ничё не надо больше делать. http://vk.com/the_kenix Вопросы задавайте на форуме, не пишите мне в личку. Please don't pm me.
dnsvlc Posted May 13, 2013 Author Posted May 13, 2013 showPlayerHudComponent( 'area_name', false ); Просто воткни этот код на клиентской стороне и всё. Ничё не надо больше делать. Хорошо, сейчас попробую. Действительно, всё работает! Прекрасно! Спасибо ещё раз, Kenix
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