Nash Posted January 5, 2014 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 174 Reputation: 0 Joined: 02/17/12 Last Seen: May 8, 2014 Share Posted January 5, 2014 Hey Guys ,m trying to make a npc which check if the player has equiped The item and if player has equiped the item it warps him to pvp roomHere Atm m using if((getequipid(1) == 27092)But this does not checks The Costume Equip is it possible to make it check costume equip and if yesHow is it possible? Quote Link to comment Share on other sites More sharing options...
Evil Posted January 5, 2014 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 25 Reputation: 2 Joined: 12/25/11 Last Seen: February 19, 2014 Share Posted January 5, 2014 *getequipid(<equipment slot>) This function returns the item ID of the item equipped in the equipment slot specified on the invoking character. If nothing is equipped there, it returns -1. Valid equipment slots are: EQI_HEAD_TOP (1) - Upper Headear EQI_ARMOR (2) - Armor (jackets, robes) EQI_HAND_L (3) - Left hand (weapons, shields) EQI_HAND_R (4) - Right hand (weapons) EQI_GARMENT (5) - Garment (mufflers, hoods, manteaus) EQI_SHOES (6) - Footgear (shoes, boots) EQI_ACC_L (7) - Accessory 1 EQI_ACC_R (8) - Accessory 2 EQI_HEAD_MID (9) - Middle Headgear (masks, glasses) EQI_HEAD_LOW (10) - Lower Headgear (beards, some masks) EQI_COSTUME_HEAD_LOW (11) - Lower Costume Headgear EQI_COSTUME_HEAD_MID (12) - Middle Costume Headgear EQI_COSTUME_HEAD_TOP (13) - Upper Costume Headgear EQI_COSTUME_GARMENT (14) - Costume Garment EQI_AMMO (15) - Arrow/Ammunition EQI_SHADOW_ARMOR (16) - Shadow Armor EQI_SHADOW_WEAPON (17) - Shadow Weapon EQI_SHADOW_SHIELD (18) - Shadow Shield EQI_SHADOW_SHOES (19) - Shadow Shoes EQI_SHADOW_ACC_R (20) - Shadow Accessory 2 EQI_SHADOW_ACC_L (21) - Shadow Accessory 1 getequipid(1) change to 11-14 Quote Link to comment Share on other sites More sharing options...
Nash Posted January 8, 2014 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 174 Reputation: 0 Joined: 02/17/12 Last Seen: May 8, 2014 Author Share Posted January 8, 2014 (edited) its not working its not checking Top costume item T_T if((getequipid(13) == 27092) || (getequipid(13) == 24275)|| (getequipid(13) == 24276) || (getequipid(13) == 24277) || (getequipid(13) == 24273) || (getequipid(13) == 24280) || (getequipid(13) == 27080) || (getequipid(13) == 24249)) Edited January 12, 2014 by Nash Quote Link to comment Share on other sites More sharing options...
Question
Nash
Hey Guys ,
m trying to make a npc which check if the player has equiped The item and if player has equiped the item it warps him to pvp room
Here Atm m using
if((getequipid(1) == 27092)
But this does not checks The Costume Equip
is it possible to make it check costume equip and if yes
How is it possible?
Link to comment
Share on other sites
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.