(at first sry for bad english in some sentences)
ok, i already know, that i must change the code bg_classes.c & g_client.c to add new Weapons for a Player Class.
but, that has an effect for all Gametypes in the Game. But i want, that this new Weapons only are avilalbe in my 2 new Gametypes.
i tried to add the following in bg_classes.c
if ( cgs.gametype != GT_WOLF_EAS && cgs.gametype != GT_WOLF_EAT )
{
// the old, standard weapon list for the standard gametypes
bg_playerclass_t bg_allies_playerclasses[NUM_PLAYER_CLASSES] = {
{
.
.
.
.
};
} else {
// and here follows my new Weapon list for the new gametypes
...
}
but, then i got a cyntax-error “if”
has anyone an idea, how i can resolve this problem?
