Difference between revisions of "CCSPlayer"

From AlliedModders Wiki
Jump to: navigation, search
Line 11: Line 11:
 
* Calling Convention: <cpp>__thiscall</cpp>
 
* Calling Convention: <cpp>__thiscall</cpp>
 
* Prototype: <cpp>void CCSPlayer::AddAccount(int amount, bool bTrackChange=true)</cpp>
 
* Prototype: <cpp>void CCSPlayer::AddAccount(int amount, bool bTrackChange=true)</cpp>
 +
 
* Parameters:
 
* Parameters:
 
** <code>amount</code>: The amount to add.
 
** <code>amount</code>: The amount to add.
 
** <code>bTrackChange</code>: Should the server keep track of this change?
 
** <code>bTrackChange</code>: Should the server keep track of this change?
 +
 +
* Signature:
 +
** <pre>\x56\x2A\x2A\x2A\x2A\x2A\x2A\x8D\x44\x24\x08\x50\x8B\xCE\x2A\x2A\x2A\x2A\x2A\x8B\x06\x85\xC0\x2A\x2A\x8D\x4C\x24\x08</pre>
 +
** Length: 29

Revision as of 17:24, 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

This section will be devoted to listing signatures for the methods of CCSPlayer.

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:
    • \x56\x2A\x2A\x2A\x2A\x2A\x2A\x8D\x44\x24\x08\x50\x8B\xCE\x2A\x2A\x2A\x2A\x2A\x8B\x06\x85\xC0\x2A\x2A\x8D\x4C\x24\x08
    • Length: 29