WarCraft: Source

 

Drunk

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

Drunk


A command to make a player drunk for a specefied time

 

The correct syntax is:

 

wcs.Command(<userid>).Drunk([optional: Time])

 

  • Userid - The userid you select to be drunk
  • Optional: TIme - The time you wish the user to stay drunk for. If you don't select this option, the player will stay drunk till the end of the round


Example:

 

def player_hurt(ev):

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

    player.Drunk(15)

Comments (0)

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