| Blockland Forums > Modification Help |
| Client Team Chat |
| << < (2/4) > >> |
| Superb:
--- Quote from: Ipquarx on January 07, 2012, 08:18:08 PM ---Use onChatMessage. It can be used to easily edit, get, and use the message, and only has 3 variables. You don't even need to package it, or parent it! No seriously, don't package or parent it. Seriously don't. Here's a snippet of code: --- Code: ---function onChatMessage(%message, %voice, %pitch) { newChatHud_addLine(%message); //dostuff here } --- End code --- Or if you want to modify the message, you can edit %message before the newChatHud_blah line. --- End quote --- No. |
| Ipquarx:
--- Quote from: Superb on January 07, 2012, 08:31:12 PM ---No. --- End quote --- Yes. It works. |
| Chrono:
Except when people make server-sided add-ons improperly and just use messageClient(cl,'',cl.name @ ": " @ %msg); |
| Ipquarx:
--- Quote from: Chrono on January 08, 2012, 01:52:11 PM ---Except when people make server-sided add-ons improperly and just use messageClient(cl,'',cl.name @ ": " @ %msg); --- End quote --- You shouldn't need to compensate for other people's idiocy, so if it doesnt work, blame the person who forgeted with chat code. |
| Chrono:
--- Quote from: Ipquarx on January 08, 2012, 01:55:10 PM ---You shouldn't need to compensate for other people's idiocy, so if it doesnt work, blame the person who forgeted with chat code. --- End quote --- Many of my add-ons end up getting forgeted over by other people's idiocy. They end up being incompatible with 'popular' add-ons. |
| Navigation |
| Message Index |
| Next page |
| Previous page |