Raised This Month: $ Target: $400
 0% 

Ent Spawning (Solid Problem)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
udsting
Junior Member
Join Date: Sep 2006
Location: California, USA
Old 11-10-2007 , 22:25   Re: Ent Spawning (lol I dunno)
Reply With Quote #5

Code:
#include <amxmodx> #include <amxmisc> #include <engine> #include <fun> #include <fakemeta> #define PLUGIN "QuickfixPlugs" #define VERSION "1.1" #define AUTHOR "udsting" public plugin_init() {         register_plugin(PLUGIN, VERSION, AUTHOR)         set_lights("a")         model_spawn("models/mecklenburg/piano.mdl")     } public plugin_precache() {     precache_model("models/mecklenburg/piano.mdl") } public model_spawn(model[]) {     new Float:origin[3] = {1354.0,-1895.0,-215.0}     new Float:maxs[3] = {100.0,26.0,52.0}     new Float:mins[3] = {-100.0,-26.0,-52.0}     new Float:angles[3] = {-0.0, -180.0, -0.0}             new ent = create_entity("info_target")     entity_set_string(ent, EV_SZ_classname, "entaddons")     entity_set_model(ent,model)     entity_set_origin(ent,origin)     entity_set_vector(ent,EV_VEC_angles,angles)     entity_set_size(ent,mins,maxs)     entity_set_int(ent,EV_INT_solid,2)     entity_set_int(ent,EV_INT_movetype,0)     entity_set_float(ent,EV_FL_animtime,2.0)     entity_set_float(ent,EV_FL_framerate,1.0)     entity_set_int(ent,EV_INT_sequence,1);     entity_set_byte(ent,EV_BYTE_controller1,125);     entity_set_byte(ent,EV_BYTE_controller2,125);     entity_set_byte(ent,EV_BYTE_controller3,125);     entity_set_byte(ent,EV_BYTE_controller4,125);     }
__________________

Last edited by udsting; 11-11-2007 at 02:21.
udsting is offline
Send a message via AIM to udsting Send a message via MSN to udsting Send a message via Yahoo to udsting Send a message via Skype™ to udsting
 



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 01:14.


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