Admigo Posted September 8, 2011 Share Posted September 8, 2011 Hello all, I have one problem. I make a derby server and when you die you see: 1:Admigo time at the left in white. I want if player has hexcolour in name you see that colour. So if i have yellow name: #FFFF00Admigo. And i die you will see: 1:Admigo time at the left in yellow. I hope you understand my fail explain:P And problem 2: How can i delete the time at the left if you die. Thanks admigo. Link to comment
Baseplate Posted September 8, 2011 Share Posted September 8, 2011 lol explain more I didn't get it Link to comment
Admigo Posted September 8, 2011 Author Share Posted September 8, 2011 Watch this: http://vimeo.com/10107116 U see at your left the times and the player name of the players who not servived the derby. I want the name and the time the same colour as they have in name. Link to comment
Baseplate Posted September 8, 2011 Share Posted September 8, 2011 you want the color code ot what? Link to comment
Cadu12 Posted September 8, 2011 Share Posted September 8, 2011 Do you mean death list colored? if yes then create you own scripts, this forum is not request. Link to comment
Castillo Posted September 8, 2011 Share Posted September 8, 2011 I think he's talking about the ranking board, when you die your name is added with the time you survived( I think ), if you want to get this colored, then you'll need to make some changes, first, convert the way it works to DX drawing, because right now I think it uses GUI. There's a function in the forums called dxDrawColorText, search for it. Link to comment
Admigo Posted September 9, 2011 Author Share Posted September 9, 2011 Can someone give me the link of dxDrawColorText pls? I cant find it on the forums. I searched on google to. Link to comment
Baseplate Posted September 9, 2011 Share Posted September 9, 2011 uhh search on wiki.multitheftauto.com Link to comment
Admigo Posted September 9, 2011 Author Share Posted September 9, 2011 Found it,but how can i change the colours and where i need to change it? Link to comment
qaisjp Posted September 9, 2011 Share Posted September 9, 2011 Place the function in the resource and make it do dxDrawColorText and not dxDrawText Link to comment
Admigo Posted September 9, 2011 Author Share Posted September 9, 2011 What file in race i need to change? Link to comment
Baseplate Posted September 9, 2011 Share Posted September 9, 2011 dude try them all and search for those functions Link to comment
Admigo Posted September 9, 2011 Author Share Posted September 9, 2011 I only ask what file i need to change in race. I am a noob mta scripter so thats why i ask it. Link to comment
Baseplate Posted September 9, 2011 Share Posted September 9, 2011 I even can't script dude but wiki.multitheftauto.com help a lot it have everything related to MTA Scripting 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