Kakaroto Posted August 2, 2015 Posted August 2, 2015 hello good night, someone could tell me where I am going wrong in this script? I thank you very much. for(set @i,0; @i < 5; set @i,@i+1) if(@nome$[@i] == strcharinfo(0)){ mapwarp "ordeal_1-1","ordeal_1-1",150,150; pcblockmove getcharid(3),1; sleep2 2000; announce "Test.",bc_self; pcblockmove getcharid(3),0; end; } Quote
Kakaroto Posted August 2, 2015 Author Posted August 2, 2015 pcblockmove doesnt exist in your emulator. this? BUILDIN_FUNC(pcblockmove) { int id, flag; TBL_PC *sd = NULL; id = script_getnum(st,2); flag = script_getnum(st,3); if(id) sd = map_id2sd(id); else sd = script_rid2sd(st); if(sd) sd->state.blockedmove = flag > 0; return SCRIPT_CMD_SUCCESS; } Quote
Promise Posted August 22, 2015 Posted August 22, 2015 If u're using eAthena/Old rAthena, you cant use this variable. I had this problem too few days ago using eAmod. (eAthena mod) Quote
Question
Kakaroto
hello good night, someone could tell me where I am going wrong in this script? I thank you very much.
4 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.