Axel Posted May 29, 2012 Share Posted May 29, 2012 (edited) This is my newest ressource, it brings DxDrawing based information on World elements. It is very easy to use and you can easily implement it in every gamemode you want to. It is based on setElementData, you just have to set the data of your element "message" to "your text here" like : setElementData(vehicle,"message","this is my vehicle, dude") I made some serverside exemples in the resource. Elements added so far: -pickup -ped -player -vehicle -marker For help or any suggestion please comment. Image: Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=4931 Edited May 29, 2012 by Guest Link to comment
Kenix Posted May 31, 2012 Share Posted May 31, 2012 It's rly sample. All can do this. If you make this via class it's will be more better. For example Methods CWorldText:CWorldText( sText ) CWorldText:Destroy( ) CWorldText:Color( nR, nG, nB, nA ) CWorldText:Position( fX, fY, fZ ) CWorldText:Attach( pElement, fPosOffX, fPosOffY, fPosOffZ, fRotOffX, fRotOffY, fRotOffZ ) ... Also use this classlib by lua devs and updates by Setuper and Kernell P.S All description you can see here too Example usage class 'CWorldText' function CWorldText:CWorldText( sText ) -- TODO self.sText = sText self.nR = 255 self.nG = 255 self.nB = 255 self.nA = 255 end function CWorldText:Color( nR, nG, nB, nA ) if type( nR ) == 'number' and type( nG ) == 'number' and type( nB ) == 'number' then -- TODO self.nR = nR self.nG = nG self.nB = nB self.nA = type( nA ) == 'number' and nA or 255 end return self.nR, self.nG, self.nB, self.nA end Text = CWorldText 'Some text' Text:Color( 255, 0, 0, 175 ) Link to comment
Smart. Posted May 31, 2012 Share Posted May 31, 2012 Kenix, you don't need to be a dick about it, let him have his release thread alone ffs. Link to comment
Castillo Posted May 31, 2012 Share Posted May 31, 2012 What can I say sebbe? that's how Kenix is, always trying to look as "the best". Link to comment
Anderl Posted May 31, 2012 Share Posted May 31, 2012 What can I say sebbe? that's how Kenix is, always trying to look as "the best". Like you? I don't know how can you be a Guru. Guru should not ask things like you did, Guru should know the fucking EASY AND SIMPLE thing you asked here. Like AeroXbird said, that's the way to keep up your name. You should not complain others, look at you first. Now, let's stop that. Link to comment
Castillo Posted May 31, 2012 Share Posted May 31, 2012 Oh, so you think I shouldn't be in the position I'am because I asked one thing in a year maybe? Link to comment
Kenix Posted May 31, 2012 Share Posted May 31, 2012 (edited) What can I say sebbe? that's how Kenix is, always trying to look as "the best". Haha nice joke dude. I not say about you. You not know what i mean, because you don't know about OOP. Also, see source code mta and you can understand. Edited May 31, 2012 by Guest Link to comment
Castillo Posted May 31, 2012 Share Posted May 31, 2012 Oh, I actually know OOP, I was using it on a DX-GUI project of mine. Let's stop with this discussion, you can keep it over PM if you want. Link to comment
Kenix Posted May 31, 2012 Share Posted May 31, 2012 Also What can I say sebbe? that's how Kenix is, always trying to look as "the best". You Scripting moderator (Guru) Why you write this to me? it's good for you insult/humiliate to people? Link to comment
Smart. Posted May 31, 2012 Share Posted May 31, 2012 Kenix, you're one of a kind. You cry when castillo humiliate you but when you humiliate the topic starter it's okay? How do you think the topic starter thinks when you come here, post a code and say everyone can do it, that its easy? Huh, please use your brain. Castillo is probably one of the best scripters we got, at least who helps the community even though he's busy with an own server but still, here he is helping people on literally every thread, he doesn't act like he is the best. So yes, he does deserve Guru. Link to comment
Anderl Posted May 31, 2012 Share Posted May 31, 2012 (edited) seb:>, you don't know nothing of what's happening here. The problem is that this guy thinks that is the best, he thinks he is "famous" because he fix guy's codes when someone need help. Guru should know all 'cause he is Guru level. This is the way to go down with your name, do you understand seb:>? How can a Guru don't know how to make that shit he asked in this forum? You don't even know the things he says by PM, really, I laugh with those guys that thinks are the best. By a view point, Kenix is right. If I understood what that resource does, this have been already made and posted here but a bit different and it's really easy to do, but that's ok, the guy made the script, if we don't like, we don't post or just tell him, so, next time maybe he makes better. I don't know why do you continue complainning people Solidsnake, can't you just shut up and leave others alone? lol I can't see one post where Castillo doesn't do that with Kenix. -- If you do know OOP, why don't you show your proof? Just like you said me to show my proofs in languages that I know just 'cause you only know LUA language. Or maybe you should not show because I don't know if the code is really yours haha Now, CAN YOU STOP GUYS? LET'S STOP THAT! Edited May 31, 2012 by Guest Link to comment
Castillo Posted May 31, 2012 Share Posted May 31, 2012 I'm not the one who started pissing me off because you're jealous of me, you know, that's not the way you achieve things. Now, can you guys stop this discussion? next posts will be removed. Link to comment
death666machine Posted June 1, 2012 Share Posted June 1, 2012 I know I have no reputation here and may be speaking out of line but seriously people, stop with the whole i am better then you thing. He made the resource for people that don't know how to script well and to take his example and learn a thing or two or even make use of it. flaming each other and bickering back and forth is ridiculous and makes no sense, and no offense Kenix but it was rude of you to steal his ten seconds of fame, even if you where suggesting a better way of scripting his resource. If he wanted suggestions he would have asked. On topic: Nice script and thanks for the time and effort you put forth. I will defiantly make use of this resource =) Link to comment
Axel Posted June 1, 2012 Author Share Posted June 1, 2012 Thanks for the support. If you got ideas or what should i change to make this resource better, post. Link to comment
Anderl Posted June 1, 2012 Share Posted June 1, 2012 (edited) Off-topic:I never said that he is noob, that should not post those scripts here. I understand what do you mean, death666machine. You can also check out my old post before Castillo post, I just don't like when Castillo goes and start complaining his enemies. Edited June 1, 2012 by Guest Link to comment
death666machine Posted June 1, 2012 Share Posted June 1, 2012 Thanks for the support. If you got ideas or what should i change to make this resource better, post. ok will do. @dwane I agree, i just get tired of all the flaming when it is unneeded. Link to comment
Castillo Posted June 1, 2012 Share Posted June 1, 2012 Stop replying about the discussion between Kenix, Dwane, it's over. P.S: @death666machine: Just so you don't get confused: Dwane isn't the Dwayne from SAUR. Link to comment
Infinate Posted June 1, 2012 Share Posted June 1, 2012 Why is this Dwane guy impostering me? Link to comment
Anderl Posted June 1, 2012 Share Posted June 1, 2012 lol When I put that name I didn't even know you. Only later someone said me that were there one guy on SAUR with name Dwayne. And Dwane is not Dwayne Link to comment
Infinate Posted June 1, 2012 Share Posted June 1, 2012 I'd greatly appreciate it if you would change your name to something else, since I'm getting alot of comments from my community about your posts since they think that you are me. And BTW, Dwane and Dwayne are pronounced the same way, and seeing as not everyone controls the English language perfectly, people can easily mistake Dwane for Dwayne. EDIT: Thank you. Link to comment
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