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