Raised This Month: $ Target: $400
 0% 

entitys help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 11-04-2005 , 17:26  
Reply With Quote #3

Not that great at this either, but try this:

Code:
#include <amxmodx> #include <engine> public plugin_init() {     register_plugin("w/e","w/e","w/e");         set_task(5.0,"do_stuff"); } public do_stuff() {     for(new i = 0;i <= 24;i++)     {         new Float:origin[3];         origin[0] = random_float(0.0,1000.0);         origin[1] = random_float(0.0,1000.0);         origin[2] = random_float(0.0,1000.0);         new ent = create_entity("info_target");         entity_set_origin(ent,origin);         entity_set_string(ent,EV_SZ_model,"whatever_model");     } }

Of course, change some stuff. It'll crash if you load it as-is.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
 



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 23:42.


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