BobTheBuilder Posted April 24, 2011 Share Posted April 24, 2011 Hello! Assume that: I make my modifications, which will display text on the screen. But I'm a lazy and decided to use the function created by the developers of MTA. https://wiki.multitheftauto.com/wiki/DxDrawText Of course, under the terms of the license And now the question: Where can I get the function code? Written with Google Translator: / Please, reply:) Thanks and regards. Link to comment
0 lil Toady Posted April 24, 2011 Share Posted April 24, 2011 Well, this function uses DirectX api. If you do have a dx application, that's no magic, all you need is a DrawText method of D3DFont. Are you really sure you know what you're doing? Link to comment
0 BobTheBuilder Posted April 24, 2011 Author Share Posted April 24, 2011 Hehe, thanks for the reply. I gave a bit of a bad example. : P I mean the typical function GTA: SA. Eample: setCameraMatrix setTime addVehicleUpgrade etc... Link to comment
0 lil Toady Posted April 25, 2011 Share Posted April 25, 2011 That aren't "typical" GTA:SA functions, that are MTA scripting functions. You can find our source code at http://mtasa-blue.googlecode.com/ but if you use any of it you will have to open your sources as well (I suggest you read the license). Link to comment
0 BobTheBuilder Posted April 25, 2011 Author Share Posted April 25, 2011 Oh, GNU, not MIT So I can not copy some functions, and while loading my mod add inscription "With functions from:" + logo Multi Theft Auto ? Link to comment
0 BobTheBuilder Posted May 2, 2011 Author Share Posted May 2, 2011 As for the DrawText: Could you tell me where to get IDirect3DDevice9 for GTA:SA? : P Sory for offtopic Link to comment
0 CrazyDude Posted May 11, 2011 Share Posted May 11, 2011 0xC97C28 - IDirect3DDevice9 pointer Link to comment
Question
BobTheBuilder
Hello!
Assume that:
I make my modifications, which will display text on the screen.
But I'm a lazy and decided to use the function created by the developers of MTA.
https://wiki.multitheftauto.com/wiki/DxDrawText
Of course, under the terms of the license
And now the question:
Where can I get the function code?
Written with Google Translator: /
Please, reply:)
Thanks and regards.
Link to comment
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now