AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   A few changes for amxx (https://forums.alliedmods.net/showthread.php?t=26278)

Mod X 03-29-2006 22:19

A few changes for amxx
 
Hey I was wondering if it was possible to make it so that when you type any commands they are invisible. For example:

When you type:
/rank

In the chat area it would pop out as

1 rank of 40000

NOT:
/rank
1 rank of 40000

So if you get it it doesn't show any of the commands, but automatically pops up the rank. Hope you can understand.

Also where can I make it so that if an admin has immunity, they can still be moved using the change team menu. Also an option to put them in spec.

If you dont get any of this, just post and I'll try to answer as best as I can.

EDIT: Also for some reason, when I enable the HS & Distance, where when you kill someone it shows the damage and distance, it does not work. Just exactly like the one from statsme, where it shows damage and distance.

v3x 03-29-2006 22:25

Let me get this straight. You want it so that when a user types "/rank" it won't be visible to anyone else in chat?

Mod X 03-29-2006 22:29

Yes, it there something I need to change in the .sma file?

EDIT: and if you can make it invisible to the user itself. So all that pops up is just the actual rank

Brad 03-29-2006 22:39

Return PLUGIN_HANDLED instead of PLUGIN_CONTINUE. I think that's all you'd need.

Mod X 03-29-2006 22:39

which file

blacam00 03-30-2006 00:49

statsx.sma

Mod X 03-30-2006 17:12

Quote:

Originally Posted by Brad
Return PLUGIN_HANDLED instead of PLUGIN_CONTINUE. I think that's all you'd need.

and is this for only hiding the codes you type in. Ex. /rank, /rankstats, /hp, /me

Brad 03-30-2006 19:54

If I understand you correctly, yes.

Mod X 03-31-2006 17:03

Can you upload the .amxx file for me? I don't know which of the ones to edit since they're are many.

v3x 03-31-2006 18:03

Go to line #1046 (CTRL+G) and change "return PLUGIN_CONTINUE" to "return PLUGIN_HANDLED".


All times are GMT -4. The time now is 09:22.

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