viewing paste Unknown #13794 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
setarray .weapons[0], 1201, 1101;
 
.@userWeapon = getequipid(EQI_HAND_R);
.weapons_size = getarraysize(.weapons);
 
while (.@i < .weapons_size) {
        if (.@userWeapon == .weapons[.@i]) {
                .@check = 1;
                break;
        }
        .@i++;
}
 
if (.@check > 0) {
        // script continues
       
}
else end;
Viewed 673 times, submitted by Pneuma.