| 1 | --[[ |
| 2 | Copyright (C) 2014 HarpyWar ([email protected]) |
| 3 | |
| 4 | This file is a part of the PvPGN Project http://pvpgn.pro |
| 5 | Licensed under the same terms as Lua itself. |
| 6 | ]]-- |
| 7 | |
| 8 | |
| 9 | -- Send announce to all connected users |
| 10 | function message_send_all(text) |
| 11 | for i,account in pairs(api.server_get_users()) do |
| 12 | api.message_send_text(account.name, message_type_broadcast, nil, text) |
| 13 | end |
| 14 | end |
| 15 | |
| 16 | function localize(username, arg1, arg2, arg3, arg4, arg5) |
| 17 | return api.localize(username, arg1, arg2, arg3, arg4, arg5) |
| 18 | end |