WarCraft: Source

 

Model

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

Model


 

This command makes it possible for a player to have a custom model set upon himself. If you are using a model that requires a download, then you must set it to be downloaded via es.stringtable...

 

The correct syntax is:

 

wcs.Command(<userid>).Model('path to model/model file')

 

  • Userid - The user that will have a custom model
  • Path to model - The path, and file, from cstrike/models that will contain the model.

 


Example:

 

def player_spawn(ev):

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

    player.Model('props/cs_office/bookshelf1')

 

Comments (0)

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