Raised This Month: $ Target: $400
 0% 

Entity.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DelFast
Member
Join Date: May 2011
Old 04-16-2012 , 16:31   Entity.
Reply With Quote #1

Why entity dont create?

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <fakemeta>

#define PLUGIN "xxx"
#define VERSION "1.0"
#define AUTHOR "DelFast"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_touch("*","some_entiti","function")
}

public function() {
    new 
ent engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"info_target"))
    
set_pev(ent,pev_classname,"some_entity")
    
set_pev(ent,pev_origin,{3100.51074.4, -2317.2}) // set your origins here
    
engfunc(EngFunc_SetSizeentFloat:{-52.0, -52.0, -32.0}, Float:{52.052.032.0})
    
dllfunc(DLLFunc_Spawnent)
    
set_pev(entpev_solidSOLID_BBOX)

    return 
ent

DelFast is offline
 


Thread Tools
Display Modes

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 07:48.


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