|
How can I add an item exception for flags? Otherwise when you try and capture a flag it will tell you to remove your weapon before capture it which you have the flag in your hand so how do I set it to not ask to remove your weapon if your wearing the flag weapon id?
Code:if (player.playerEquipment[Player.playerWeapon] > 0) { player.sendMessage("Please remove your weapon before attempting to do this."); return; } setSaraFlag(1); addFlag(player, 4037); break;
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |