hi guys, just a quick question.
how do i add more items on the isequipped part on the code?
i tried doing it like this but i got error = " if(pc_isequipped(sd, 23111,23112,23113,23114 and so on.... )){ "
i don't want to do it by putting the same code below the first code with the item 23112 because the items goes beyond 23140 so i would just like to simplify it if possible.
thx guys..
if(pc_isequipped(sd, 23111)){
clif_displaymessage(sd->fd, "Can't attack while on Mount.");
unit_stop_attack(src);
return 0;
}
Question
caspa
hi guys, just a quick question.

how do i add more items on the isequipped part on the code?
i tried doing it like this but i got error = " if(pc_isequipped(sd, 23111,23112,23113,23114 and so on.... )){ "
i don't want to do it by putting the same code below the first code with the item 23112 because the items goes beyond 23140 so i would just like to simplify it if possible.
thx guys..
Link to comment
Share on other sites
6 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.