Prez Posted December 15, 2011 Posted December 15, 2011 Hi there , i have a server which is PK Server . i just want to know how to disable @go command when you're dead ? and when they use @go they will respawn in random coordinate . its like someone using a skill . you won't get hit or kill . thanks Quote
Sneaky Posted December 15, 2011 Posted December 15, 2011 find: if( map[sd->bl.m].flag.nogo && battle_config.any_warp_GM_min_level > pc_isGM(sd) ) { clif_displaymessage(sd->fd,"You can not use @go on this map."); return 0; } Add below: if( pc_isdead(sd) ) { clif_displaymessage(fd, "You cannot use this command when you are dead."); return 0; } About the respawning in random coordinates I have no idea. Quote
Emistry Posted December 15, 2011 Posted December 15, 2011 for Random Spot.... i not sure will this be the correct way... x = y = 0; pc_setpos(sd, sd->mapindex, x, y, CLR_TELEPORT); sprintf(atcmd_output, msg_txt(5), sd->bl.x, sd->bl.y); Quote
Arcenciel Posted December 15, 2011 Posted December 15, 2011 I thought this was fixed a long time ago. Quote
Prez Posted December 15, 2011 Author Posted December 15, 2011 Thanks slim.. @emistry i have no clue either. Quote
Sneaky Posted December 15, 2011 Posted December 15, 2011 I thought this was fixed a long time ago. I thought too. Even in the recent revs. it's been like this, whenever you're dead you can simply @warp, or use @go and you'll ress. That and been able to use @warp/@go whenever the user is in a battle. Quote
Question
Prez
Hi there , i have a server which is PK Server . i just want to know how to disable @go command when you're dead ? and when they use @go they will respawn in random coordinate . its like someone using a skill . you won't get hit or kill . thanks
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.