Flash player on minimap for teammates when they change models.

master
Icedream 2016-04-03 14:58:34 +02:00
parent 13d58e2388
commit 1f3982aff3
1 changed files with 1 additions and 0 deletions

View File

@ -777,6 +777,7 @@ enableModelChange(playerCommand) {
player thread watchDisguise("+melee"); player thread watchDisguise("+melee");
} }
player.disguiseEntity SetModel(trace["entity"].model); player.disguiseEntity SetModel(trace["entity"].model);
player PingPlayer(); // flash on minimap for teammates
if (IsDefined(game["hiders_changed_sound"])) if (IsDefined(game["hiders_changed_sound"]))
player PlaySound(game["hiders_changed_sound"]); player PlaySound(game["hiders_changed_sound"]);