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 #274640 is a reply to message #274298] Fri, 20 July 2007 23:58 Go to previous messageGo to previous message
Genesis2001
Messages: 1397
Registered: August 2006
Karma:
General (1 Star)
How would I return the player's team? Also, How do I refer to:

GameObject *Donater = Get_GameObj(ID); //Get the gameobj of the player who's donating.
GameObject *Receiver = Get_GameObj_By_Player_Name(Text[1].c_str()); //Get the gameobj of the player being being donated to.


when I use them in"

Commands->Give_Money(GameObject *Donater,Commands->Get_Money(GameObject *Donater)-Amt), true);
Commands->Give_Money(GameObject *Reciever,Commands->Get_Money(GameObject *Reciever)+Amt), true);


and:
Commands->Get_Money(GameObject *Donater)


Do I refer to them as they are shown in my 'examples'?

-MathK1LL
 
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: Mon Feb 10 22:59:09 MST 2025

Total time taken to generate the page: 0.01155 seconds