User contributions for CoDEmanX
Jump to navigation
Jump to search
1 August 2009
- 03:4603:46, 1 August 2009 diff hist +348 N Call of Duty 4: Scripting Reference - Player::GetWeaponAmmoClip New page: {{Function |Version=4 |Name=GetWeaponAmmoClip( <weapon name> ) |Module=Player |Available |Summary=Get the amount of ammo left in the player's weapon's current clip. |Call_on=The play... current
- 03:4503:45, 1 August 2009 diff hist +343 N Call of Duty 4: Scripting Reference - Player::GetWeaponAmmoStock New page: {{Function |Version=4 |Name=GetWeaponAmmoStock( <weapon name> ) |Module=Player |Available |Summary=Get the ammunition stockpile for the given weapon. |Call_on=The player |Example=<pr... current
- 03:4503:45, 1 August 2009 diff hist +267 N Call of Duty 4: Scripting Reference - Player::GetWeaponsList New page: {{Function |Version=4 |Name=GetWeaponsList() |Module=Player |Available=SP Only |Summary=Gets an array of all weapons that the player has. Includes any alt-mode weapons (ex: m203_m4) |Call... current
- 03:4503:45, 1 August 2009 diff hist +248 N Call of Duty 4: Scripting Reference - Player::GetWeaponsListPrimaries New page: {{Function |Version=4 |Name=GetWeaponsListPrimaries() |Module=Player |Available=SP Only |Summary=Gets an array of all primary weapons that the player has. |Call_on=The player |Example=<pre... current
- 03:4503:45, 1 August 2009 diff hist +337 N Call of Duty 4: Scripting Reference - Player::GetWeaponSlotAmmo New page: {{Function |Version=4 |Name=GetWeaponSlotAmmo( <weapon slot> ) |Module=Player |Available |Summary=Gets the ammo count for the weapon in the given slot. |Call_on=The player |Example=<... current
- 03:4403:44, 1 August 2009 diff hist +365 N Call of Duty 4: Scripting Reference - Player::GetWeaponSlotClipAmmo New page: {{Function |Version=4 |Name=GetWeaponSlotClipAmmo( <weapon slot> ) |Module=Player |Available |Summary=Gets the ammunition in the clip for the weapon in the given weapon slot. |Call_o... current
- 03:4403:44, 1 August 2009 diff hist +352 N Call of Duty 4: Scripting Reference - Player::GetWeaponSlotWeapon New page: {{Function |Version=4 |Name=GetWeaponSlotWeapon( <weapon slot> ) |Module=Player |Available |Summary=Gets the name of the weapon in the given weapon slot. |Call_on=The player |Example... current
- 03:4403:44, 1 August 2009 diff hist +310 N Call of Duty 4: Scripting Reference - Player::GiveMaxAmmo New page: {{Function |Version=4 |Name=GiveMaxAmmo( <weapon name> ) |Module=Player |Available |Summary=Set the player's ammunition to the weapon's maximum ammunition |Call_on=The player |Exampl... current
- 03:4403:44, 1 August 2009 diff hist +268 N Call of Duty 4: Scripting Reference - Player::GiveStartAmmo New page: {{Function |Version=4 |Name=GiveStartAmmo( <weapon name> ) |Module=Player |Available |Summary=Set the player's ammunition to the weapon's default starting ammunition |Call_on=The pla... current
- 03:4303:43, 1 August 2009 diff hist +278 N Call of Duty 4: Scripting Reference - Player::GiveWeapon New page: {{Function |Version=4 |Name=GiveWeapon(<weapon name>) |Module=Player |Available |Summary=Give the player a weapon. |Call_on=The player |Example=<pre> level.player giveWeapon("m1garan... current
- 03:4203:42, 1 August 2009 diff hist +261 N Call of Duty 4: Scripting Reference - Player::HasPerk New page: {{Function |Version=4 |Name=HasPerk( <perk name> ) |Module=Player |Available=MP Only |Summary=test if player has a perk |Call_on=A player |Example=<pre>player HasPerk( "specialty_gps... current
- 03:4203:42, 1 August 2009 diff hist +302 N Call of Duty 4: Scripting Reference - Player::HasWeapon New page: {{Function |Version=4 |Name=HasWeapon(<weapon name>) |Module=Player |Available |Summary=Checks whether the player has the given weapon. |Call_on=The player |Example=<pre> if( level.p... current
- 03:4203:42, 1 August 2009 diff hist +197 N Call of Duty 4: Scripting Reference - Player::HideViewModel New page: {{Function |Version=4 |Name=HideViewModel() |Module=Player |Available=SP Only |Summary=Hide the player's current view model. |Call_on=The player |Example=<pre>level.player HideViewModel();... current
- 03:4103:41, 1 August 2009 diff hist +201 N Call of Duty 4: Scripting Reference - Player::IsFiring New page: {{Function |Version=4 |Name=IsFiring |Module=Player |Available=SP Only |Summary=Returns true if the player is currently using a weapon |Call_on=The player |Example=<pre>level.player IsFiri... current
- 03:4103:41, 1 August 2009 diff hist +288 N Call of Duty 4: Scripting Reference - Player::IsLookingAt New page: {{Function |Version=4 |Name=IsLookingAt( <entity> ) |Module=Player |Available |Summary=Returns true if the entity is the same as the player's lookat entity. |Call_on=The player |Exam... current
- 03:4103:41, 1 August 2009 diff hist +202 N Call of Duty 4: Scripting Reference - Player::IsMeleeing New page: {{Function |Version=4 |Name=IsMeleeing() |Module=Player |Available=SP Only |Summary=Returns true if the player is currently meleeing |Call_on=The player |Example=<pre>level.player IsMeleei... current
- 03:4103:41, 1 August 2009 diff hist +190 N Call of Duty 4: Scripting Reference - Player::IsOnGround New page: {{Function |Version=4 |Name=IsOnGround() |Module=Player |Available |Summary=Returns true if the player is on the ground. |Call_on=The player |Example=<pre>if( player IsOnGround() );</pre> ... current
- 03:4103:41, 1 August 2009 diff hist +226 N Call of Duty 4: Scripting Reference - Player::IsThrowingGrenade New page: {{Function |Version=4 |Name=IsThrowingGrenade() |Module=Player |Available=SP Only |Summary=Returns true if the player is currently throwing a grenade |Call_on=The player |Example=<pre>leve... current
- 03:4103:41, 1 August 2009 diff hist +171 N Call of Duty 4: Scripting Reference - Player::MeleeButtonPressed New page: {{Function |Version=4 |Name=MeleeButtonPressed() |Module=Player |Available=MP Only |Summary |Call_on=The player |Example=<pre>if ( self MeleeButtonPressed() ) ...</pre> }} current
- 03:4003:40, 1 August 2009 diff hist +521 N Call of Duty 4: Scripting Reference - Player::NotifyOnCommand New page: {{Function |Version=4 |Name=NotifyOnCommand( <notify>, <command> ) |Module=Player |Available=SP Only |Summary=Whenever the console command processor encounters <command> ... current
- 03:3903:39, 1 August 2009 diff hist +279 N Call of Duty 4: Scripting Reference - Player::OpenMenu New page: {{Function |Version=4 |Name=OpenMenu( <menu> ) |Module=Player |Available |Summary=Open a menu for this player |Call_on=The player |Example=<pre>self OpenMenu( game["menu_weapon_allie... current
- 03:3903:39, 1 August 2009 diff hist +315 N Call of Duty 4: Scripting Reference - Player::OpenMenuNoMouse New page: {{Function |Version=4 |Name=OpenMenuNoMouse(<menu>) |Module=Player |Available |Summary=Open a menu for this player, with no mouse control. |Call_on=The player |Example=<pre>self Open... current
- 03:3903:39, 1 August 2009 diff hist +201 N Call of Duty 4: Scripting Reference - Player::PlayerAds New page: {{Function |Version=4 |Name=PlayerAds() |Module=Player |Available |Summary=Return the player's weapon position fraction. |Call_on=The player |Example=<pre>while( self PlayerAds() > 0.3 ... current
- 03:3803:38, 1 August 2009 diff hist +1,382 N Call of Duty 4: Scripting Reference - Player::PlayerLinkTo New page: {{Function |Version=4 |Name=PlayerLinkTo( <linkto entity>, <tag>, <viewpercentag fraction>, <right arc>, <left arc>, <top arc>, <bottom arc>, <... current
- 03:3803:38, 1 August 2009 diff hist +642 N Call of Duty 4: Scripting Reference - Player::PlayerLinkToAbsolute New page: {{Function |Version=4 |Name=PlayerLinkToAbsolute( <lockto entity>, <tag> ) |Module=Player |Available=SP Only |Summary=Attaches the player to an entity. No view movement is all... current
- 03:3803:38, 1 August 2009 diff hist +1,608 N Call of Duty 4: Scripting Reference - Player::PlayerLinkToDelta New page: {{Function |Version=4 |Name=PlayerLinkToDelta( <linkto entity>, <tag>, <viewpercentag fraction>, <right arc>, <left arc>, <top arc>, <bottom arc>,... current
- 03:3803:38, 1 August 2009 diff hist +695 N Call of Duty 4: Scripting Reference - Player::PlayerSetGroundReferenceEnt New page: {{Function |Version=4 |Name=PlayerSetGroundReferenceEnt( <ground reference entity> ) |Module=Player |Available=SP Only |Summary=The ground entity's rotation will be added onto the pl... current
- 03:3603:36, 1 August 2009 diff hist +32 Call of Duty 4: Scripting Reference - Player::SecondaryOffhandButtonPressed No edit summary current
- 03:3503:35, 1 August 2009 diff hist +226 N Call of Duty 4: Scripting Reference - Player::ResetSpreadOverride New page: {{Function |Version=4 |Name=ResetSpreadOverride() |Module=Player |Available |Summary=Resets the player spread value to the ones of the weapon in use. |Call_on=A player |Example=<pre>level.... current
- 03:3503:35, 1 August 2009 diff hist +852 N Call of Duty 4: Scripting Reference - Player::PlayLocalSound New page: {{Function |Version=4 |Name=PlayLocalSound( <sound name> ) |Module=Player |Available |Summary=Plays a sound locally to the player |Call_on=The player |Example=<pre>players[i] PlayLoc... current
- 03:3403:34, 1 August 2009 diff hist +226 N Call of Duty 4: Scripting Reference - Player::SecondaryOffhandButtonPressed New page: {{Function |Version=4 |Name=ResetSpreadOverride() |Module=Player |Available |Summary=Resets the player spread value to the ones of the weapon in use. |Call_on=A player |Example=<pre>level....
- 03:3303:33, 1 August 2009 diff hist +854 N Call of Duty 4: Scripting Reference - Player::SetActionSlot New page: {{Function |Version=4 |Name=SetActionSlot( <slot #>, <option name>, <extra parameter> ) |Module=Player |Available |Summary=Sets the option to perform when the player exec... current
- 03:3303:33, 1 August 2009 diff hist +350 N Call of Duty 4: Scripting Reference - Player::SetAutoPickup New page: {{Function |Version=4 |Name=SetAutoPickup( <auto pickup> ) |Module=Player |Available=SP Only |Summary=Sets whether the player will automatically pick up pickups. |Call_on=The player ... current
- 03:3203:32, 1 August 2009 diff hist +642 N Call of Duty 4: Scripting Reference - Player::SetChannelVolumes New page: {{Function |Version=4 |Name=SetChannelVolumes( <priority>, <shock name>, <fade time> ) |Module=Player |Available |Summary=Set the channel volumes for the player (a way of... current
- 03:3203:32, 1 August 2009 diff hist +404 N Call of Duty 4: Scripting Reference - Player::SetClientDvar New page: {{Function |Version=4 |Name=SetClientDvar( <dvarName>, <value> ) |Module=Player |Available |Summary=Set the values of dvars which are specific to each client. |Call_on=The play... current
- 03:3203:32, 1 August 2009 diff hist +473 N Call of Duty 4: Scripting Reference - Player::SetClientDvars New page: {{Function |Version=4 |Name=SetClientDvars( <dvarName>, <value>, <dvarName>, <value>, etc. ) |Module=Player |Available |Summary=Set the values of a list of dvars wh... current
- 03:3203:32, 1 August 2009 diff hist +927 N Call of Duty 4: Scripting Reference - Player::SetDepthOfField New page: {{Function |Version=4 |Name=SetDepthOfField( <near start>, <near end>, <far start>, <far end>, <near blur>, <far blur> ) |Module=Player |Available |Summ... current
- 03:3203:32, 1 August 2009 diff hist +872 N Call of Duty 4: Scripting Reference - Player::SetEq New page: {{Function |Version=4 |Name=SetEq( <channel>, <eqIndex>, <band>, <filter type>, <gain>, <frequency>, <q> ) |Module=Player |Available=SP Only |Summ... current
- 03:3203:32, 1 August 2009 diff hist +554 N Call of Duty 4: Scripting Reference - Player::SetEqLerp New page: {{Function |Version=4 |Name=SetEqLerp( <eqLerp> <eqIndex> ) |Module=Player |Available=SP Only |Summary=Set the blend amount for the specified eqIndex, for eqIndex 0 if none is ... current
- 03:3203:32, 1 August 2009 diff hist +289 N Call of Duty 4: Scripting Reference - Player::SetMoveSpeedScale New page: {{Function |Version=4 |Name=SetMoveSpeedScale( <scale> ) |Module=Player |Available |Summary=Scales player movement speed by this amount |Call_on=A Player Entity |Example=<pre>self S... current
- 03:3203:32, 1 August 2009 diff hist +309 N Call of Duty 4: Scripting Reference - Player::SetOffhandSecondaryClass New page: {{Function |Version=4 |Name=SetOffhandSecondaryClass(<name>) |Module=Player |Available |Summary=Set whether player can use smoke grenades or flashbangs. |Call_on=The player |Example=... current
- 03:3103:31, 1 August 2009 diff hist +277 N Call of Duty 4: Scripting Reference - Player::SetOrigin New page: {{Function |Version=4 |Name=SetOrigin( <player origin> ) |Module=Player |Available |Summary=Set the player's origin |Call_on=The player |Example=<pre> level.player SetOrigin( pltruck... current
- 03:3103:31, 1 August 2009 diff hist +258 N Call of Duty 4: Scripting Reference - Player::SetPerk New page: {{Function |Version=4 |Name=SetPerk( <perk name> ) |Module=Player |Available=MP Only |Summary=give the specified perk |Call_on=A player |Example=<pre>player SetPerk( "specialty_gpsja... current
- 03:3103:31, 1 August 2009 diff hist +288 N Call of Duty 4: Scripting Reference - Player::SetPlayerAngles New page: {{Function |Version=4 |Name=SetPlayerAngles( <player angles> ) |Module=Player |Available |Summary=Set the player's angles |Call_on=The player |Example=<pre> level.player SetPlayerAng... current
- 03:3103:31, 1 August 2009 diff hist +741 N Call of Duty 4: Scripting Reference - Player::SetReverb New page: {{Function |Version=4 |Name=SetReverb( <priority>, <room type>, <dry level>, <wet level>, <fade time> ) |Module=Player |Available |Summary=Set the sound rever... current
- 03:3103:31, 1 August 2009 diff hist +378 N Call of Duty 4: Scripting Reference - Player::SetSpreadOverride New page: {{Function |Version=4 |Name=SetSpreadOverride( <player spread> ) |Module=Player |Available |Summary=Sets the player fixed spread value |Call_on=A player |Example=<pre>level.player Se... current
- 03:3103:31, 1 August 2009 diff hist +271 N Call of Duty 4: Scripting Reference - Player::SetStance New page: {{Function |Version=4 |Name=SetStance() |Module=Player |Available=SP Only |Summary=Sets the stance of the player. It only works for the player. Possible values are 'crouch', 'prone' and 's... current
- 03:3103:31, 1 August 2009 diff hist +294 N Call of Duty 4: Scripting Reference - Player::SetVelocity New page: {{Function |Version=4 |Name=SetVelocity( <player origin> ) |Module=Player |Available=SP Only |Summary=Set the player's velocity |Call_on=The player |Example=<pre> level.player SetVel... current
- 03:3103:31, 1 August 2009 diff hist +298 N Call of Duty 4: Scripting Reference - Player::SetViewModel New page: {{Function |Version=4 |Name=SetViewModel( <viewmodel name> ) |Module=Player |Available |Summary=Set the player's current view model. |Call_on=The player |Example=<pre>self SetViewMod... current
- 03:3003:30, 1 August 2009 diff hist +484 N Call of Duty 4: Scripting Reference - Player::SetViewModelDepthOfField New page: {{Function |Version=4 |Name=SetViewModelDepthOfField( <start>, <end> ) |Module=Player |Available |Summary=Set the depth of field values for the player's viewmodel when at hip. ... current