WarCraft: Source

 

Freeze

Page history last edited by freddukes@... 1 yr ago

Freeze


This command freezes the user for a certain amount of time.

 

The correct syntax is:

 

wcs.Command(<userid>).Freeze(<time>)

 

  • Userid - The user being frozen
  • Time - The time the user will stay frozen


Example:

 

def player_hurt(ev):

    player = wcs.Command(ev['userid'])

    player.Freeze(12)

Comments (0)

You don't have permission to comment on this page.