WarCraft: Source

 

Drop

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

Drop


 A simple command which forces the user to drop his weapon.

 

The corerct syntax is:

 

wcs.Command(<userid>).Drop()

 

  • Userid - The user who is forced to drop his gun


Example:

 

def player_hurt(ev):

    wcs.Command(ev['userid']).Drop()

Comments (0)

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