Raised This Month: $ Target: $400
 0% 

semi godmode


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 11-01-2007 , 11:26   Re: semi godmode
Reply With Quote #8

Quote:
Originally Posted by connorr View Post
I'm not familiar either, but in this case, the use of ham looks like fakemeta.

Code:
#include <amxmodx> #include <fakemeta> #include <hamsandwich> new g_max_clients public plugin_init() {     register_plugin( "No Weapons Damage" , "0.1" , "connor" )     RegisterHam( Ham_TakeDamage , "player" , "player_TakeDamage" ) } public plugin_cfg() {     g_max_clients = global_get( glb_maxClients ) } public player_TakeDamage( this , idinflictor , idattacker , Float:damage , damagebits ) {     if( 1 <= idattacker <= g_max_clients )         return HAM_SUPERCEDE     return HAM_IGNORED }
Well I for one am fairly familiar with HS, and that looks to me like it should work fine.
I don't think you need to include FM though.

And might I say, that's a very sly way to do it - if it works it'd be morally wrong to use any other method.
purple_pixie is offline
 



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 01:20.


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