Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ACMD_FUNC(die)
- {
- nullpo_retr(-1, sd);
- if(DIFF_TICK(gettick(), sd->canlog_tick) < battle_config.prevent_logout)
- {
- clif_displaymessage(fd, msg_txt(909)); // @die fail. Vous devez attendre 5 secondes
- return -1;
- }
- clif_specialeffect(&sd->bl,450,SELF);
- status_kill(&sd->bl);
- clif_displaymessage(fd, msg_txt(13)); // A pity! You've died.
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement