Raised This Month: $ Target: $400
 0% 

Copy Ent?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Unidentified
Senior Member
Join Date: Aug 2005
Location: Compton, L.A. Thug
Old 12-13-2005 , 21:08  
Reply With Quote #10

Okay, I think I understand It a little better. Would this work?

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <engine> #define PLUGIN "New Plugin" #define VERSION "1.0" #define AUTHOR "Author" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)                 // Would I need a set_task here?     } public newdoor(){     new entity = create_entity("func_door")     entity_set_origin("604 477 -155")         entity_set_int(ent,EV_INT_solid, 2)         entity_set_string(ent,EV_SZ_classname,"model");     entity_set_model(ent,"models/mymodel.mdl");         return PLUGIN_HANDLED }

If It would work, would there be any strange affects or anything?
Unidentified 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 15:48.


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