yuhsing

Untitled

Dec 5th, 2012
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. prontera,155,181,5 script Sample#checkitem 757,{
  2. function checkItem;
  3.  
  4. if( checkItem() ){
  5. mes "You cant bring Healing item into the PVP Maps.";
  6. }else{
  7. warp "prontera",155,181;
  8. }
  9. close;
  10.  
  11. function checkItem {
  12. getinventorylist;
  13. for( set .@i,0; .@i < @inventorylist_count; set .@i,.@i + 1 )
  14. if( getiteminfo( @inventorylist_id[.@i],2 ) == 0 )
  15. return .@i;
  16. }
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment