AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how can I change "you rank is.." with colors (https://forums.alliedmods.net/showthread.php?t=131685)

unforcer 07-07-2010 17:24

how can I change "you rank is.." with colors
 
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.

fysiks 07-07-2010 18:49

Re: how can I change "you rank is.." with colors
 
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.

unforcer 07-08-2010 13:29

Re: how can I change "you rank is.." with colors
 
ok can anyone help me ?

JaGareN 07-08-2010 22:08

Re: how can I change "you rank is.." with colors
 
Quote:

Originally Posted by unforcer (Post 1232148)
ok can anyone help me ?

No one will help you if you dont fix your post as fysiks told you.

fysiks 07-08-2010 22:15

Re: how can I change "you rank is.." with colors
 
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.

unforcer 07-09-2010 13:40

Re: how can I change "you rank is.." with colors
 
okay look again, but i posted that, therefore see what I edited in code
Is it okay already?

fysiks 07-09-2010 19:07

Re: how can I change "you rank is.." with colors
 
You have to change the code of the plugin to use client_print_colored() or whatever command I used that last time.

unforcer 07-12-2010 14:11

Re: how can I change "you rank is.." with colors
 
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

fysiks 07-12-2010 17:41

Re: how can I change "you rank is.." with colors
 
1 Attachment(s)
Next time you should be posting in Suggestion/Requests.

unforcer 07-13-2010 14:23

Re: how can I change "you rank is.." with colors
 
1 Attachment(s)
:(
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 :)


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

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