Raised This Month: $ Target: $400
 0% 

A few changes for amxx


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mod X
Member
Join Date: Mar 2006
Location: Shawnee, KS
Old 03-29-2006 , 22:19   A few changes for amxx
Reply With Quote #1

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.
Mod X is offline
Send a message via AIM to Mod X
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-29-2006 , 22:25  
Reply With Quote #2

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?
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Mod X
Member
Join Date: Mar 2006
Location: Shawnee, KS
Old 03-29-2006 , 22:29  
Reply With Quote #3

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
Mod X is offline
Send a message via AIM to Mod X
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-29-2006 , 22:39  
Reply With Quote #4

Return PLUGIN_HANDLED instead of PLUGIN_CONTINUE. I think that's all you'd need.
Brad is offline
Mod X
Member
Join Date: Mar 2006
Location: Shawnee, KS
Old 03-29-2006 , 22:39  
Reply With Quote #5

which file
Mod X is offline
Send a message via AIM to Mod X
blacam00
Junior Member
Join Date: Aug 2005
Old 03-30-2006 , 00:49  
Reply With Quote #6

statsx.sma
blacam00 is offline
Mod X
Member
Join Date: Mar 2006
Location: Shawnee, KS
Old 03-30-2006 , 17:12  
Reply With Quote #7

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
Mod X is offline
Send a message via AIM to Mod X
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-30-2006 , 19:54  
Reply With Quote #8

If I understand you correctly, yes.
Brad is offline
Mod X
Member
Join Date: Mar 2006
Location: Shawnee, KS
Old 03-31-2006 , 17:03  
Reply With Quote #9

Can you upload the .amxx file for me? I don't know which of the ones to edit since they're are many.
Mod X is offline
Send a message via AIM to Mod X
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-31-2006 , 18:03  
Reply With Quote #10

Go to line #1046 (CTRL+G) and change "return PLUGIN_CONTINUE" to "return PLUGIN_HANDLED".
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x 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 22:19.


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