Raised This Month: $ Target: $400
 0% 

Problem with godding doors


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wonsae
Senior Member
Join Date: Jan 2006
Location: Behind you >:D
Old 06-26-2006 , 10:52   Problem with godding doors
Reply With Quote #1

Code:
public plugin_init()     {     register_plugin( "GodDoors", "vl", "Wonsae" )     set_task(1.0,"doorhealth")     } public doorhealth(){     new classname[56], door     entity_get_string(door,EV_SZ_classname,classname,55)     door = equali(classname,"func_door") && equali(classname,"func_door_rotating")     if(equali(classname,"func_door") && equali(classname,"func_door_rotating")){         entity_set_float(door,EV_FL_max_health,2000.0)         entity_set_float(door,EV_FL_health,2000.0)         entity_set_float(door,EV_FL_dmg,0.0)         entity_set_float(door,EV_FL_takedamage,0.0)     }     return PLUGIN_HANDLED }

This code doesn't seem to work :\. This is also for TS. the doors keep breaking
wonsae 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 07:56.


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