Skip to content

Instantly share code, notes, and snippets.

@Tustin
Created December 9, 2016 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tustin/ea7f5309676d321b7642ff1ed7fc653d to your computer and use it in GitHub Desktop.
Save Tustin/ea7f5309676d321b7642ff1ed7fc653d to your computer and use it in GitHub Desktop.
function draw_insta_kill() {
self.insta_kill_timer = newClientHudElem(self);
self.insta_kill_timer.horzAlign = "center";
self.insta_kill_timer.vertAlign = "bottom";
self.insta_kill_timer.alignX = "center";
self.insta_kill_timer.alignY = "bottom";
self.insta_kill_timer.alpha = 1;
self.insta_kill_timer.fontScale = 1.8;
self.insta_kill_timer setText("Insta-kill: " + Int(level.zombie_vars[self.team]["zombie_insta_kill_time"]));
return self.insta_kill_timer;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment