letstry Posted May 25, 2012 Share Posted May 25, 2012 Need help in source for my @pkmode command.. My server is running on pk on This means: pkmode on will not work on town maps ( on vs on ) if( (sd->pk_enable == true && map[sd->bl.m].flag.town == 0) && s_bl->type == BL_PC && ((TBL_PC*)s_bl)->pk_enable == true ) state |= BCT_ENEMY; This means: pkmode off will not work on gvg maps.. ( off vs off ) if( (sd->pk_enable == false && map[sd->bl.m].flag.gvg) && s_bl->type == BL_PC && ((TBL_PC*)s_bl)->pk_enable == false ) return 0; This means: pkmode off will not work on gvg maps.. ( off vs on ) if( (sd->pk_enable == false && map[sd->bl.m].flag.gvg) && s_bl->type == BL_PC && ((TBL_PC*)s_bl)->pk_enable == true ) return 0; This means: pkmode off will not work on gvg maps.. ( off vs on ) if( (sd->pk_enable == true && map[sd->bl.m].flag.gvg) && s_bl->type == BL_PC && ((TBL_PC*)s_bl)->pk_enable == false ) return 0; But I think it's not working :< help me please thanks BUMP Quote Link to comment Share on other sites More sharing options...
letstry Posted May 27, 2012 Author Share Posted May 27, 2012 BUMP Quote Link to comment Share on other sites More sharing options...
Need help in source for my @pkmode command..
My server is running on pk on
This means: pkmode on will not work on town maps ( on vs on )
This means: pkmode off will not work on gvg maps.. ( off vs off )
This means: pkmode off will not work on gvg maps.. ( off vs on )
This means: pkmode off will not work on gvg maps.. ( off vs on )
But I think it's not working :< help me please thanks
BUMP
Link to comment
Share on other sites