Raised This Month: $ Target: $400
 0% 

Change movetype on func_door


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 10-22-2009 , 09:37   Change movetype on func_door
Reply With Quote #1

Hi.

PHP Code:
public remove_move() 
{    
    new 
ent 0
    
while(( ent find_ent_by_class(-1"func_door") ))
    {
        
entity_set_int(entEV_INT_movetypeMOVETYPE_NONE)
    }

This code is crashing server. So how to change movetype to none ? I also tried to set entity speed to 0, and movedir to {0.0, 0.0, 0.0}, but server still crashing.

So how prevent these entity from move?
__________________
Join US - custom Zombie Server - Custom Addons:




Last edited by Sn!ff3r; 10-22-2009 at 09:40.
Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
 



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 17:34.


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