Yeah but i want only the "set poring,1" can attack by the user activate it
BUMP~
i edit malufett's pk command but when i add this
}else if( map[m].flag.pvp && sd->state.pk_mode && pc_readglobalreg(sd, "poring") == 1 && t_bl->type != BL_MOB )
return 0;
the result is when the player is on "set poring,1" that activates it he can attack other even "set poring,0" i want that if other has "set poring,1" can only attack by the activator
scenario: player 1 activate pkcommand , player 2 has "set poring,1" , player 3 has "set poring,0" , the player 1 can only attack player 2 and player 3 ignored because this command only target "set poring,1"
is this possible to be done?