WarCraft: Source

 

Commands

Page history last edited by Jeff 1 yr ago

Commands 

 


 

All commands are called by the code: wcs.Command(<userid>).<command>(<value>).

A short way to do this is:

 

Player = wcs.Commands(<userid>)

Player.<command>(<value>)

For example: Player.Freeze(1.0)

 

 


 

Ammo

AmmoAdd

AreaRegen

AreaDamage

Armor

ArmorAdd

Blind

BlockUlti

BlockAbil

Burn

Clip

ClipAdd

ChangeGravity

Color

Damage

Delayed

Drain

Drop

Drug

Drunk

Fade

Freeze

GetCoolDown

GetLevel

GetNearCoordList

GetNextXp

GetTeleSafe

GetViewAngles

GetViewCoord

GetViewPlayer

GetViewProp

GetWallBetween

GetXp

GiveLevel

GiveXp

God

Heal

Health

HealthAdd

IsDead

ModDict

Model

Near

NearCoord

Push

PushTo

Regen

ReturnDict

SetCoolDown

SetGravity

Shake

Spawn

Speed

SpeedAdd

UpdateDict

ViewCone


 

 Registering commands

All the following commands begin with the command.... wcs.Race('Your race name')...

 


registerSkill

registerUltimate

registerTeam

registerWeaponRestriction

registerMinLevel

registerMaxLevel

registerSteamid

registerTeamLimit


 

 

Comments (0)

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