Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prontera,155,181,5 script Sample#checkitem 757,{
- function checkItem;
- if( checkItem() ){
- mes "You cant bring Healing item into the PVP Maps.";
- }else{
- warp "prontera",155,181;
- }
- close;
- function checkItem {
- getinventorylist;
- for( set .@i,0; .@i < @inventorylist_count; set .@i,.@i + 1 )
- if( getiteminfo( @inventorylist_id[.@i],2 ) == 0 )
- return .@i;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment