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. |
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?
|
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 |
Return PLUGIN_HANDLED instead of PLUGIN_CONTINUE. I think that's all you'd need.
|
which file
|
statsx.sma
|
Quote:
|
If I understand you correctly, yes.
|
Can you upload the .amxx file for me? I don't know which of the ones to edit since they're are many.
|
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.