iPrez Posted December 15, 2011 Share 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 Link to comment Share on other sites More sharing options...
Sneaky Posted December 15, 2011 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted December 15, 2011 Share 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 Link to comment Share on other sites More sharing options...
Arcenciel Posted December 15, 2011 Share Posted December 15, 2011 I thought this was fixed a long time ago. Quote Link to comment Share on other sites More sharing options...
iPrez Posted December 15, 2011 Author Share Posted December 15, 2011 Thanks slim.. @emistry i have no clue either. Quote Link to comment Share on other sites More sharing options...
Sneaky Posted December 15, 2011 Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites