Raised This Month: $ Target: $400
 0% 

[REQ] Admin Chat Colors (edited) Fix


Post New Thread Reply   
 
Thread Tools Display Modes
bruno_cso
Junior Member
Join Date: Jul 2010
Old 09-01-2011 , 17:32   Re: [REQ] Admin Chat Colors (edited) Fix
Reply With Quote #11

[en]
sma try this and see what you need to add the name and do not forget you'll have to edit the txt file.
I did not edit but I got in another forum and also not tested.

[bp]
tente essa sma e veja o que precisa adiciona no nome e nao esqueça que você vai ter que edita o arquivo de txt
eu não editei e sim peguei pronta e não testei tmabem.
Attached Files
File Type: sma Get Plugin or Get Source (admincmd_custom_color.sma - 489 views - 33.4 KB)
__________________
[IMG]http://img18.**************/img18/8814/full20teamdu1.gif[/IMG]
bruno_cso is offline
modernwarfare
Senior Member
Join Date: Aug 2011
Location: sweden
Old 09-01-2011 , 17:41   Re: [REQ] Admin Chat Colors (edited) Fix
Reply With Quote #12

Quote:
Originally Posted by Exolent[jNr] View Post
That works, but then displays "%%s" instead of "%s".

I think the best method would be replacing "%s" with " s" (notice the space).
This is because in chat, all % are converted into spaces anyway.
So replacing them with a space to prevent the crash would go unnoticed in the chat.
that was very good idea

what a brain
__________________
Im supporting/coding XP Mod Plugin
Free Palestine
R.I.P. The 2967 American people that lost their lives 9/11 and R.I.P.
The 48,644 Afghan and 1,690,903 Iraqi people that paid the ultimate price for a crime they did not commit.



modernwarfare is offline
Send a message via MSN to modernwarfare Send a message via Skype™ to modernwarfare
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 20:22.


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