Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » SSGM Chat Hook
Re: SSGM Chat Hook [message #274712 is a reply to message #274298] Sat, 21 July 2007 12:07 Go to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
You are declaring the variables "Donater" and "Receiver". "GameObject *" is the data type.
So you do not refer to the variable as "*Donater" and "*Receiver", just take those "*" bits off everywhere apart from where you are declaring it, as that is actually part of the data type declaration, and not the variable name.

Also I would do "Commands->Give_Money(Donater,(Amt * -1),false)", and "Commands->Give_Money(Reciever,(Amt * 1),false)".

There is more wrong too, but I have to go visit my mum now.



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3ds max 9 problem
Next Topic: Anti Alias without 3.4.1
Goto Forum:
  


Current Time: Tue Feb 11 05:07:15 MST 2025

Total time taken to generate the page: 0.00892 seconds