1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ACMD_FUNC(mapcrash) { struct status_change *sc; int t=0; if (!sd) return -1; sc = status_get_sc(&sd->bl); t = sc->data[SC_BLADESTOP]->val1; //mapcrash if no bladstop ShowInfo("val1=%d",t); clif_displaymessage(sd->fd, "Boom !"); return 0; } .... ACMD_DEF(mapcrash), |