BobTheBuilder Posted April 24, 2011 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.
0 lil Toady Posted April 24, 2011 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? Do not PM me, im not going to read it anyway.
0 BobTheBuilder Posted April 24, 2011 Author 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...
0 lil Toady Posted April 25, 2011 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). Do not PM me, im not going to read it anyway.
0 BobTheBuilder Posted April 25, 2011 Author 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 ?
0 BobTheBuilder Posted May 2, 2011 Author Posted May 2, 2011 As for the DrawText: Could you tell me where to get IDirect3DDevice9 for GTA:SA? : P Sory for offtopic
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.
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