Prez Posted December 15, 2011 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 78 Reputation: 3 Joined: 12/06/11 Last Seen: November 17, 2024 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 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 392 Reputation: 47 Joined: 11/18/11 Last Seen: July 8, 2024 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 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: 14 hours ago 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 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 1315 Reputation: 372 Joined: 12/10/11 Last Seen: August 31, 2013 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...
Prez Posted December 15, 2011 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 78 Reputation: 3 Joined: 12/06/11 Last Seen: November 17, 2024 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 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 392 Reputation: 47 Joined: 11/18/11 Last Seen: July 8, 2024 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...
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
Link to comment
Share on other sites
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.