I have intresting question about y_groups.
#10

It works like that on player class select but the thing is.. I'm making it more advanced.. That why I'm thinking how to do it more currently so basically I need to remake gang system..

Just trying to understand how it works and which is the best way to work with y_groups.. Before I notices that but I thought group by skin id will be much easier so now I don't know if it will check if current skin is in that group or he ain't there is the question.. So basically what I want to make.. is 1 leader skin and rest on team is members...

That why I chosen select group by skin id.. + I removed skin selection..
it seemed more not in my thought style...

Big thanks anyway RealCop228 If I can somehow help you just pm me..

So btw I have it already in script
PHP код:
gLSPD Group_Create("LSPD");
gFBI Group_Create("FBI");
gCadet Group_Create("Cadet");
gMedics Group_Create("Medics"); 
Код:
new
 	Group:gLSPD,
 	Group:gFBI,
 	Group:gCadet,
 	Group:gMedics
;
So basically then I need to remove Class_AddWithGroupSet and add this:

Код:
Group_SetPlayer(a, 5, true);
Group_SetPlayer(a, 7, true);
Group_SetPlayer(a, 89, true);
Group_SetPlayer(a, 50, true);

foreach (Group(a), playerid)
{
    printf("%d", playerid);
}
Or I got it incorrectly?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)