Raised This Month: $51 Target: $400
 12% 

[HELP] anti "model" command!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DreamWorks
Senior Member
Join Date: Mar 2012
Old 06-28-2012 , 17:15   [HELP] anti "model" command!
Reply With Quote #1

Hello, i'm using jbextreme plugin, and players can change their models to a guard model.

they have only to type in console:
Quote:
model gsg9


So please, anyone know how to block this command?

i tryed to code something, but it's won't works.
PHP Code:
Slowhack code removed 

Last edited by YamiKaitou; 07-02-2012 at 08:16.
DreamWorks is offline
Old 06-29-2012, 17:42
DreamWorks
This message has been deleted by YamiKaitou. Reason: wait 14 days until you bump
Fuck_You
Senior Member
Join Date: Dec 2011
Location: return city[id];
Old 06-30-2012 , 00:40   Re: [HELP] anti "model" command!
Reply With Quote #2

up please i need this.
Fuck_You is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 06-30-2012 , 01:55   Re: [HELP] anti "model" command!
Reply With Quote #3

You need something like this, give it a try and see the result.
PHP Code:
#include <amxmodx>
#include <fakemeta>

#define PLUGIN "No Model Change"
#define VERSION "0.0.1"
#define AUTHOR "wbyokomo"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_forward(FM_SetClientKeyValue"OnSetClientKeyValue")
}

public 
OnSetClientKeyValue(id, const infobuffer[], const key[], const value[])
{
    if (
equal(key"model"))
    {        
        return 
FMRES_SUPERCEDE;
    }
    
    return 
FMRES_IGNORED;

__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 06-30-2012 , 08:40   Re: [HELP] anti "model" command!
Reply With Quote #4

Actually, his code would work, but he forgot to put a semicolon before alias.
try this now:

EDIT: Removed the code as it is considered as slowhacking
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.

Last edited by pokemonmaster; 07-01-2012 at 12:42.
pokemonmaster is offline
DreamWorks
Senior Member
Join Date: Mar 2012
Old 06-30-2012 , 10:04   Re: [HELP] anti "model" command!
Reply With Quote #5

I tried the two codes! and it's still not working! Oh my god..

Please! i need help
DreamWorks is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 06-30-2012 , 10:10   Re: [HELP] anti "model" command!
Reply With Quote #6

Quote:
Originally Posted by DreamWorks View Post
I tried the two codes! and it's still not working! Oh my god..

Please! i need help
Did you try mine?
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
Old 06-30-2012, 10:11
DreamWorks
This message has been deleted by YamiKaitou. Reason: slowhack
DreamWorks
Senior Member
Join Date: Mar 2012
Old 06-30-2012 , 10:12   Re: [HELP] anti "model" command!
Reply With Quote #7

Quote:
Originally Posted by pokemonmaster View Post
Did you try mine?
Yes, and when i write: ;Alias model

I have a message in console saying:
Alias not found .
DreamWorks is offline
Old 06-30-2012, 10:22
pokemonmaster
This message has been deleted by YamiKaitou. Reason: slowhack
DreamWorks
Senior Member
Join Date: Mar 2012
Old 06-30-2012 , 10:53   Re: [HELP] anti "model" command!
Reply With Quote #8

Tried! and still players can change their models!!

OMG! Please guys! i beg who know how to fix this shit problem
DreamWorks is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 06-30-2012 , 14:42   Re: [HELP] anti "model" command!
Reply With Quote #9

Well, it worked for me....
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
DreamWorks
Senior Member
Join Date: Mar 2012
Old 06-30-2012 , 19:54   Re: [HELP] anti "model" command!
Reply With Quote #10

It's not working, it's worked for you, because you are not using: jbextreme plugin...
You need to see...
DreamWorks 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 10:26.


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