Raised This Month: $ Target: $400
 0% 

how to use pev_groupinfo


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MexPower
Veteran Member
Join Date: Nov 2012
Old 10-09-2014 , 15:51   how to use pev_groupinfo
Reply With Quote #1

Hello, I need help on the subject of this pev
What I do is:
Make (sandbag) transferred entity that humans, but not for the zombies, this according to experts need to use pev_groupinfo
If someone had a solution on how to use it would be greatly appreciate it.

PHP Code:
public fw_touchsaco(entid) {
    if(
pev_valid(ent) && is_user_alive(id)) {
        static 
groupinfopev(entpev_groupinfogroupinfo)
        if(
groupinfo id) {
            if(
zp_get_user_zombie(id)) 
                
set_pev(entpev_groupinfogroupinfo & ~id)
        }
        else {
            if(!
zp_get_user_zombie(id)) 
                
set_pev(entpev_groupinfogroupinfo id)
        }
    }    

I tried that but it has paid me: /
Thanks for reading
__________________
Allied Modders En Espaņol

Last edited by MexPower; 10-09-2014 at 15:53.
MexPower is offline
 



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


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