Sync skin on job uniform change

This commit is contained in:
Vortrex
2020-12-27 22:34:44 -06:00
parent a030bcaac7
commit 812462b0ea

View File

@@ -573,7 +573,7 @@ function jobUniformCommand(command, params, client) {
} }
messageClientSuccess(client, `You put on the ${uniforms[uniformId-1].name} uniform`); messageClientSuccess(client, `You put on the ${uniforms[uniformId-1].name} uniform`);
triggerNetworkEvent("ag.skin", client, uniforms[uniformId-1].skin); triggerNetworkEvent("ag.pedskin", null, client.player, uniforms[uniformId-1].skin);
} }
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------