Difference between revisions of "CCSPlayer"

From AlliedModders Wiki
Jump to: navigation, search
Line 7: Line 7:
  
 
=== AddAccount ===
 
=== AddAccount ===
 +
* Description: Adds money to a player's account.
 +
* Calling Convention: __thiscall
 
* Prototype: <code>void CCSPlayer::AddAccount(int amount, bool bTrackChange=true)</code>
 
* Prototype: <code>void CCSPlayer::AddAccount(int amount, bool bTrackChange=true)</code>
 
* Parameters:
 
* Parameters:
Line 12: Line 14:
 
** <code>bTrackChange</code>: Should the server keep track of this change?
 
** <code>bTrackChange</code>: Should the server keep track of this change?
 
* Signature:
 
* Signature:
** <code>\x56\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x50\x8B\xC3\x2A\x2A\x2A\x2A\x2A\x8B\x06\x85\xC0\x2A\x2A</code>
+
** <code>code>
 
** Length:
 
** Length:

Revision as of 15:07, 27 September 2008

Disclaimer: The viability of these signatures listed herein is not guaranteed. AlliedModders and wiki contributors are not responsible for any damage or loss caused by the use of these signatures. THESE SIGNATURES ARE PROVIDED 'AS-IS'

Classname: CCSPlayer
Description: Representation of a Counter-Strike: Source player.
Virtual Table Dump: [1]

Signatures

AddAccount

  • Description: Adds money to a player's account.
  • Calling Convention: __thiscall
  • Prototype: void CCSPlayer::AddAccount(int amount, bool bTrackChange=true)
  • Parameters:
    • amount: The amount to add.
    • bTrackChange: Should the server keep track of this change?
  • Signature:
    • code>
    • Length: