Garry's Mod
33 lượt đánh giá
[E2] Global Print
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Content Type: Addon
Addon Type: ServerContent
Kích cỡ file
Đã đăng
Đã cập nhật
5.673 KB
26 Thg06, 2016 @ 12:32am
12 Thg10, 2019 @ 6:28pm
4 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
[E2] Global Print

Mô tả
This extension allows you to easily broadcast messages to everyone on the server.

Features
  • Allows you to globally print messages
  • Allows you to print messages to a certain player
  • Allows colored messages so you can have all the rainbox text you want
  • Supports type formatting

Permissions
In the admin mod of your choice enable GlobalPrint permissions for whoever you want to be able to use this

Functions
broadcastMessage(...)
Takes a variable amount of arguments and prints them to chat.

broadcastMessage(array)
Same as the above function but takes an array instead.

entity:printMessage(...)
Same as the functions above but instead only prints to this entity.

entity:printMessage(array)
Same as the above function but takes an array instead.

Note: This extension has to be enabled to work

Note: Argument limit for both arrays and varargs is 255, this is because the size of the message is sent using an unsigned byte. If enough people request this be raised I'll look into it.

Note: When using arrays as arguments you may lose some type data. This is because array data structures don't carry type id.

Note: The `vec` type defines colors, if a vector is out of bounds for it to be a color (i.e. under 0, or over 255 on any element) it is formatted and included in the message

Issues
Please report issues here[github.com], it allows for easier management

Requests
If you want a a certain type to be automatically formatted make a new issue here[github.com].

Final Notes
This extension is disabled by default, meaning that you'll have to enable it for it to work.

If you're afriad someone is using this to impersionate someone else, look in console. Whenever someone sends out a message you'll get a print out in console in the format of,

Player <name> <steamid> said: message

This'll allow you to see who sent the message.
7 bình luận
SniperGnome 30 Thg07, 2023 @ 2:53pm 
not working need to be updated
Strawberry Milkshake 13 Thg11, 2021 @ 3:22pm 
good job big dog
Edith 11 Thg04, 2021 @ 6:54am 
This is does not working
johnpaulbin 23 Thg12, 2019 @ 7:37pm 
This is epic. Good job! The FBK community needed this.
JaceD 8 Thg07, 2016 @ 4:14am 
hey thats pretty good
puzgyesz 27 Thg06, 2016 @ 3:41am 
I like your work, very nicely done! Good concept as well! +1 from me :)

Please if you have some time, feel free to check out my greenlight project as well:
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=711826354&result=1

Thank you! Have a nice day
bigdogmat  [tác giả] 26 Thg06, 2016 @ 1:12am 
I create the best images :ss13ok: