QQfoolsorellina Posted April 26, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Share Posted April 26, 2012 (edited) I create a fucntion int checksonething(){} in src/map/vending.c to check somthing ,then I want to use the fuction in atocmmand.c how should I let the specified fucntion work in atocmmand.c? Edited April 26, 2012 by QQfoolsorellina Quote Link to comment Share on other sites More sharing options...
Brian Posted April 26, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted April 26, 2012 (edited) Add a line to the header of /src/map/atcommand.c #include "vending.h" Edit: you're welcome! Edited April 26, 2012 by Brian Quote Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted April 26, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Author Share Posted April 26, 2012 Add a line to the header of /src/map/atcommand.c #include "vending.h" Thank you so much Quote Link to comment Share on other sites More sharing options...
Question
QQfoolsorellina
I create a fucntion int checksonething(){} in src/map/vending.c to check somthing ,then I want to use the fuction in atocmmand.c how should I let the specified fucntion work in atocmmand.c?
Edited by QQfoolsorellinaLink 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.