Raised This Month: $ Target: $400
 0% 

Help with pev_groupinfo


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
_Pro_
Senior Member
Join Date: Mar 2012
Location: Argentina
Old 08-03-2013 , 20:36   Help with pev_groupinfo
Reply With Quote #1

Hello everyone! Is the first time that I post in english! I need help to understand the pev_groupinfo... I dont know what is it and what is his function, if anyone knew tell me please! Sorry for my bad english :c Thanks for read!
_Pro_ is offline
Send a message via MSN to _Pro_ Send a message via Skype™ to _Pro_
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 08-04-2013 , 07:28   Re: Help with pev_groupinfo
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=154538

https://forums.alliedmods.net/showth...=pev_groupinfo
__________________

Last edited by Black Rose; 08-04-2013 at 07:38.
Black Rose is offline
_Pro_
Senior Member
Join Date: Mar 2012
Location: Argentina
Old 08-04-2013 , 11:30   Re: Help with pev_groupinfo
Reply With Quote #3

I have seen this, and I dont understand how work pev_groupinfo, for this I make the thread! Thanks!
I tried to do an ent that is not solid for some players and solid for others... but the ent is solid for everyone o not solid for everyone...
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>

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

new g_ent = -1

public plugin_precache() precache_model("models/Ancestral-Games/Bhop.mdl")

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_ent"models/Ancestral-Games/Bhop.mdl")
    
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)


Last edited by _Pro_; 08-04-2013 at 20:38.
_Pro_ is offline
Send a message via MSN to _Pro_ Send a message via Skype™ to _Pro_
Reply


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 15:51.


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