F2 keys do something ? + A color tag question.Somaz User Offline 10.06.09 16:11:49 Ok, so on some server I could open up a menu, more likely trigger a LUA hook by pressing F2. How can I do that on my server? And a second question is: Can I somehow end a color tag? Like CxxxxxxxThis text is red "some tag here" But this text is white again.
Re: F2 keys do something ? + A color tag question.X-RDG COMMUNITY BANNED Offline 10.06.09 16:39:29 The F2 key I can't answer, because i don't use deafult controls. Always custom. The second one is easy. The correct command is: sv_msg ©255017000 Hello! This text is red. "sv_msg ©000000000 Hello! This text haves other colour." I think that shuold work, if not tell me. -- Edit -- That's a command normally used for server message or LUA issues, not player name!
Re: F2 keys do something ? + A color tag question.DC Admin Offline 10.06.09 16:41:38 F2, F3 and F4 trigger the serveraction hook. sys/lua/info.txt hat geschriebenserveraction(id,action) on server action key -id: player id -action: action key 1,2 or 3 it is impossible to have multiple colors in the same message or the same line
Re: F2 keys do something ? + A color tag question.Flacko User Offline 10.06.09 18:58:19 DC, serveraction keys don't work in my keyboard, is it possible to bind them to other keys?
Re: F2 keys do something ? + A color tag question.ohaz User Offline 10.06.09 19:00:14 Of course, just go to Options -> Controls and Change "Server Action 1" to "Server Action 3" to other keys