Raised This Month: $ Target: $400
 0% 

how can I change "you rank is.." with colors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
unforcer
Senior Member
Join Date: Feb 2009
Old 07-07-2010 , 17:24   how can I change "you rank is.." with colors
Reply With Quote #1

I want to change my colours of the message "Your rank is %d of %d with %d kills e.t.c", but it doesn't want :@
Can you help me please
In amxmodx/data/lang/statsx.txt I make that:
Code:
YOUR_RANK_IS = !tYour rank is %d of %d with %d kill(s), %d hit(s), %0.2f%% eff. and %0.2f%% acc.

Last edited by unforcer; 07-09-2010 at 13:39.
unforcer is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-07-2010 , 18:49   Re: how can I change "you rank is.." with colors
Reply With Quote #2

OMG don't post that much code. Attach it if it's custom; if it's not custom then don't post/attach anything just refer to the plugin filename.
__________________
fysiks is offline
unforcer
Senior Member
Join Date: Feb 2009
Old 07-08-2010 , 13:29   Re: how can I change "you rank is.." with colors
Reply With Quote #3

ok can anyone help me ?
unforcer is offline
JaGareN
Senior Member
Join Date: Mar 2009
Old 07-08-2010 , 22:08   Re: how can I change "you rank is.." with colors
Reply With Quote #4

Quote:
Originally Posted by unforcer View Post
ok can anyone help me ?
No one will help you if you dont fix your post as fysiks told you.
JaGareN is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-08-2010 , 22:15   Re: how can I change "you rank is.." with colors
Reply With Quote #5

And, since this is the scripting help forum you should be doing this yourself. Are you the one that asked for this for another plugin already? You can just do what I did there. It's the exact same thing.
__________________
fysiks is offline
unforcer
Senior Member
Join Date: Feb 2009
Old 07-09-2010 , 13:40   Re: how can I change "you rank is.." with colors
Reply With Quote #6

okay look again, but i posted that, therefore see what I edited in code
Is it okay already?
unforcer is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-09-2010 , 19:07   Re: how can I change "you rank is.." with colors
Reply With Quote #7

You have to change the code of the plugin to use client_print_colored() or whatever command I used that last time.
__________________
fysiks is offline
unforcer
Senior Member
Join Date: Feb 2009
Old 07-12-2010 , 14:11   Re: how can I change "you rank is.." with colors
Reply With Quote #8

I can't.. I tried with your variable sharp, but when I write in chat "/rank" messages show with space (namely there where I've putted "!g, !t, !y")
If it's not a problem, would you post ready code, and as soon as I saw your post, I'll test it
unforcer is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-12-2010 , 17:41   Re: how can I change "you rank is.." with colors
Reply With Quote #9

Next time you should be posting in Suggestion/Requests.
Attached Files
File Type: sma Get Plugin or Get Source (statsx.sma - 596 views - 51.6 KB)
__________________
fysiks is offline
unforcer
Senior Member
Join Date: Feb 2009
Old 07-13-2010 , 14:23   Re: how can I change "you rank is.." with colors
Reply With Quote #10


Code:
YOUR_RANK_IS = !tYour rank is %d of %d with %d kill(s), %d hit(s), %0.2f%% eff. and %0.2f%% acc.
Quote:
Originally Posted by fysiks
Next time you should be posting in Suggestion/Requests.
Okay
Attached Thumbnails
Click image for larger version

Name:	test.JPG
Views:	173
Size:	32.3 KB
ID:	69546  
unforcer is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode