Currently Posted July 10, 2013 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Share Posted July 10, 2013 An NPC that checks if a player has any item in the inventory, if no then warp to "prontera". if yes, then cancel. Last one, An NPC that checks if playing is wearing specific equipment. For example: Check if player is wearing 15000 ID armor, 15001 ID garment, so on. If yes, then warp to prontera. If no, then cancel. Please help! Need for a project! Thank you for those with kind hearts Quote Link to comment Share on other sites More sharing options...
Patskie Posted July 10, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 5 hours ago Share Posted July 10, 2013 An NPC that checks if a player has any item in the inventory, if no then warp to "prontera". if yes, then cancel. http://rathena.org/wiki/Getinventorylist setarray .@restricted[0],15000,15001; <item id> set .@size, getarraysize(.@restricted); for ( .@i = 0; .@i < .@size; .@i++ ) { if ( getequipid(EQI_ARMOR) == .@restricted[.@i] || getequipid(EQI_GARMENT) == .@restricted[.@i] ) warp "prontera",150,150; else end; } Quote Link to comment Share on other sites More sharing options...
Question
Currently
An NPC that checks if a player has any item in the inventory, if no then warp to "prontera". if yes, then cancel.
Last one,
An NPC that checks if playing is wearing specific equipment.
For example: Check if player is wearing 15000 ID armor, 15001 ID garment, so on. If yes, then warp to prontera. If no, then cancel.
Please help! Need for a project! Thank you for those with kind hearts
Link to comment
Share on other sites
1 answer 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.