WoW:API GetTrainerServiceCost: Difference between revisions
Jump to navigation
Jump to search
GetTradeSkillSelectionIndex -Documentation by Xharze-
No edit summary |
(upgraded deprecated template) |
||
Line 1: | Line 1: | ||
{{wowapi}} | |||
<center>'''GetTradeSkillSelectionIndex''' ''-Documentation by [[User:Xharze|Xharze]]-''</center> | <center>'''GetTradeSkillSelectionIndex''' ''-Documentation by [[User:Xharze|Xharze]]-''</center> | ||
Line 24: | Line 25: | ||
Prints the cost of the service with index 3, in the chatwindow. | Prints the cost of the service with index 3, in the chatwindow. | ||
ChatFrame1:AddMessage(GetTrainerServiceCost(3)); | ChatFrame1:AddMessage(GetTrainerServiceCost(3)); | ||
Revision as of 17:28, 6 January 2007
← WoW API < GetTrainerServiceCost
Returns the cost of the selected trainer service.
GetTrainerServiceCost(index);
- Arguments
- Number index
- index
- The index number of a specific trainer service.
- Returns
- Number serviceCost
- serviceCost
- The cost of a specific service in copper.
- Example
Prints the cost of the service with index 3, in the chatwindow.
ChatFrame1:AddMessage(GetTrainerServiceCost(3));