Factions problem
#5

Quote:
Originally Posted by ******
Посмотреть сообщение
Use y_groups - even easier:

pawn Код:
new
    Group:groupLSPD,
    Group:groupSASD;

public OnGameModeInit()
{
    groupLSPD = Group_Create("LSPD");
    groupSASD = Group_Create("SASD");
}
Add/remove players using "Group_SetPlayer(group, player, set);". "set" as "true" to add, "false" to remove. The advantage of this is that y_groups is already fully integrated with y_commands and y_classes, so making faction commands and faction skins is trivial.
Wow, I didn't know yo had a function like this. One more thing that's getting me closer to moving to YCMDS.
Reply


Messages In This Thread
Factions problem - by Jermi - 22.02.2012, 20:53
Re: Factions problem - by Guest9328472398472 - 22.02.2012, 20:56
Re: Factions problem - by Jermi - 22.02.2012, 20:58
Re: Factions problem - by ReneG - 22.02.2012, 22:55
Re: Factions problem - by JhnzRep - 23.02.2012, 00:32

Forum Jump:


Users browsing this thread: 1 Guest(s)