WarCraft: Source

 

Drug

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

Drug


 A command to drug up the user selected.

 

The correct syntax is:

 

wcs.Command(userid).Drug([optional:time])

 

  • Userid - The person you want to drug up
  • Optional: Time - If no time is selected, the user will stay drugged till the end of the round. If you want a user to be dugged for a certain time, just input the value

Examples:

 

def player_hurt(ev):

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

    player.Drug(10)

Comments (0)

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