Raised This Month: $ Target: $400
 0% 

Help with pev_groupinfo


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bibu
Veteran Member
Join Date: Sep 2010
Old 12-26-2014 , 10:18   Re: Help with pev_groupinfo
Reply With Quote #1

Show your full code if you really need help.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
pacheco
Senior Member
Join Date: Jul 2011
Old 12-27-2014 , 14:39   Re: Help with pev_groupinfo
Reply With Quote #2

Quote:
Originally Posted by bibu View Post
Show your full code if you really need help.
PHP Code:
#include <amxmodx> 
#include <amxmisc> 
#include <fakemeta> 
#include <zombieplague>

#define PLUGIN    "Solid y NO Solid" 
#define AUTHOR    "Gonza.-*" 
#define VERSION    "1.0" 

new g_ent = -

#define g_model "models/box.mdl"

public plugin_precache() precache_model(g_model

public 
plugin_init() 

    
register_plugin(PLUGINVERSIONAUTHOR
    
    
register_clcmd("test""test"
    
register_clcmd("test2""test2"


public 
test2(id

    
set_pev(g_entpev_groupinfopev(g_entpev_groupinfo) & ~id


public 
test(id

    
g_ent engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"info_target")) 
    
    if (!
pev_valid(g_ent)) return 
    
    
set_pev(g_entpev_classname"BM_Block"
    
set_pev(g_entpev_solidSOLID_BBOX
    
    
engfunc(EngFunc_SetModelg_entg_model
    
engfunc(EngFunc_SetSizeg_entFloat:{-32.0, -32.0, -4.0}, Float:{ 32.032.04.0 }) 
    
    new 
Float:fOrigin[3]; pev(idpev_originfOrigin
    
fOrigin[1] -= 60.0 
    
    engfunc
(EngFunc_SetOriging_entfOrigin
    
    
set_pev(g_entpev_groupinfopev(g_entpev_groupinfo) | id
    
    
engfunc(EngFunc_DropToFloor,g_ent)


// TR
public zp_user_infected_post(id)
{
    
set_pev(g_entpev_groupinfopev(g_entpev_groupinfo) & ~id)
    
//client_print(0, print_chat, "called infected")
}

// CT
public zp_user_humanized_post(id)
{
    
set_pev(g_entpev_groupinfopev(g_entpev_groupinfo) | id);
    
//client_print(0, print_chat, "called humanized")

__________________



pacheco is offline
Reply



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:17.


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