View unanswered posts | View active topics It is currently Thu Dec 26, 2024 4:57 pm



Reply to topic  [ 2 posts ] 
 Get amount in team's funds? 
Author Message

Joined: Tue Aug 16, 2011 3:27 am
Posts: 1
Reply with quote
Post Get amount in team's funds?
I'm trying to increase the funds of a team by a certain amount, I know I can set the funds with

Code:
ActivityMan:GetActivity():SetTeamFunds(AMOUNT,TEAM)


However I don't know how to get the team's funds to increase it slightly, is there a way to get the team's funds? I imagine it would look something like this...

Code:
ActivityMan:GetActivity():GetTeamFunds(TEAM)


...then maybe I could increment it like this?

Code:
ActivityMan:GetActivity():SetTeamFunds(ActivityMan:GetActivity():GetTeamFunds(TEAM) + AMOUNT,TEAM)


Any help appreciated


Tue Aug 16, 2011 3:36 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: Get amount in team's funds?
Code:
ActivityMan:GetActivity():GetTeamFunds(<team>)


Thu Aug 18, 2011 11:34 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.043s | 13 Queries | GZIP : Off ]