WoW:API GetTrainerServiceCost

From AddOn Studio
Revision as of 19:49, 29 May 2005 by WoWWiki>Xharze
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GetTradeSkillSelectionIndex -Documentation by Xharze-

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));



Template:WoW API