XenaNyx Posted February 19, 2012 Posted February 19, 2012 How to set don't use item in cell ? because i use call function in item when i use item near emperium if function script have mes command emperium is hide. Quote
Wynn_ Posted February 19, 2012 Posted February 19, 2012 function script XY_Check { getmapxy(.@m$,.@x,.@y,0); if( .@m$ == getarg(0) && ( .@x >= ((getarg(1)>getarg(3))?getarg(3):getarg(1)) && .@x <= ((getarg(1)<getarg(3))?getarg(3):getarg(1)) ) && ( .@y >= ((getarg(2)>getarg(4))?getarg(4):getarg(2)) && .@y <= ((getarg(2)<getarg(4))?getarg(4):getarg(2)) ) ) return 1; return 0; } if(callfunc("XY_Check", "map", x1, y1, x2, y2)) end; Add this to the beggining of your script, xy1 and 2 work kind of like setcell. 2 Quote
XenaNyx Posted February 19, 2012 Author Posted February 19, 2012 wow nice it's work thank you so much Quote
Question
XenaNyx
How to set don't use item in cell ?
because i use call function in item when i use item near emperium if function script have mes command emperium is hide.
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.