Move update nametag to SS client.js
This commit is contained in:
@@ -150,4 +150,10 @@ addNetworkHandler("ag.veh.sync", function(client, syncId, position, heading) {
|
||||
//}
|
||||
});
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
function updatePlayerNameTag(client) {
|
||||
triggerNetworkEvent("ag.nametag", null, client.name, getPlayerNameForNameTag(client), getPlayerColour(client), false, client.ping);
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user