WarCraft: Source

 

Spawn

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

Spawn


This command does what it says on the tin; respawns the player.

 

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

 

  • Userid - The player to spawn

 


 

Example:

 

def player_death(ev):

    gamethread.delayed(5,wcs.Command(ev['userid']).Spawn)

    # Spawn the player 5 seconds after he died

 

Comments (0)

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