December 10, 2018, 08:45:25 AM

Author Topic: [SM Plugin][CS:GO] Ultimate Countdown HUD  (Read 265 times)

Offline Hojjke

  • Level 4 Intermediate
  • ****
  • Posts: 91
  • Country: ru
  • I <3 WCS :)
[SM Plugin][CS:GO] Ultimate Countdown HUD
« on: September 18, 2018, 02:39:36 PM »
Greets, made a little plugin and decided to share it with you :p

About plug: simply made timer on sm with showing ultimate cd seconds left in the hud

Preview:


Installation:
1. Put wcs_ult.smx into your addons/sourcemod/plugins folder
2. Add this into your wcs.py
Search for
Code: [Select]
if not downtime or (timed - cooldown >= downtime):
Add this
Code: [Select]
queue_command_string('wcs_ultileft %s %i' % (userid, downtime))after line
Code: [Select]
settings = race1[skill]['setting'].split('|')[level-1]
So it should be like that
Code: [Select]
if race1[skill]['setting']:
try:
if race1[skill]['setting'].split('|')[level-1]:
settings = race1[skill]['setting'].split('|')[level-1]
queue_command_string('wcs_ultileft %s %i' % (userid, downtime))
if ';' in settings:
sub_settings = settings.split(';')
for com in sub_settings:
execute_server_command('es', com)
3. Put ultrdy.mp3 into the sound/wcs folder
4. Enjoy!

« Last Edit: September 18, 2018, 04:14:46 PM by Hojjke »