none Posted August 6, 2014 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 84 Reputation: 1 Joined: 11/14/11 Last Seen: January 19, 2016 Share Posted August 6, 2014 Hi, I've an error: parse_line: expect command, missing function name or calling undeclared function * 384 : 'p'cblockmove getcharid(3),0; it's a script in callfunction.how to attach player ? Thx a lot Quote Link to comment Share on other sites More sharing options...
1 eKoh Posted August 7, 2014 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 206 Reputation: 13 Joined: 01/07/12 Last Seen: July 12, 2020 Share Posted August 7, 2014 (edited) oh I see, I've been trough in something like this, the possible solution is to return back to the script and going back by making a 2nd function after that instruction. Something like this: -<tab>script<tab>OriginalScript<tab>{ //The one where the function is called callfunc("F_function1"); pcblockmove getcharid(3),0; // This is where the function will return callfunc("F_function2"); // And this will go to the 2nd function } function<tab>script<tab>F_function1<tab>{ //Instructions return; // Will go back to the original script } function<tab>script<tab>F_function2<tab>{ //Instructions } It will work, but you need to be sure there is not something like an if { } between these 2 functions, because it will not work, if you provide me the full scripts, I can tell you what to add/change. Edited August 7, 2014 by eKoh Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 7, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 15 hours ago Share Posted August 7, 2014 probably you're not using rAthena ?? what emulator you're using this script command exist since very long ago in *Athena, pcblockmove unless you removed it. Quote Link to comment Share on other sites More sharing options...
sinya Posted August 7, 2014 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 15 Reputation: 0 Joined: 04/24/12 Last Seen: August 9, 2014 Share Posted August 7, 2014 let me guess ... you are using eamod right? pcblock ,0,1; Quote Link to comment Share on other sites More sharing options...
Question
none
Hi,
I've an error:
parse_line: expect command, missing function name or calling undeclared function
* 384 : 'p'cblockmove getcharid(3),0;
it's a script in callfunction.
how to attach player ?
Thx a lot
Link to comment
Share on other sites
3 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.