Raised This Month: $ Target: $400
 0% 

minmodel plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XxKpAznGuyxX
Senior Member
Join Date: Dec 2004
Location: EARTH!!
Old 03-24-2005 , 05:51   minmodel plugin
Reply With Quote #1

ok I want to make a plugins that whenever players come to my server (which has chicken mod rebirth) I want then to have cl_minmodels disabled, This is what I have so far by copying knekter Fix Client V0.2

Code:
#include <amxmodx> public plugin_init() {     register_plugin("minmodels", "0.1", "XxKpAznGuYxX")     register_cvar("sv_fix", "1")     register_cvar("sv_minmodels", "0") } public client_putinserver(id) {     if(get_cvar_num("sv_fix")) {         new minmodels         minmodels = get_cvar_num("sv_minmodels")         console_cmd(id, "cl_minmodels %i", minmodels)     } }

I tried it on myself but it doesn't work maybe its because I have immunity? but if thats not it I please help me
__________________
24/7 Chicago Terror-8.9.2.120:27015
XxKpAznGuyxX is offline
Send a message via AIM to XxKpAznGuyxX Send a message via MSN to XxKpAznGuyxX
XxKpAznGuyxX
Senior Member
Join Date: Dec 2004
Location: EARTH!!
Old 03-24-2005 , 13:33  
Reply With Quote #2

anyone know? I'm not good at scripting so Please Help me
__________________
24/7 Chicago Terror-8.9.2.120:27015
XxKpAznGuyxX is offline
Send a message via AIM to XxKpAznGuyxX Send a message via MSN to XxKpAznGuyxX
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 03-24-2005 , 13:34  
Reply With Quote #3

The only thing I could suggest is to try changing console_cmd to client_cmd, although I don't know much about the difference.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX 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 09:54.


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