Raised This Month: $ Target: $400
 0% 

[solved] copying func_rotating...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 09-27-2006 , 13:09   [solved] copying func_rotating...
Reply With Quote #1

I'm trying to copy a func_rotating to fix the linux bug in HL ( please don't steal my idea )
but when i copy a func_rotating, it works for a few seconds and after that it just stops, and this is not the linux bug, because you can stand on it.

i'm copying it with this code:
Code:
    new stringa[64], Float:veca[3]     new newent = create_entity("func_rotating")         new i     for (i=0;i<=EV_SZ_weaponmodel;i++){         entity_get_string(ent,i,stringa,63)         entity_set_string(newent,i,stringa)     }         for (i=0;i<=EV_VEC_vuser4;i++){         entity_get_vector(ent,i,veca)         entity_set_vector(newent,i,veca)     }         for (i=0;i<=EV_INT_deadflag;i++){         entity_set_int(newent,i,entity_get_int(ent,i))     }         for (i=0;i<=EV_FL_fuser4;i++){         entity_set_float(newent,i,entity_get_float(ent,i))     }         for (i=0;i<=EV_ENT_euser4;i++){         entity_set_edict(newent,i,entity_get_edict(ent,i))     }         for (i=0;i<EV_BYTE_blending2;i++){         entity_set_byte(newent,i,entity_get_byte(ent,i))     }
Note: ent = the entity being copyed

Edit, i need dispatchspawn at the end. solved it.
plugin should come soon after
__________________
Um, hi.

Last edited by Ramono; 09-27-2006 at 13:55.
Ramono 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 04:45.


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