VladimirCastro Posted April 28, 2015 Group: Members Topic Count: 114 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 03/13/12 Last Seen: September 18, 2016 Share Posted April 28, 2015 /*-----------* * @mall *-----------*/ int atcommand_mall(const int fd, struct map_session_data *sd, const char *command, const char *message) { nullpo_retr(-1,sd); npc_event(sd,"Mall::OnWarp",0); return 0; } how to convert this for latest rathena? Quote Link to comment Share on other sites More sharing options...
ocelote Posted April 29, 2015 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 52 Reputation: 7 Joined: 01/02/12 Last Seen: July 3, 2015 Share Posted April 29, 2015 ACMD_FUNC(mall){ nullpo_retr(-1,sd); if( sd->npc_id || sd->vender_id || sd->buyer_id || sd->state.trading || sd->state.storage_flag ) return -1; npc_event(sd,"Mall::OnWarp",0); return 0; } Quote Link to comment Share on other sites More sharing options...
Question
VladimirCastro
how to convert this for latest rathena?
Link to comment
Share on other sites
1 answer 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.