/*==========================================
* @pk by : java modified i dunno whos the author
*------------------------------------------*/
ACMD_FUNC(pk)
{
nullpo_retr(-1, sd);if (!sd->state.pk_mode) {
sd->state.pk_mode = 1;
clif_displaymessage(sd->fd, "You are now no longer in PK mode.");
}
else {
sd->state.pk_mode = 0;
clif_displaymessage(sd->fd, "Returned to PK mode Mwahahahahha!!!.");
}
return 0;
}
Where should i put that? before or after what to look for?
ACMD_DEF(pk),
And this too?
Compile stopped at atcommand.c when i tried this that's why I asked you cydh.
thanks