Disable model changing
I have a jailbreak server and my players can change models when they type
model "model name" in console. So I want to disable that command but I don't know how. I tried to return PLUGIN_HANDLED on that command but that didn't worked. Please help :) |
Re: Disable model changing
Search, this was asked several times before. It's also in every model changing plugin.
|
Re: Disable model changing
Quote:
|
Re: Disable model changing
Show what you tried then.
|
Re: Disable model changing
Quote:
Code:
Code:
|
Re: Disable model changing
First, you can't block a client-side command!
Use that it will help you : https://forums.alliedmods.net/showthread.php?t=161255 |
Re: Disable model changing
Quote:
|
Re: Disable model changing
Quote:
|
Please help me
When i want to change player's model when they execute command and when I compile it put in amx i test it by executing a command but my model doesn't changes.
Here's the code: public god(id) { if(get_user_flags(id)& ADMIN_LEVEL_A) { cs_set_user_model(id, HERE'S THE PROBLEM !!!!!!!!!!!!!!) set_user_godmode(id, 1) ColorChat(id, GREY, "You have ^3GodMode ^4!") } } |
Re: Disable model changing
Try this
PHP Code:
Quote:
|
| All times are GMT -4. The time now is 12:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.