Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player.Money:
- public int Money
- {
- get
- {
- int num;
- Scripting.?A0x41b70ddb.StoreScore(Scripting.?A0x41b70ddb.ConvertIntToPlayerIndex((uint) this.pID), &num);
- return num;
- }
- set
- {
- int num2;
- int num = Scripting.?A0x41b70ddb.ConvertIntToPlayerIndex((uint) this.pID);
- Scripting.?A0x41b70ddb.StoreScore(num, &num2);
- if (value < 0)
- {
- value = 0;
- }
- Scripting.?A0x41b70ddb.AddScore(num, value - num2);
- }
- }
- ---------------------------------------------------------------------------------------------------------------------------------------------------
- ---------------------------------------------------------------------------------------------------------------------------------------------------
- ---------------------------------------------------------------------------------------------------------------------------------------------------
- Player.Character.Money:
- public int Money
- {
- get
- {
- if (!this.Exists())
- {
- throw new NonExistingObjectException();
- }
- return Scripting.?A0x5984d89a.GetCharMoney(base.pHandle);
- }
- set
- {
- if (!this.Exists())
- {
- throw new NonExistingObjectException();
- }
- Scripting.?A0x5984d89a.SetCharMoney(base.pHandle, (uint) value);
- }
- }
Add Comment
Please, Sign In to add comment