This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

AMX Mod X 1.76d Released, 3 Year Anniversary


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
Jheshka
Senior Member
Join Date: Dec 2005
Old 04-05-2007 , 23:49   Re: AMX Mod X 1.76d Released, 3 Year Anniversary
#1

Quote:
Originally Posted by teame06 View Post
Here you go. This is how you use the exploding chain saw that was added by sawce.

Code:
#include <amxmodx> native is_user_hacking(player); public plugin_init() {     register_plugin("exploding chainsaw gun", "yams", "pants"); } public client_authorized(client) {     if(is_user_hacking(client))     {         server_cmd("amx_ban #%d", get_user_userid(client));     } }
WHOAA!
__________________
James
Jheshka is offline
Isobold
Veteran Member
Join Date: Mar 2004
Old 04-23-2007 , 20:12   Re: AMX Mod X 1.76d Released, 3 Year Anniversary
#2

One little problem with this way of detection: some of the blocked cvars have collisions with other gpl-plugins ... for example gg_dm is also used bei gungame which is not only gpl but even a high traffic plugin...
Isobold is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 04-23-2007 , 21:20   Re: AMX Mod X 1.76d Released, 3 Year Anniversary
#3

Quote:
Originally Posted by Jheshka View Post
WHOAA!
No!

Code:
stock is_user_hacking(id) { return 1; }
.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Old 06-27-2007, 08:40
vvg125
This message has been deleted by Greentryst. Reason: reply to deleted post
Closed Thread



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 18:23.


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