Lordamax Posted January 9, 2012 Group: Members Topic Count: 71 Topics Per Day: 0.01 Content Count: 328 Reputation: 13 Joined: 11/27/11 Last Seen: July 2, 2016 Share Posted January 9, 2012 How can i disable the @go command if the player died? Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 9, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2371 Joined: 10/28/11 Last Seen: Thursday at 02:49 PM Share Posted January 9, 2012 add this in the @go command function there.... if( pc_isdead(sd) ) { clif_displaymessage(fd, "You cannot use this command when dead."); return -1; } Quote Link to comment Share on other sites More sharing options...
Lordamax Posted January 10, 2012 Group: Members Topic Count: 71 Topics Per Day: 0.01 Content Count: 328 Reputation: 13 Joined: 11/27/11 Last Seen: July 2, 2016 Author Share Posted January 10, 2012 (edited) where should i put that code? *find it already tnx for the help Edited January 10, 2012 by Tabomax Quote Link to comment Share on other sites More sharing options...
Question
Lordamax
How can i disable the @go command if the player died?
Link to comment
Share on other sites
2 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.