Game Script Methods (BO2)
Player Methods
| Name | Prototype | Description |
|---|---|---|
| giveweapon | void giveweapon( string, int, int ) | Gives a weapon to the specified client with an optional argument for camo and attachments. ex: self giveweapon("mp7_mp", 255, 0) A full list containing all the weapon names can be found here http://pastebin.com/wEq07Yzw |
| updateweaponoptions | void updateweaponoptions( string, int ) | |
| setblockweaponpickup | void setblockweaponpickup( string, int ) | |
| calcweaponoptions | int calcweaponoptions( int, int, int, int, int ) | |
| calcplayeroptions | int calcplayeroptions( int ) | |
| setplayerrenderoptions | void setplayerrenderoptions( int ) | |
| nextplayerrenderoption | void nextplayerrenderoption( string ) | |
| bbclasschoice | void bbclasschoice( int, string, string ) | |
| sethighlighted | void sethighlighted() | |
| takeweapon | void takeweapon( string ) | Takes a the first occurrence of the specified weapon on a client. ex: self takeweapon("mp7_mp") |
| isthrowinggrenade | bool isthrowinggrenade() | Returns true if the specified client is throwing a grenade. ex: if(self isthrowinggrenade()) { /*do magic..*/ } |
| forcegrenadethrow | void forcegrenadethrow() | Forces the specified client to throw a grenade. ex: self forcegrenadethrow() |
| isfiring | bool isfiring() | Returns true if the specified client is firing. ex: if(self isfiring()) { /*do magic..*/ } |
| ismeleeing | bool ismeleeing() | Returns true if the specified client is meleeing. ex: if(self ismeleeing()) { /*do magic..*/ } |
| isswitchingweapons | bool isswitchingweapons() | Returns true if the specified client is switching weapons. ex: if (self isswitchingweapons()) { /*do magic..*/ } |
| isreloading | bool isreloading() | Returns true if the specified client is reloading. ex: if (self isreloading()) { /*do magic..*/ } |
| takeallweapons | void takeallweapons() | Takes all weapons on the specified client. ex: self takeallweapons() |
| isinmovemode | bool isinmovemode() | |
| getcurrentweapon | string getcurrentweapon() | Returns the specified clients current held weapon. ex: currentWeapon = self getcurrentweapon() |
| getcurrentweaponspinlerp | float getcurrentweaponspinlerp() | |
| setcurrentweaponspinlerp | void setcurrentweaponspinlerp( float ) | |
| getcurrentweaponaltweapon | string getcurrentweaponaltweapon() | |
| isweaponoverheating | int isweaponoverheating( int ) | Returns 1 if the specified clients slot index is overheating. ex: if (self isweaponoverheating(0)) { /*do magic..*/ } |
| setweaponoverheating | void setweaponoverheating( int, float ) | Sets the specified clients slot index overheat to a percentage. ex: self setweaponoverheating(0, 99) |
| getcurrentoffhand | string getcurrentoffhand() | Returns the specified offhand weapon. ex: offhandWeapon = self getcurrentoffhand() |
| isusingoffhand | bool isusingoffhand() | Returns true if the specified client is using their offhand weapon. ex: if (self isusingoffhand()) { /*do magic..*/ } |
| forceoffhandend | void forceoffhandend() | Forces the specified client to use their offhand weapon. ex: self forceoffhandend() |
| hasweapon | bool hasweapon( string ) | Returns true if the specified client has the specified weapon. ex: if (self hasweapon("mp7_mp")) { /*do magic..*/ } |
| switchtoweapon | void switchtoweapon() | |
| switchtoweaponimmediate | void switchtoweaponimmediate() | |
| switchtooffhand | bool switchtooffhand( string ) | |
| weaponplayejectbrass | void weaponplayejectbrass() | |
| getlockonradius | int getlockonradius() | |
| getlockonspeed | int getlockonspeed() | |
| givestartammo | void givestartammo( string ) | Sets the specified clients' specified weapon to the starting ammo. ex: self givestartammo("mp7_mp") |
| givemaxammo | void givemaxammo( string ) | Gives the specified clients' specified weapon max ammo. ex: self givemaxammo("mp7_mp") |
| getfractionstartammo | float getfractionstartammo( string ) | Returns a float of the specified weapons start ammo. ex: mp7StartAmmo = self getfractionstartammo("mp7_mp") |
| getfractionmaxammo | float getfractionmaxammo( string ) | Returns a float of the specified weapons max ammo. ex: mp7MaxAmmo = self getfractionmaxammo("mp7_mp") |
| setweaponheatpercent | void setweaponheatpercent( string, float ) | |
| setorigin | void setorigin( vector ) | |
| setvelocity | void setvelocity( vector ) | |
| setplayerangles | void setplayerangles( vector ) | |
| getplayerangles | vector getplayerangles() | |
| getgunangles | vector getgunangles() | |
| getplayercamerapos | vector getplayercamerapos() | |
| cameraactivate | void cameraactivate( int ) | |
| camerasetposition | void camerasetposition( vector, vector ) | |
| camerasetlookat | void camerasetlookat( entity, vector ) | |
| gamepadusedlast | void gamepadusedlast() | |
| usebuttonpressed | int usebuttonpressed() | |
| changeseatbuttonpressed | int changeseatbuttonpressed() | |
| attackbuttonpressed | int attackbuttonpressed() | |
| actionslotonebuttonpressed | int actionslotonebuttonpressed() | |
| actionslottwobuttonpressed | int actionslottwobuttonpressed() | |
| actionslotthreebuttonpressed | int actionslotthreebuttonpressed() | |
| actionslotfourbuttonpressed | int actionslotfourbuttonpressed() | |
| adsbuttonpressed | int adsbuttonpressed() | |
| throwbuttonpressed | int throwbuttonpressed() | |
| meleebuttonpressed | int meleebuttonpressed() | |
| jumpbuttonpressed | int jumpbuttonpressed() | |
| stancebuttonpressed | int stancebuttonpressed() | |
| fragbuttonpressed | int fragbuttonpressed() | |
| secondaryoffhandbuttonpressed | int secondaryoffhandbuttonpressed() | |
| inventorybuttonpressed | int inventorybuttonpressed() | |
| sprintbuttonpressed | int sprintbuttonpressed() | |
| sprintuprequired | void sprintuprequired() | |
| playerads | float playerads() | |
| pingplayer | void pingplayer() | |
| setviewmodel | void setviewmodel( string ) | |
| getviewmodel | conststring getviewmodel() | |
| setoffhandsecondaryclass | void setoffhandsecondaryclass( string ) | |
| getoffhandsecondaryclass | conststring getoffhandsecondaryclass() | |
| setoffhandprimaryclass | string setoffhandprimaryclass( string ) | |
| beginlocationselection | void beginlocationselection() | |
| beginlocationairstrikeselection | void beginlocationairstrikeselection() | |
| beginlocationmortarselection | void beginlocationmortarselection() | |
| beginlocationartilleryselection | void beginlocationartilleryselection() | |
| beginlocationcomlinkselection | void beginlocationcomlinkselection() | |
| beginlocationnapalmselection | void beginlocationnapalmselection() | |
| endlocationselection | void endlocationselection() | |
| clientsyssetstate | void clientsyssetstate( int, string ) | |
| weaponlockstart | void weaponlockstart( entity ) | |
| weaponlockfinalize | void weaponlockfinalize( entity ) | |
| weaponlockfree | void weaponlockfree() | |
| weaponlocktargettooclose | void weaponlocktargettooclose( int ) | |
| weaponlocknoclearance | void weaponlocknoclearance( int ) | |
| buttonpressed | void buttonpressed() | |
| giveweaponnextattachment | void giveweaponnextattachment() | |
| givenextbaseweapon | void givenextbaseweapon() | |
| getnormalizedmovement | void getnormalizedmovement() | |
| getnormalizedcameramovement | void getnormalizedcameramovement() | |
| sayall | void sayall() | |
| sayteam | void sayteam() | |
| setspawnweapon | void setspawnweapon( string ) | |
| initialweaponraise | void initialweaponraise( string ) | |
| seteverhadweaponall | void seteverhadweaponall( int ) | |
| dropitem | void dropitem( string, constlowercasestring ) | |
| dropscavengeritem | void dropscavengeritem( string ) | |
| hasagrenadepulledback | int hasagrenadepulledback() | |
| finishplayerdamage | bool finishplayerdamage( entity, entity, int, string, vector, vector, conststring, int, int ) | |
| finishmeleehit | void finishmeleehit( entity, string, vector, vector, int, int, int ) | |
| reviveplayer | void reviveplayer() | |
| undolaststand | void undolaststand() | |
| suicide | void suicide() | |
| turnedhuman | void turnedhuman() | |
| isinvehicle | bool isinvehicle() | |
| isremotecontrolling | bool isremotecontrolling() | |
| isweaponviewonlylinked | bool isweaponviewonlylinked() | |
| allowstand | int allowstand( int ) | |
| allowcrouch | int allowcrouch( int ) | |
| allowprone | int allowprone( int ) | |
| allowlean | int allowlean( int ) | |
| getvehicleoccupied | entity getvehicleoccupied() | |
| getfriendlies | array getfriendlies( int ) | |
| getenemies | array getenemies( int ) | |
| openmenu | int openmenu( string ) | |
| openmenunomouse | int openmenunomouse( string ) | |
| closemenu | void closemenu() | |
| closeingamemenu | void closeingamemenu() | |
| freezecontrols | void freezecontrols( int ) | |
| freezecontrolsallowlook | void freezecontrolsallowlook( int ) | |
| arecontrolsfrozen | int arecontrolsfrozen() | |
| disableusability | void disableusability() | |
| enableusability | void enableusability() | |
| disableweapons | void disableweapons() | |
| enableweapons | void enableweapons() | |
| disabledeathstreak | void disabledeathstreak() | |
| enabledeathstreak | void enabledeathstreak() | |
| deathstreakactive | int deathstreakactive() | |
| disableoffhandweapons | void disableoffhandweapons() | |
| enableoffhandweapons | void enableoffhandweapons() | |
| disableweaponcycling | void disableweaponcycling() | |
| enableweaponcycling | void enableweaponcycling() | |
| revive | void revive() | |
| setlaststandprevweap | void setlaststandprevweap( string ) | |
| setreverb | void setreverb() | |
| deactivatereverb | void deactivatereverb() | |
| setchannelvolumes | void setchannelvolumes() | |
| deactivatechannelvolumes | void deactivatechannelvolumes() | |
| setweaponammoclip | int setweaponammoclip( string, int ) | |
| setweaponammostock | void setweaponammostock( string, int ) | |
| getweaponammoclip | int getweaponammoclip( string ) | |
| getweaponammostock | int getweaponammostock( string ) | |
| anyammoforweaponmodes | int anyammoforweaponmodes( string ) | |
| iprintln | void iprintln() | |
| iprintlnbold | void iprintlnbold() | |
| spawn | void spawn( vector, vector ) | |
| setentertime | void setentertime( int ) | |
| cloneplayer | void cloneplayer( int ) | |
| setclientfov | void setclientfov() | |
| setclientthirdperson | void setclientthirdperson( int ) | |
| setclientthirdpersonangle | void setclientthirdpersonangle() | |
| setclientcompass | void setclientcompass() | |
| setclientscriptmainmenu | void setclientscriptmainmenu() | |
| setclientcgobjectivetext | void setclientcgobjectivetext() | |
| setclientplayersprinttime | void setclientplayersprinttime() | |
| setclientnumlives | void setclientnumlives() | |
| setclientdrawtalk | void setclientdrawtalk() | |
| setclientammocounterhide | void setclientammocounterhide() | |
| setclientminiscoreboardhide | void setclientminiscoreboardhide() | |
| setclienthudhardcore | void setclienthudhardcore() | |
| setclientplayerpushamount | void setclientplayerpushamount() | |
| setclientaimlockonpitchstrength | void setclientaimlockonpitchstrength() | |
| setclientuivisibilityflag | void setclientuivisibilityflag( string, int ) | |
| setclientprofilevar | void setclientprofilevar( string, string ) | |
| playclientairstrike | void playclientairstrike( vector, int, string, string, int, string, int ) | |
| playclientnapalm | void playclientnapalm( vector, int, string, string, int, string, int ) | |
| setcurrentspectatorclient | void setcurrentspectatorclient( entity ) | |
| relinktoturret | void relinktoturret( entity ) | |
| carryturret | void carryturret( entity, vector, vector ) | |
| stopcarryturret | void stopcarryturret( entity, vector, vector ) | |
| iscarryingturret | bool iscarryingturret() | |
| canplayerplaceturret | array canplayerplaceturret( entity ) | |
| setplacementhint | void setplacementhint( int ) | |
| linkguidedmissilecamera | void linkguidedmissilecamera() | |
| unlinkguidedmissilecamera | void unlinkguidedmissilecamera() | |
| gpsjammeractive | void gpsjammeractive() | |
| gpsjammerinactive | void gpsjammerinactive() | |
| spawnprotectionactive | void spawnprotectionactive() | |
| spawnprotectioninactive | void spawnprotectioninactive() | |
| dualgrenadesactive | void dualgrenadesactive() | |
| dualgrenadesinactive | void dualgrenadesinactive() | |
| linktomissile | void linktomissile( entity, int ) | |
| unlinkfrommissile | void unlinkfrommissile() | |
| canplaceriotshield | array canplaceriotshield( conststring ) | |
| setheldweaponmodel | void setheldweaponmodel( int ) | |
| setriotshieldfailhint | void setriotshieldfailhint() | |
| canplayerplacevehicle | array canplayerplacevehicle( float, float, float, float, float, float ) | |
| remotecontrolturret | void remotecontrolturret( entity ) | |
| remotecontrolturretoff | void remotecontrolturretoff( entity ) | |
| recordkillstreakevent | void recordkillstreakevent( int ) | |
| recordkillstreakendevent | void recordkillstreakendevent( int ) | |
| recordgameevent | void recordgameevent( string ) | |
| recordkillmodifier | void recordkillmodifier( string ) | |
| recordmedal | void recordmedal( string ) | |
| recordloadoutandperks | void recordloadoutandperks() | |
| recordloadoutperksandkillstreaks | void recordloadoutperksandkillstreaks( string, string, string, string, int, int, int ) | |
| recordmultikill | void recordmultikill( int ) | |
| incrementlifestat | void incrementlifestat() | |
| incrementplayerstat | void incrementplayerstat( string, int ) | |
| recordplayerdeathzombies | void recordplayerdeathzombies() | |
| recordplayerdownzombies | void recordplayerdownzombies( string ) | |
| recordplayerrevivezombies | void recordplayerrevivezombies( entity ) | |
| recordzombiezone | void recordzombiezone( string, string ) | |
| islookingat | int islookingat( entity ) | |
| playlocalsound | void playlocalsound( string ) | |
| stoplocalsound | void stoplocalsound( string ) | |
| istalking | int istalking() | |
| allowspectateteam | void allowspectateteam( team, int ) | |
| getguid | int getguid() | |
| getxuid | string getxuid() | |
| ishost | int ishost() | |
| islocaltohost | int islocaltohost() | |
| allowads | int allowads( int ) | |
| allowjump | int allowjump( int ) | |
| allowsprint | int allowsprint( int ) | |
| allowmelee | int allowmelee( int ) | |
| forceslick | int forceslick( int ) | |
| setsprintduration | void setsprintduration( float ) | |
| setsprintcooldown | void setsprintcooldown( float ) | |
| setspreadoverride | void setspreadoverride( int ) | |
| resetspreadoverride | void resetspreadoverride() | |
| setactionslot | void setactionslot( int, string, string ) | |
| getinventoryweapon | string getinventoryweapon() | |
| setinventoryweapon | void setinventoryweapon( string ) | |
| getweaponslist | array getweaponslist( int ) | |
| getweaponslistprimaries | array getweaponslistprimaries() | |
| startrevive | void startrevive() | |
| stoprevive | void stoprevive() | |
| applyknockback | void applyknockback( int, vector ) | |
| setperk | void setperk( string ) | |
| hasperk | bool hasperk( string ) | |
| getperks | array getperks() | |
| clearperks | void clearperks() | |
| unsetperk | void unsetperk( string ) | |
| setrank | void setrank( int, int ) | |
| enableinvulnerability | void enableinvulnerability() | |
| disableinvulnerability | void disableinvulnerability() | |
| enableafterlife | void enableafterlife() | |
| disableafterlife | void disableafterlife() | |
| addgoal | bool addgoal( vector, float, int, conststring, conststring ) | |
| cancelgoal | void cancelgoal( conststring ) | |
| atgoal | bool atgoal( conststring ) | |
| hasgoal | bool hasgoal( conststring ) | |
| getgoal | vector getgoal( conststring ) | |
| pressusebutton | void pressusebutton( float ) | |
| pressattackbutton | void pressattackbutton( int ) | |
| pressdtpbutton | void pressdtpbutton() | |
| throwgrenade | bool throwgrenade( string, vector ) | |
| getlookaheaddist | float getlookaheaddist() | |
| getlookaheaddir | vector getlookaheaddir() | |
| lookat | void lookat( vector ) | |
| clearlookat | void clearlookat() | |
| allowattack | void allowattack( int ) | |
| pressads | void pressads( int ) | |
| pressmelee | void pressmelee() | |
| getthreats | array getthreats( float ) | |
| predictposition | vector predictposition( entity, int ) | |
| botsighttracepassed | bool botsighttracepassed( entity, vector ) | |
| botsetfailsa | void botsetfailsa( pathnode ) | |
| botsetdefaultclass | void botsetdefaultclass( int, string ) | |
| botclassadditem | void botclassadditem( int, string ) | |
| botclasssetweaponoption | void botclasssetweaponoption( int, int, string, int ) | |
| botclassaddattachment | void botclassaddattachment( int, string, string, string ) | |
| botleavegame | void botleavegame() | |
| issplitscreen | int issplitscreen() | |
| isplayeronsamemachine | int isplayeronsamemachine( entity ) | |
| playerknockback | void playerknockback( int ) | |
| getplayerviewheight | float getplayerviewheight() | |
| ishostforbots | void ishostforbots() | |
| murderline | void murderline( vector, vector, string ) | |
| setoffhandvisible | void setoffhandvisible( int ) | |
| fakedamagefrom | void fakedamagefrom( vector ) | |
| getsnapshotackindex | int getsnapshotackindex() | |
| getleagueteamid | string getleagueteamid() |
Script Entity Methods
| Name | Prototype | Description |
|---|---|---|
| moveto | void moveto( vector ) | |
| movex | void movex( float ) | |
| movey | void movey( float ) | |
| movez | void movez( float ) | |
| movegravity | void movegravity( vector, float ) | |
| moveslide | void moveslide( vector, float, vector ) | |
| stopmoveslide | void stopmoveslide() | |
| rotateto | void rotateto( vector ) | |
| rotatepitch | void rotatepitch( float ) | |
| rotateyaw | void rotateyaw( float ) | |
| rotateroll | void rotateroll( float ) | |
| devaddpitch | void devaddpitch( float ) | |
| devaddyaw | void devaddyaw( float ) | |
| devaddroll | void devaddroll( float ) | |
| vibrate | void vibrate( vector, float, float, float ) | |
| rotatevelocity | void rotatevelocity( vector ) | |
| solid | void solid() | |
| notsolid | void notsolid() | |
| setcandamage | void setcandamage( int ) | |
| physicslaunch | void physicslaunch( vector, vector ) | |
| setcheapflag | void setcheapflag( int ) | |
| ignorecheapentityflag | void ignorecheapentityflag( int ) |
Script Vehicle Methods
| Name | Prototype | Description |
|---|---|---|
| attachpath | void attachpath( entityref ) | |
| vehgetmodel | string vehgetmodel() | |
| getattachpos | array getattachpos( entityref ) | |
| startpath | void startpath() | |
| drivepath | entitynum drivepath( int ) | |
| pathmove | void pathmove( vector, vector, vector ) | |
| pathmoveclear | void pathmoveclear() | |
| pathfixedoffset | void pathfixedoffset( vector ) | |
| pathfixedoffsetclear | void pathfixedoffsetclear() | |
| pathvariableoffset | void pathvariableoffset( vector, float ) | |
| pathvariableoffsetclear | void pathvariableoffsetclear() | |
| getpathfixedoffset | vector getpathfixedoffset() | |
| getpathvariableoffset | vector getpathvariableoffset() | |
| setdrivepathphysicsscale | void setdrivepathphysicsscale( float ) | |
| setswitchnode | void setswitchnode( entityref, entityref ) | |
| setspeed | void setspeed( float, float, float ) | |
| setspeedimmediate | void setspeedimmediate( float, float, float ) | |
| getspeed | float getspeed() | |
| getspeedmph | float getspeedmph() | |
| getgoalspeedmph | float getgoalspeedmph() | |
| setbrake | void setbrake( float ) | |
| getbrake | float getbrake() | |
| gethandbrake | float gethandbrake() | |
| getscriptbrake | float getscriptbrake() | |
| setacceleration | void setacceleration( float ) | |
| setdeceleration | void setdeceleration( float ) | |
| resumespeed | void resumespeed( float ) | |
| setyawspeed | void setyawspeed( float, float, float, float ) | |
| setmaxpitchroll | void setmaxpitchroll( float, float ) | |
| setturningability | void setturningability( float ) | |
| setjitterparams | void setjitterparams( vector, float, float ) | |
| setairresistance | void setairresistance( float ) | |
| getsteering | float getsteering() | |
| getthrottle | float getthrottle() | |
| setphysangles | void setphysangles( vector ) | |
| sethoverparams | void sethoverparams( float, float, float ) | |
| joltbody | void joltbody( vector, float, float, float ) | |
| freevehicle | void freevehicle() | |
| getwheelsurface | string getwheelsurface( conststring ) | |
| getvehicleowner | entity getvehicleowner() | |
| isvehicleusable | int isvehicleusable() | |
| makevehicleusable | void makevehicleusable() | |
| makevehicleunusable | void makevehicleunusable() | |
| usevehicle | void usevehicle( entity, int, int ) | |
| setviewclamp | void setviewclamp( entity, float, float, float, float ) | |
| resetviewclamp | void resetviewclamp( entity, entity ) | |
| setvehiclelookattext | void setvehiclelookattext( conststring, constistring ) | |
| setneargoalnotifydist | void setneargoalnotifydist( float ) | |
| setvehgoalpos | bool setvehgoalpos( vector, int, int, int ) | |
| clearvehgoalpos | void clearvehgoalpos() | |
| setplanegoalpos | void setplanegoalpos( float, vector ) | |
| setplanebarrelroll | void setplanebarrelroll( int, float ) | |
| setgoalyaw | void setgoalyaw( float ) | |
| cleargoalyaw | void cleargoalyaw() | |
| settargetyaw | void settargetyaw( float ) | |
| cleartargetyaw | void cleartargetyaw() | |
| setlookatent | void setlookatent( entity ) | |
| clearlookatent | void clearlookatent() | |
| takeplayercontrol | void takeplayercontrol() | |
| returnplayercontrol | void returnplayercontrol() | |
| setturrettargetvec | void setturrettargetvec( vector ) | |
| setturrettargetent | void setturrettargetent( entity, vector ) | |
| clearturrettarget | void clearturrettarget() | |
| setgunnertargetvec | void setgunnertargetvec( vector, int ) | |
| getgunnertargetvec | vector getgunnertargetvec( int ) | |
| setgunnertargetent | void setgunnertargetent( entity, vector, int ) | |
| cleargunnertarget | void cleargunnertarget( int ) | |
| setgunnerturretontargetrange | void setgunnerturretontargetrange( int, float ) | |
| getgunnertargetent | entity getgunnertargetent( int ) | |
| getgunneranimpitch | float getgunneranimpitch( int ) | |
| getgunneranimyaw | float getgunneranimyaw( int ) | |
| setvehweapon | void setvehweapon( string ) | |
| fireweapon | entity fireweapon( entity, vector ) | |
| firegunnerweapon | entity firegunnerweapon( int, entity ) | |
| stopfireweapon | void stopfireweapon() | |
| isturretready | int isturretready() | |
| setvehmaxspeed | void setvehmaxspeed( float ) | |
| getvehoccupants | array getvehoccupants() | |
| getseatoccupant | entity getseatoccupant( int ) | |
| getoccupantseat | int getoccupantseat( entity ) | |
| setseatoccupied | void setseatoccupied( int, int ) | |
| seatgetweapon | string seatgetweapon( int ) | |
| getseatfiringorigin | vector getseatfiringorigin( int ) | |
| getseatfiringangles | vector getseatfiringangles( int ) | |
| isgunnerfiring | bool isgunnerfiring( int ) | |
| disablegunnerfiring | void disablegunnerfiring( int, int ) | |
| finishvehicledamage | entity finishvehicledamage( entity, entity, int, string, vector, vector, conststring, int, int, int, conststring, int ) | |
| finishvehicleradiusdamage | void finishvehicleradiusdamage( entity, entity, float, float, int, string, vector, float, float, vector, int ) | |
| isvehicleimmunetodamage | bool isvehicleimmunetodamage( int, string, string ) | |
| setdefaultpitch | void setdefaultpitch( float ) | |
| cleardefaultpitch | void cleardefaultpitch() | |
| getangularvelocity | vector getangularvelocity() | |
| setangularvelocity | void setangularvelocity( vector ) | |
| setvehvelocity | void setvehvelocity( vector ) | |
| cancelaimove | void cancelaimove() | |
| setvehicletype | void setvehicletype( string ) | |
| getphysacceleration | vector getphysacceleration() | |
| setphysacceleration | void setphysacceleration( vector ) | |
| drawtrajectory | void drawtrajectory() | |
| setrotorspeed | void setrotorspeed( float ) | |
| getmaxspeed | float getmaxspeed( int ) | |
| setmantleena | void setmantleena( int ) | |
| setvehicleavoidance | void setvehicleavoidance( int, float, int ) | |
| getvehicleavoidance | int getvehicleavoidance() | |
| vehcansee | bool vehcansee( entity, int ) | |
| vehseenrecently | bool vehseenrecently( entity, float ) | |
| vehclearenemy | void vehclearenemy() | |
| vehs | void vehs( entity, float ) | |
| vehclearentitytarget | void vehclearentitytarget() | |
| getturretheatvalue | float getturretheatvalue( int ) | |
| isvehicleturretoverheating | bool isvehicleturretoverheating( int ) | |
| setpathtransitiontime | void setpathtransitiontime( float ) | |
| getvehicleavoidancenodes | array getvehicleavoidancenodes( float ) | |
| makesentient | void makesentient() |
Hud Element Methods
| Name | Prototype | Description |
|---|---|---|
| settext | void settext() | |
| clearalltextafterhudelem | void clearalltextafterhudelem() | |
| setshader | void setshader( string, int, int ) | |
| settargetent | void settargetent( entity, entity ) | |
| cleartargetent | void cleartargetent() | |
| settimer | void settimer( float ) | |
| settimerup | void settimerup( float ) | |
| settenthstimer | void settenthstimer( float ) | |
| settenthstimerup | void settenthstimerup( float ) | |
| setclock | void setclock() | |
| setclockup | void setclockup() | |
| setvalue | void setvalue( float ) | |
| setwaypoint | void setwaypoint( int, string, int, int ) | |
| fadeovertime | void fadeovertime( float ) | |
| scaleovertime | void scaleovertime( float, int, int ) | |
| moveovertime | void moveovertime( float ) | |
| reset | void reset() | |
| destroy | void destroy() | |
| setpulsefx | void setpulsefx( int, int, int ) | |
| setcod7decodefx | void setcod7decodefx( int, int, int ) | |
| setredactfx | void setredactfx( int, int, int, int ) | |
| settypewriterfx | void settypewriterfx( int, int, int ) | |
| gettextwidth | int gettextwidth() | |
| setperks | void setperks( entity, entity ) | |
| setplayernamestring | void setplayernamestring( entity, entity ) | |
| setmapnamestring | void setmapnamestring( string ) | |
| setgametypestring | void setgametypestring( string ) | |
| setwargamedata | void setwargamedata() | |
| changefontscaleovertime | void changefontscaleovertime( float ) |
Helicopter Methods
| Name | Prototype | Description |
|---|---|---|
| freehelicopter | void freehelicopter() | |
| setspeed | void setspeed() | |
| getspeed | float getspeed() | |
| getspeedmph | float getspeedmph() | |
| resumespeed | void resumespeed( float ) | |
| setyawspeed | void setyawspeed( float, float, float, float ) | |
| setmaxpitchroll | void setmaxpitchroll( float, float ) | |
| setturningability | void setturningability( float ) | |
| setairresistance | void setairresistance( float ) | |
| sethoverparams | void sethoverparams( float, float, float ) | |
| setneargoalnotifydist | void setneargoalnotifydist( float ) | |
| setvehgoalpos | bool setvehgoalpos( vector, int, int, int ) | |
| setgoalyaw | void setgoalyaw( float ) | |
| cleargoalyaw | void cleargoalyaw() | |
| settargetyaw | void settargetyaw( float ) | |
| cleartargetyaw | void cleartargetyaw() | |
| setlookatent | void setlookatent( entity ) | |
| clearlookatent | void clearlookatent() | |
| setvehweapon | void setvehweapon( string ) | |
| fireweapon | entity fireweapon( entity, vector ) | |
| stopfireweapon | void stopfireweapon() | |
| setturrettargetvec | void setturrettargetvec( vector ) | |
| setturrettargetent | void setturrettargetent( entity, vector ) | |
| clearturrettarget | void clearturrettarget() | |
| setdamagestage | void setdamagestage( int ) | |
| setheliheightlock | void setheliheightlock( int ) | |
| getheliheightlockheight | float getheliheightlockheight( vector ) | |
| isinsideheliheightlock | int isinsideheliheightlock() | |
| setheightlockoffset | void setheightlockoffset() |
Actor Methods
| Name | Prototype | Description |
|---|---|---|
| startcoverarrival | void startcoverarrival() | |
| starttraversearrival | void starttraversearrival() | |
| melee | entity melee( vector ) | |
| reacquirestep | bool reacquirestep( float ) | |
| findreacquirenode | void findreacquirenode() | |
| getreacquirenode | pathnode getreacquirenode() | |
| usereacquirenode | bool usereacquirenode( pathnode ) | |
| findreacquiredirectpath | void findreacquiredirectpath( int ) | |
| trimpathtoattack | bool trimpathtoattack() | |
| reacquiremove | bool reacquiremove() | |
| findreacquireproximatepath | void findreacquireproximatepath( int ) | |
| flagenemyunattackable | void flagenemyunattackable() | |
| clearpitchorient | void clearpitchorient() | |
| setpitchorient | void setpitchorient() | |
| setlookatanimnodes | void setlookatanimnodes( anim, anim, anim ) | |
| setlookat | void setlookat( vector, float ) | |
| setlookatyawlimits | void setlookatyawlimits( float, float, float ) | |
| stoplookat | void stoplookat( float ) | |
| cansee | bool cansee( entity, int ) | |
| seerecently | bool seerecently( entity, float ) | |
| lastknowntime | int lastknowntime( entity ) | |
| lastknownpos | vector lastknownpos( entity ) | |
| maymovetopoint | int maymovetopoint( vector, int ) | |
| maymovefrompointtopoint | int maymovefrompointtopoint( vector, vector, int ) | |
| teleport | int teleport( vector, vector ) | |
| withinapproxpathdist | float withinapproxpathdist( float ) | |
| ispathdirect | int ispathdirect() | |
| allowedstances | void allowedstances( conststring, conststring, conststring ) | |
| isstanceallowed | int isstanceallowed( conststring ) | |
| traversemode | void traversemode( conststring ) | |
| animmode | void animmode( conststring, int ) | |
| orientmode | void orientmode( conststring, vector, int ) | |
| getorientmode | conststring getorientmode( string ) | |
| getmotionangle | float getmotionangle() | |
| shouldfacemotion | bool shouldfacemotion() | |
| clearmovehistory | void clearmovehistory() | |
| getmovehistoryaverage | vector getmovehistoryaverage() | |
| getanglestolikelyenemypath | vector getanglestolikelyenemypath() | |
| lerpposition | void lerpposition( vector, vector ) | |
| predictoriginandangles | void predictoriginandangles() | |
| predictanim | void predictanim() | |
| gethitenttype | void gethitenttype() | |
| gethityaw | float gethityaw() | |
| getgroundenttype | void getgroundenttype() | |
| isdeflected | int isdeflected() | |
| animcustom | void animcustom( func, func ) | |
| canattackenemynode | int canattackenemynode() | |
| getpathlength | int getpathlength() | |
| calcpathlength | int calcpathlength( vector ) | |
| getnegotiationstartnode | pathnode getnegotiationstartnode() | |
| getnegotiationendnode | pathnode getnegotiationendnode() | |
| canseepathgoal | int canseepathgoal() | |
| checkprone | bool checkprone( vector, float, int ) | |
| pushplayer | void pushplayer( int ) | |
| setgoalnode | void setgoalnode( pathnode ) | |
| setgoalpos | void setgoalpos( vector, vector ) | |
| setgoalentity | void setgoalentity( entity ) | |
| setgoalvolume | void setgoalvolume( entity ) | |
| setgoalvolumeauto | void setgoalvolumeauto( entity ) | |
| getgoalvolume | entity getgoalvolume() | |
| cleargoalvolume | void cleargoalvolume() | |
| setfixednodesafevolume | void setfixednodesafevolume( entity ) | |
| getfixednodesafevolume | entity getfixednodesafevolume() | |
| clearfixednodesafevolume | void clearfixednodesafevolume() | |
| isingoal | bool isingoal( vector ) | |
| setruntopos | void setruntopos( vector ) | |
| clearruntopos | void clearruntopos() | |
| nearnode | bool nearnode( pathnode ) | |
| nearclaimnode | bool nearclaimnode() | |
| nearclaimnodeandangle | bool nearclaimnodeandangle() | |
| atdangerousnode | bool atdangerousnode() | |
| getenemyinfo | void getenemyinfo( entity ) | |
| clearenemy | void clearenemy() | |
| setentitytarget | void setentitytarget( entity, float ) | |
| clearentitytarget | void clearentitytarget() | |
| setpotentialthreat | void setpotentialthreat( float ) | |
| clearpotentialthreat | void clearpotentialthreat() | |
| getperfectinfo | void getperfectinfo( entity ) | |
| setflashbangimmunity | void setflashbangimmunity( int ) | |
| setflashbanged | void setflashbanged( int ) | |
| getflashbangedstrength | float getflashbangedstrength() | |
| isknownenemyinradius | int isknownenemyinradius( vector, float ) | |
| isknownenemyinvolume | int isknownenemyinvolume( entity ) | |
| settalktospecies | void settalktospecies( conststring ) | |
| allowpitchangle | void allowpitchangle( int ) | |
| knockback | void knockback( int ) | |
| getdeltaturnyaw | float getdeltaturnyaw() | |
| finishactordamage | entity finishactordamage( entity, entity, int, string, vector, vector, conststring, int, int ) | |
| calclookaheadpos | array calclookaheadpos( vector, int ) | |
| setengagementmindist | void setengagementmindist() | |
| setengagementmaxdist | void setengagementmaxdist() | |
| isinscriptedstate | bool isinscriptedstate() | |
| meleewithoffset | entity meleewithoffset( vector ) | |
| forceteleport | int forceteleport( vector, vector ) | |
| setentityowner | void setentityowner( entity ) | |
| clearentityowner | void clearentityowner() | |
| setanimstate | void setanimstate( conststring, int ) | |
| setaimanimweights | void setaimanimweights( float, float ) | |
| startscriptedanim | void startscriptedanim() | |
| popaistate | void popaistate() | |
| setanimstatefromasd | int setanimstatefromasd( conststring, conststring, int ) | |
| hasanimstatefromasd | bool hasanimstatefromasd( conststring ) | |
| getanimstatefromasd | conststring getanimstatefromasd() | |
| getanimsubstatefromasd | int getanimsubstatefromasd( conststring, conststring ) | |
| getanimsubstatecountfromasd | int getanimsubstatecountfromasd( conststring ) | |
| getanimfromasd | anim getanimfromasd( conststring, animsindex, animsindex, int ) | |
| getanimlengthfromasd | float getanimlengthfromasd( conststring, int ) | |
| getanimhasnotetrackfromasd | bool getanimhasnotetrackfromasd( conststring, int, conststring ) | |
| setfreecameralockonallowed | void setfreecameralockonallowed( int ) |
Builtin Common Methods
| Name | Prototype | Description |
|---|---|---|
| forceyellowdot | void forceyellowdot( int ) | |
| disableyellowdot | void disableyellowdot( int ) | |
| allowcamerarotation | void allowcamerarotation( int ) | |
| reloadonnunchuk | bool reloadonnunchuk() | |
| reloadonwiiumote | bool reloadonwiiumote() | |
| attach | void attach( string, constlowercasestring, int ) | |
| detach | void detach( string, constlowercasestring ) | |
| detachall | void detachall() | |
| getattachsize | int getattachsize() | |
| getattachmodelname | conststring getattachmodelname( int ) | |
| getattachtagname | conststring getattachtagname( int ) | |
| getattachignorecollision | bool getattachignorecollision( int ) | |
| hidepart | void hidepart( constlowercasestring, string ) | |
| runscriptonent | void runscriptonent() | |
| sendaiscriptvals | void sendaiscriptvals( string, string ) | |
| showpart | void showpart( constlowercasestring, string ) | |
| showallparts | void showallparts() | |
| playsoundtoplayer | void playsoundtoplayer( string ) | |
| getlightcolor | vector getlightcolor() | |
| setlightcolor | void setlightcolor( vector ) | |
| getlightintensity | float getlightintensity() | |
| setlightintensity | void setlightintensity( float ) | |
| getlightradius | float getlightradius() | |
| setlightradius | void setlightradius( float ) | |
| getlightfovinner | float getlightfovinner() | |
| getlightfovouter | float getlightfovouter() | |
| setlightfovrange | void setlightfovrange( float, float ) | |
| getlightexponent | int getlightexponent() | |
| setlightexponent | void setlightexponent( int ) | |
| areallmissionsatscore | bool areallmissionsatscore( int ) | |
| isstartingclassdefault | void isstartingclassdefault() | |
| isstartingclasseraappropriate | void isstartingclasseraappropriate() | |
| getnumchallengescomplete | int getnumchallengescomplete( string ) | |
| hascompletedallgamechallenges | bool hascompletedallgamechallenges() | |
| hasallintel | void hasallintel() | |
| getdstat | string getdstat() | |
| getdstatarraycount | int getdstatarraycount() | |
| setdstat | void setdstat( string, string, int, int, float, float ) | |
| adddstat | void adddstat() | |
| addweaponstat | void addweaponstat( string, int, int ) | |
| addbonuscardstat | void addbonuscardstat( int, string, int ) | |
| getsessstat | void getsessstat() | |
| getsessstatarraycount | void getsessstatarraycount() | |
| setsessstat | void setsessstat() | |
| addsessstat | void addsessstat() | |
| addplayerstat | void addplayerstat( string ) | |
| addplayerstatwithgametype | void addplayerstatwithgametype() | |
| addgametypestat | void addgametypestat() | |
| trackweaponfirenative | void trackweaponfirenative( string, int, int, int ) | |
| updatestatratio | void updatestatratio( string, string, string ) | |
| addrankxp | int addrankxp( string, int ) | |
| addrankxpvalue | void addrankxpvalue( string ) | |
| hasseasonpass | bool hasseasonpass() | |
| setempjammed | void setempjammed( int ) | |
| isempjammed | bool isempjammed() | |
| setspawnerteam | void setspawnerteam( team ) | |
| luinotifyevent | void luinotifyevent() | |
| launch | void launch( vector, vector ) | |
| setmovingplatformenabled | void setmovingplatformenabled( int ) | |
| ismovingplatform | bool ismovingplatform() | |
| setviewmodelrenderflag | void setviewmodelrenderflag( int ) | |
| setdrawinfrared | void setdrawinfrared( int ) | |
| setgpr | void setgpr() | |
| gamehistorystartmatch | void gamehistorystartmatch( int ) | |
| gamehistoryfinishmatch | void gamehistoryfinishmatch( int, int, int, int, int, float ) | |
| unlink | void unlink() | |
| linkto | void linkto() | |
| linktoblendtotag | void linktoblendtotag() | |
| enablelinkto | void enablelinkto() | |
| linktoupdateoffset | void linktoupdateoffset( vector, vector ) | |
| playerlinkto | void playerlinkto() | |
| playerlinktoblend | void playerlinktoblend( entity, constlowercasestring, float, float, float, float, float, float ) | |
| playerlinktodelta | void playerlinktodelta() | |
| playerlinkweaponviewtodelta | void playerlinkweaponviewtodelta() | |
| playerlinktoabsolute | void playerlinktoabsolute( entity, constlowercasestring ) | |
| playercamlinkto | void playercamlinkto( entity, string ) | |
| playercamunlink | void playercamunlink() | |
| lerpviewangleclamp | void lerpviewangleclamp( float, float, float, float, float, float, float ) | |
| setviewangleresistance | void setviewangleresistance() | |
| playerlinkedoffsetenable | void playerlinkedoffsetenable() | |
| playerlinkedoffsetdisable | void playerlinkedoffsetdisable() | |
| playerlinkedsetusebaseangleforviewclamp | void playerlinkedsetusebaseangleforviewclamp( int ) | |
| dontinterpolate | void dontinterpolate() | |
| magicgrenadetype | entity magicgrenadetype( string, vector, vector, float ) | |
| startfadingblur | void startfadingblur( float, float ) | |
| localtoworldcoords | vector localtoworldcoords( vector ) | |
| worldtolocalcoords | vector worldtolocalcoords( vector ) | |
| setturretspinning | void setturretspinning( int ) | |
| attachshieldmodel | void attachshieldmodel() | |
| detachshieldmodel | void detachshieldmodel() | |
| setscriptmoverflag | void setscriptmoverflag( int ) | |
| refreshshieldattachment | void refreshshieldattachment() | |
| setcharacterindex | void setcharacterindex( int ) | |
| useplayerfootsteptable | void useplayerfootsteptable() | |
| setvisionsetforplayer | void setvisionsetforplayer( string, float ) | |
| useservervisionset | void useservervisionset( int ) | |
| setinfraredvision | void setinfraredvision( int ) | |
| getcontrollertype | string getcontrollertype() | |
| setactorweapon | void setactorweapon( string, int ) | |
| resetfov | void resetfov() |
Builtin Methods
| Name | Prototype | Description |
|---|---|---|
| setstowedweapon | void setstowedweapon( string ) | |
| getstowedweapon | string getstowedweapon() | |
| clearstowedweapon | void clearstowedweapon() | |
| getammocount | int getammocount( string ) | |
| setvisibletoplayer | void setvisibletoplayer( entity ) | |
| setinvisibletoplayer | void setinvisibletoplayer( entity, int ) | |
| setvisibletoall | void setvisibletoall() | |
| setinvisibletoall | void setinvisibletoall() | |
| setvisibletoteam | void setvisibletoteam( team ) | |
| setvisibletoallexceptteam | void setvisibletoallexceptteam( team ) | |
| setforcenocull | void setforcenocull() | |
| removeforcenocull | void removeforcenocull() | |
| islinkedto | int islinkedto( entity ) | |
| allowtacticalinsertion | void allowtacticalinsertion( int ) | |
| allowbottargetting | void allowbottargetting( int ) | |
| getlinkedent | entity getlinkedent() | |
| getorigin | vector getorigin() | |
| getangles | vector getangles() | |
| getmins | vector getmins() | |
| getmaxs | vector getmaxs() | |
| getabsmins | vector getabsmins() | |
| getabsmaxs | vector getabsmaxs() | |
| getpointinbounds | vector getpointinbounds( float, float, float ) | |
| geteye | vector geteye() | |
| geteyeapprox | vector geteyeapprox() | |
| useby | entity useby( entity ) | |
| setstablemissile | void setstablemissile( int ) | |
| istouching | int istouching( entity, vector ) | |
| istouchingswept | int istouchingswept( entity, float, float ) | |
| istouchingvolume | int istouchingvolume( vector, vector, vector ) | |
| playsound | void playsound( string ) | |
| playsoundwithnotify | void playsoundwithnotify( string, conststring ) | |
| playsoundontag | void playsoundontag( string, string ) | |
| playsoundasmaster | void playsoundasmaster( string ) | |
| playsoundtoteam | void playsoundtoteam( string, entity ) | |
| playbattlechattertoteam | void playbattlechattertoteam( string, string, team, entity ) | |
| playsoundtoplayer | void playsoundtoplayer( string ) | |
| playloopsound | void playloopsound( string, float ) | |
| stoploopsound | void stoploopsound( float ) | |
| stopsounds | void stopsounds() | |
| playrumbleonentity | void playrumbleonentity() | |
| playrumblelooponentity | void playrumblelooponentity() | |
| stoprumble | void stoprumble( string ) | |
| delete | void delete() | |
| setmodel | void setmodel( string ) | |
| setzombieshrink | void setzombieshrink( int ) | |
| setenemymodel | void setenemymodel( string ) | |
| dodamage | void dodamage( float, vector, entity, entity ) | |
| getnormalhealth | float getnormalhealth() | |
| setnormalhealth | void setnormalhealth( float ) | |
| setmaxhealth | void setmaxhealth( int ) | |
| show | void show() | |
| hide | void hide() | |
| ghost | void ghost() | |
| ghostindemo | void ghostindemo() | |
| showindemo | void showindemo() | |
| laseron | void laseron() | |
| laseroff | void laseroff() | |
| showtoplayer | void showtoplayer( entity ) | |
| setcontents | int setcontents( int ) | |
| startfiring | void startfiring() | |
| stopfiring | void stopfiring() | |
| shootturret | void shootturret() | |
| stopshootturret | void stopshootturret() | |
| setmode | void setmode( conststring ) | |
| getturretowner | entity getturretowner() | |
| settargetentity | void settargetentity( entity ) | |
| getturretarclimits | array getturretarclimits() | |
| setplayerspread | void setplayerspread( float ) | |
| setaispread | void setaispread( float ) | |
| setconvergencetime | void setconvergencetime( float ) | |
| setsuppressiontime | void setsuppressiontime( float ) | |
| cleartargetentity | void cleartargetentity() | |
| setturretteam | void setturretteam( team ) | |
| maketurretusable | void maketurretusable() | |
| maketurretunusable | void maketurretunusable() | |
| setturretaccuracy | void setturretaccuracy() | |
| setturretignoregoals | void setturretignoregoals( int ) | |
| getturrettarget | entity getturrettarget() | |
| disconnectpaths | void disconnectpaths() | |
| connectpaths | void connectpaths() | |
| getstance | conststring getstance() | |
| setstance | void setstance( conststring ) | |
| setcursorhint | void setcursorhint( string, entity ) | |
| setrevivehintstring | void setrevivehintstring( string, team ) | |
| sethintstringforperk | void sethintstringforperk( string, string ) | |
| sethintstring | void sethintstring( string ) | |
| setfovforkillcam | void setfovforkillcam( int ) | |
| sethintlowpriority | void sethintlowpriority( int ) | |
| usetriggerrequirelookat | void usetriggerrequirelookat() | |
| triggerignoreteam | void triggerignoreteam() | |
| shellshock | void shellshock( string, float, int ) | |
| getweaponforwarddir | vector getweaponforwarddir() | |
| getweaponmuzzlepoint | vector getweaponmuzzlepoint() | |
| gettagorigin | vector gettagorigin( constlowercasestring ) | |
| gettagangles | vector gettagangles( constlowercasestring ) | |
| getentnum | void getentnum() | |
| stopshellshock | void stopshellshock() | |
| setdepthoffield | void setdepthoffield( float, float, float, float, float, float ) | |
| setburn | void setburn( float ) | |
| setelectrified | void setelectrified( float ) | |
| spawnnapalmgroundflame | void spawnnapalmgroundflame( vector, string, vector, int ) | |
| needsrevive | void needsrevive( int ) | |
| isinsecondchance | bool isinsecondchance() | |
| depthinwater | float depthinwater() | |
| shootup | void shootup( float ) | |
| depthofplayerinwater | int depthofplayerinwater() | |
| useweaponhidetags | void useweaponhidetags( string ) | |
| useweaponmodel | void useweaponmodel( string, string, int ) | |
| starttanning | void starttanning() | |
| stopburning | void stopburning() | |
| setwaterdrops | void setwaterdrops( int ) | |
| restoredefaultdroppitch | void restoredefaultdroppitch() | |
| isfiringturret | bool isfiringturret() | |
| isturretlockedon | bool isturretlockedon() | |
| setviewmodeldepthoffield | void setviewmodeldepthoffield( float, float ) | |
| viewkick | void viewkick( float, vector ) | |
| localtoworldcoords | vector localtoworldcoords( vector ) | |
| setrightarc | void setrightarc( float ) | |
| setleftarc | void setleftarc( float ) | |
| settoparc | void settoparc( float ) | |
| setbottomarc | void setbottomarc( float ) | |
| radiusdamage | void radiusdamage() | |
| detonate | void detonate( entity ) | |
| damageconetrace | void damageconetrace() | |
| sightconetrace | void sightconetrace() | |
| heliturretsighttrace | int heliturretsighttrace( vector, entity, int ) | |
| heliturretdogtrace | int heliturretdogtrace( vector, entity, int ) | |
| playersighttrace | int playersighttrace( vector, int, int ) | |
| visionsetlerpratio | void visionsetlerpratio( float ) | |
| docowardswayanims | float docowardswayanims() | |
| startpoisoning | void startpoisoning() | |
| stoppoisoning | void stoppoisoning() | |
| startbinocs | void startbinocs() | |
| stopbinocs | void stopbinocs() | |
| isflared | bool isflared() | |
| ispoisoned | bool ispoisoned() | |
| setcameraspikeactive | void setcameraspikeactive( int ) | |
| isinsideheightlock | int isinsideheightlock() | |
| ismissileinsideheightlock | int ismissileinsideheightlock() | |
| isonground | int isonground( int ) | |
| getgroundent | entity getgroundent() | |
| getmoverent | entity getmoverent() | |
| issprinting | int issprinting() | |
| setanim | void setanim() | |
| useanimtree | void useanimtree( animtree ) | |
| animscripted | void animscripted() | |
| animscriptedskiprestart | void animscriptedskiprestart() | |
| animrelative | void animrelative() | |
| stopanimscripted | void stopanimscripted() | |
| clearanim | void clearanim( anim, float ) | |
| setentityanimrate | void setentityanimrate( float ) | |
| getentityanimrate | float getentityanimrate() | |
| getcentroid | vector getcentroid() | |
| ismartyrdomgrenade | bool ismartyrdomgrenade() | |
| getentitynumber | int getentitynumber() | |
| getentitytype | int getentitytype() | |
| enablegrenadetouchdamage | void enablegrenadetouchdamage() | |
| disablegrenadetouchdamage | void disablegrenadetouchdamage() | |
| enableaimassist | void enableaimassist() | |
| disableaimassist | void disableaimassist() | |
| placespawnpoint | void placespawnpoint() | |
| setspawnclientflag | void setspawnclientflag( string ) | |
| directionalhitindicator | void directionalhitindicator( int, int ) | |
| sendkillstreakdamageevent | void sendkillstreakdamageevent( int ) | |
| setplayergravity | void setplayergravity( int ) | |
| clearplayergravity | void clearplayergravity() | |
| sendfaceevent | void sendfaceevent( conststring ) | |
| setteamfortrigger | void setteamfortrigger( team ) | |
| setexcludeteamfortrigger | void setexcludeteamfortrigger( team ) | |
| setperkfortrigger | void setperkfortrigger( string ) | |
| setignoreentfortrigger | void setignoreentfortrigger( entity ) | |
| clientclaimtrigger | void clientclaimtrigger( entity ) | |
| clientreleasetrigger | void clientreleasetrigger( entity ) | |
| releaseclaimedtrigger | void releaseclaimedtrigger() | |
| isitemlocked | int isitemlocked( int ) | |
| isitempurchased | int isitempurchased( int ) | |
| uploadleaderboards | void uploadleaderboards() | |
| setnemesisxuid | void setnemesisxuid( string ) | |
| getloadoutitem | int getloadoutitem() | |
| isbonuscardactive | int isbonuscardactive( int, int ) | |
| getloadoutitemref | string getloadoutitemref() | |
| getloadoutweapon | string getloadoutweapon( int, string ) | |
| getloadoutperks | array getloadoutperks( int ) | |
| getloadoutallocation | int getloadoutallocation( int ) | |
| setmovespeedscale | void setmovespeedscale( float ) | |
| getmovespeedscale | float getmovespeedscale() | |
| logstring | void logstring() | |
| missile_settarget | void missile_settarget( entity, vector ) | |
| missile_dronesetvisible | void missile_dronesetvisible( int ) | |
| isonladder | bool isonladder() | |
| ismantling | bool ismantling() | |
| isonslide | bool isonslide() | |
| startdoorbreach | void startdoorbreach() | |
| stopdoorbreach | void stopdoorbreach() | |
| startragdoll | void startragdoll( int ) | |
| isragdoll | int isragdoll() | |
| launchragdoll | void launchragdoll( vector, constlowercasestring ) | |
| launchvehicle | void launchvehicle( vector, vector ) | |
| setblur | void setblur( float, float ) | |
| resetmissiledetonationtime | void resetmissiledetonationtime( float ) | |
| giveachievement | void giveachievement() | |
| setzombiename | void setzombiename( string ) | |
| setentgravitytrajectory | void setentgravitytrajectory( int ) | |
| setvehicleteam | void setvehicleteam( team ) | |
| setteam | void setteam( team ) | |
| getteam | team getteam() | |
| setowner | void setowner( entity ) | |
| setmissileowner | void setmissileowner( entity ) | |
| setentityweapon | void setentityweapon( string ) | |
| setturretowner | void setturretowner( entity ) | |
| setturrettype | void setturrettype( string ) | |
| getcorpseanim | anim getcorpseanim( animsindex ) | |
| itemweaponsetammo | void itemweaponsetammo( int, int, int ) | |
| setturretcarried | void setturretcarried( int ) | |
| setturretminimapvisible | void setturretminimapvisible( int ) | |
| setmissilecoasting | void setmissilecoasting( int ) | |
| setweapon | void setweapon( string ) | |
| gib | void gib( conststring, object ) | |
| setphysparams | void setphysparams( float, float, float ) | |
| setplayercollision | void setplayercollision( int ) | |
| reportuser | void reportuser( string ) | |
| setplayercurrentobjective | void setplayercurrentobjective() | |
| setplayercurrentstreak | void setplayercurrentstreak( int ) | |
| getvelocity | vector getvelocity() | |
| spawnactor | entity spawnactor( int, conststring ) | |
| getshootatpos | vector getshootatpos() | |
| predictspawnpoint | void predictspawnpoint( vector, vector ) | |
| setdefaultdroppitch | void setdefaultdroppitch( float ) | |
| setscanningpitch | void setscanningpitch( float ) | |
| launchbomb | entity launchbomb( string, vector, vector ) | |
| magicgrenade | entity magicgrenade( string, vector, vector ) | |
| makegrenadedud | void makegrenadedud() | |
| setclientflag | void setclientflag( int ) | |
| getclientflag | int getclientflag( int ) | |
| clearclientflag | void clearclientflag( int ) | |
| setscriptmoverflag | void setscriptmoverflag( int ) | |
| setmovingplatformenabled | void setmovingplatformenabled() | |
| fakefire | void fakefire( entity, vector, string, int ) | |
| makeusable | void makeusable( team ) | |
| makeunusable | void makeunusable() | |
| predictgrenade | vector predictgrenade() | |
| setdangerous | void setdangerous( team, int ) | |
| isdangerous | bool isdangerous( team ) | |
| getindexforactivecontract | void getindexforactivecontract() | |
| getactivecontractprogress | void getactivecontractprogress() | |
| incrementactivecontractprogress | void incrementactivecontractprogress() | |
| incrementactivecontracttime | void incrementactivecontracttime() | |
| isactivecontractcomplete | void isactivecontractcomplete() | |
| hasactivecontractexpired | void hasactivecontractexpired() | |
| getactivecontracttimepassed | void getactivecontracttimepassed() | |
| resetactivecontractprogress | void resetactivecontractprogress() | |
| getpregameclass | void getpregameclass() | |
| getpregameteam | void getpregameteam() | |
| setpregameclass | void setpregameclass() | |
| setpregameteam | void setpregameteam() | |
| recordleaguepreloser | void recordleaguepreloser() | |
| luinotifyeventtospectators | void luinotifyeventtospectators() | |
| istestclient | bool istestclient() | |
| setworldfogactivebank | void setworldfogactivebank( int ) | |
| iszbarrier | bool iszbarrier() | |
| getnumzbarrierpieces | int getnumzbarrierpieces() | |
| getzbarrierpiecestate | conststring getzbarrierpiecestate( int ) | |
| setzbarrierpiecestate | void setzbarrierpiecestate( int, constlowercasestring, float ) | |
| iszbarrieropen | bool iszbarrieropen() | |
| iszbarrierclosed | bool iszbarrierclosed() | |
| hidezbarrierpiece | void hidezbarrierpiece( int ) | |
| showzbarrierpiece | void showzbarrierpiece( int ) | |
| zbarrierpieceusedefaultmodel | void zbarrierpieceusedefaultmodel( int ) | |
| zbarrierpieceusealternatemodel | void zbarrierpieceusealternatemodel( int ) | |
| zbarrierpieceuseupgradedmodel | void zbarrierpieceuseupgradedmodel( int ) | |
| zbarrierpieceuseboxriselogic | void zbarrierpieceuseboxriselogic( int ) | |
| getupgradedpiecenumlives | int getupgradedpiecenumlives( int ) | |
| getzbarrierpieceindicesinstate | array getzbarrierpieceindicesinstate( constlowercasestring ) | |
| getzbarrierpieceanimlengthforstate | float getzbarrierpieceanimlengthforstate( int, constlowercasestring, float ) | |
| getzbarrierpieceanimstate | conststring getzbarrierpieceanimstate( int ) | |
| getzbarrierpieceanimsubstate | conststring getzbarrierpieceanimsubstate( int ) | |
| zbarriersupportszombietaunts | int zbarriersupportszombietaunts() | |
| zbarriersupportszombiereachthroughattacks | int zbarriersupportszombiereachthroughattacks() | |
| getzbarriertauntanimstate | conststring getzbarriertauntanimstate() | |
| getzbarrierreachthroughattackanimstate | conststring getzbarrierreachthroughattackanimstate() | |
| getzbarriernumattackslots | int getzbarriernumattackslots() | |
| getzbarrierattackslothorzoffset | float getzbarrierattackslothorzoffset() | |
| setzbarriercolmodel | void setzbarriercolmodel( string ) | |
| getweaponoptic | string getweaponoptic( string ) | |
| setaltusetrigger | void setaltusetrigger() | |
| isaltusetrigger | bool isaltusetrigger() |