Block Ultimate
This command blocks a user from using his ultimate from a certain amount of time.
The correct syntax is:
wcs.Command(<userid>).BlockUlti(<time>)
- Userid - The player's ultimate that you'd like to block
- Time - The amount of time to block it... 0 = till the end of the round
Example:
def player_spawn(ev):
ident = '#t'
if ev['es_userteam'] == '2': ident = '#ct'
wcs.Command(ev['userid']).Near(1000,BlockUltimate,ident)
def BlockUltimate(userid, attacker):
wcs.Command(userid).BlockUlti(30)
# Block enemie's ultimate in 1000 game units when the player spawns
Comments (0)
You don't have permission to comment on this page.