Raised This Month: $ Target: $400
 0% 

diseble comands


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
beHapy
Junior Member
Join Date: Oct 2005
Old 10-13-2005 , 07:37   diseble comands
Reply With Quote #1

sory for bad eng.

it is posible to kick palyer when he change cl_weather 0 when its orginal 1 (exemple)
beHapy is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 10-13-2005 , 07:50  
Reply With Quote #2

Code:
#include <amxmodx> #include <engine> new g_iFrame[33]; public plugin_init() {   register_plugin("cl_weather kicker","0.1","v3x"); } public client_PreThink( id ) {   if( g_iFrame[id] >= 30 )   {     new szInfo[9];     get_user_info(id, "cl_weather", szInfo, 8);     new iValue = str_to_num(szInfo);     if( iValue != 1 )     {       server_cmd("amx_kick #%i ^"cl_weather needs to be set to 1^"", get_user_userid(id));     }     g_iFrame[id] = 0;   }   g_iFrame[id]++; }
__________________
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
beHapy
Junior Member
Join Date: Oct 2005
Old 10-13-2005 , 09:00  
Reply With Quote #3

where and how ?
beHapy is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-13-2005 , 11:06  
Reply With Quote #4

v3x you silly little goose

you forgot the engine module


here is the .sma just compile and install like any other plugin
Attached Files
File Type: sma Get Plugin or Get Source (cl_weather.sma - 885 views - 523 Bytes)
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 10-13-2005 , 11:12  
Reply With Quote #5

__________________
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
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 10-13-2005 , 11:15  
Reply With Quote #6

wow this solve the cl_minmodels 1 problem that i never got a proper answer at...
__________________
atomic is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-13-2005 , 11:37  
Reply With Quote #7

Yes you did, avalanche did the exact same thing v3x just did.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 10-13-2005 , 11:49  
Reply With Quote #8

did he? oh...dam
__________________
atomic is offline
beHapy
Junior Member
Join Date: Oct 2005
Old 10-13-2005 , 12:05  
Reply With Quote #9

heh nice work but i dont need thet ..

can kick on rekvest when player asking cl_weather = kick

enyway its 0 or 1 ...
beHapy is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-13-2005 , 12:11  
Reply With Quote #10

This does what you want it to.

There is no point in catching it ( your way) , because i could simply leave your server, then come back with cl_weather set to 0, and you would never catch me.


This does a better job. Use it.
Attached Files
File Type: sma Get Plugin or Get Source (cl_weather.sma - 717 views - 523 Bytes)
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 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 23:41.


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