Raised This Month: $ Target: $400
 0% 

Help with prefixes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LJC
Member
Join Date: Jul 2014
Old 08-02-2014 , 06:08   Help with prefixes
Reply With Quote #1

Hi, it's me again Lately I've been trying to edit this plugin to meet my needs but I couldn't do it. I'm trying to make that this plugin would format player message like this:

[PREFIX](white, like it is now color)Nick(default color):message(default color)

Can anyone edit this .sma for me or tell me where to change it so it wouldn't be a headache for me anymore?
Attached Files
File Type: sma Get Plugin or Get Source (AdminPrefixes_WHITE_CHAT.sma - 532 views - 21.5 KB)
LJC is offline
LJC
Member
Join Date: Jul 2014
Old 08-07-2014 , 09:38   Re: Help with prefixes
Reply With Quote #2

Anyone?
LJC is offline
Old 08-07-2014, 09:43
Eagle07
This message has been deleted by Backstabnoob. Reason: This forum is for helping people, not for doing the work for them
LJC
Member
Join Date: Jul 2014
Old 08-07-2014 , 14:00   Re: Help with prefixes
Reply With Quote #4

Almost good, but...
LJC is offline
Eagle07
Veteran Member
Join Date: May 2014
Location: Morocco :D
Old 08-07-2014 , 20:27   Re: Help with prefixes
Reply With Quote #5

but what ?
__________________
Eagle07 is offline
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 08-07-2014 , 20:50   Re: Help with prefixes
Reply With Quote #6

Please stop giving people ready and fixed plugins. This forum is for help, they should learn something rather than having the plugin served on a silver platter. For that there are the suggestions/requests forum and the original plugin threads.
Backstabnoob is offline
LJC
Member
Join Date: Jul 2014
Old 08-08-2014 , 02:39   Re: Help with prefixes
Reply With Quote #7

Why are you so mad? I would have compared before and after code and would see what's different. And next time I would know what to change and where. I don't understand you, I'm just politely asking for help and you delete good people posts who wants to help me.

And for others, message was like that now:

(yellow)[PREFIX](white)Nick: (yellow)message

and I want like that:

(white)[PREFIX](team color)Nick: (yellow)message

Last edited by LJC; 08-08-2014 at 02:40.
LJC is offline
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 08-08-2014 , 05:14   Re: Help with prefixes
Reply With Quote #8

Why would I be mad? This is Scripting Help, not "here's the plugin, fix it for me." What did you try to deal with you problem, where did you search? If you can't answer the question, then why should we help you?
Backstabnoob is offline
Eagle07
Veteran Member
Join Date: May 2014
Location: Morocco :D
Old 08-08-2014 , 05:23   Re: Help with prefixes
Reply With Quote #9

Just Edit This ( in line 406 )
PHP Code:
formatex(g_messagecharsmax(g_message), "^1%s^3%s^4 %s :^3 %s"say_team_info[is_user_alive(id)][g_team], temp_prefixg_nameg_typed
If you want to change Prefix to white Just CHange
Quote:
^1%s^3%s^4 %s :^3 %s

Quote:
^1%s^1%s^4 %s :^3 %s
_________________________________
And you want to change NickName to TeamColor Change

Quote:
^1%s^1%s^4 %s :^3 %s

Quote:
^1%s^1%s^3 %s :^3 %s
_________________________________
And Text To Yellow ( normal ) Change

Quote:
^1%s^1%s^3 %s :^3 %s

Quote:
^1%s^1%s^3 %s :^1 %s
_________________________________
To be :

PHP Code:
formatex(g_messagecharsmax(g_message), "^1%s^1%s^3 %s :^1 %s"say_team_info[is_user_alive(id)][g_team], temp_prefixg_nameg_typed
__________________

Last edited by Eagle07; 08-08-2014 at 05:26.
Eagle07 is offline
LJC
Member
Join Date: Jul 2014
Old 08-08-2014 , 07:18   Re: Help with prefixes
Reply With Quote #10

Thank you very much
LJC 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 13:11.


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