Send some locale strings to client for labels
This commit is contained in:
@@ -1196,4 +1196,13 @@ function tellPlayerToSpawn(client, skinId, position) {
|
||||
sendNetworkEventToPlayer("vrr.spawn", client, skinId, position);
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
|
||||
function sendPlayerLocaleStrings(client) {
|
||||
let strings = getServerConfig().locale.sendStringsToClient;
|
||||
for(let i in strings) {
|
||||
sendNetworkEventToPlayer("vrr.localeString", client, i, getLocaleString(client, strings[i]));
|
||||
}
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
Reference in New Issue
Block a user