Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local argb = dxCreateTexture(240, 240, "argb", false)
- addCommandHandler("memleak",
- function(_, count)
- local start = getTickCount()
- for i = 1, count do
- dxDrawImage(0, 0, 240, 240, argb)
- dxDrawImageSection(240, 0, 240, 240, 0, 0, 240, 240, argb)
- dxDrawRectangle(240, 240, 240, 240)
- dxDrawText("TEEEST", 0, 480)
- dxDrawLine3D(0, 0, 0, 0, 0, 0, 10)
- dxDrawMaterialLine3D(0, 0, 0, 0, 0, 0, argb, 10)
- end
- outputChatBox("Finsihed in ".. getTickCount()-start.." ms| Ran ".. convertNumber(count) .. " times.")
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement