AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help with prefixes (https://forums.alliedmods.net/showthread.php?t=245450)

LJC 08-02-2014 06:08

Help with prefixes
 
1 Attachment(s)
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?

LJC 08-07-2014 09:38

Re: Help with prefixes
 
Anyone?

LJC 08-07-2014 14:00

Re: Help with prefixes
 
Almost good, but...
http://www17.zippyshare.com/i/142426...ssault0013.bmp

Eagle07 08-07-2014 20:27

Re: Help with prefixes
 
but what ?

Backstabnoob 08-07-2014 20:50

Re: Help with prefixes
 
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.

LJC 08-08-2014 02:39

Re: Help with prefixes
 
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

Backstabnoob 08-08-2014 05:14

Re: Help with prefixes
 
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?

Eagle07 08-08-2014 05:23

Re: Help with prefixes
 
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
:arrow:
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
:arrow:
Quote:

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

Quote:

^1%s^1%s^3 %s :^3 %s
:arrow:
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


LJC 08-08-2014 07:18

Re: Help with prefixes
 
Thank you very much :)


All times are GMT -4. The time now is 13:11.

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