Raised This Month: $ Target: $400
 0% 

Godmode an ent.


Post New Thread Reply   
 
Thread Tools Display Modes
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-20-2006 , 22:43  
Reply With Quote #11

Wasn't going to edit your code but ugly doesn't work for me.

Code:
#include <amxmodx> #include <amxmisc> #include <engine> public plugin_init() {     register_plugin("Meck V3B1 Cleanup","1.0","Minimum")     set_task(5.0,"cleanup") } public cleanup() {     new ent = find_ent_by_class(0,"func_door")     while(ent)     {         entity_set_float(ent,EV_FL_takedamage,0.0)         ent = find_ent_by_class(ent,"func_door")     }     ent = find_ent_by_class(0,"func_door_rotating")     while(ent)     {         entity_set_float(ent,EV_FL_takedamage,0.0)         ent = find_ent_by_class(ent,"func_door_rotating")     }     server_print("Successfully Executed Cleanup.") }
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Minimum
Senior Member
Join Date: Jun 2006
Old 06-20-2006 , 22:44  
Reply With Quote #12

Success at last! Thanks.
Minimum is offline
Send a message via AIM to Minimum Send a message via MSN to Minimum
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 03:53.


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