Skip to content

Commit b195408

Browse files
committed
add missing api_draw_number
1 parent 2cd2dfe commit b195408

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

draw_methods.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,11 @@ function api_draw_text(tx, ty, text, card, col, tw) end
7878
---@param tank_id number the tank gui id to draw
7979
function api_draw_tank(tank_id) end
8080

81+
---
82+
---@since 1.3.0
83+
---@param x number the x position to draw at
84+
---@param y number the y position to draw at
85+
---@param n string the number to draw
86+
---@param col string? @[Optional] the color key to use for the text, either one you defined with api_define_color() or a name from the colors_ref.json game file, defaults to white if not specified
87+
function api_draw_number(x, y, n, col) end
88+

0 commit comments

Comments
 (0)