View Single Post
  #5  
Old 07-22-2013, 12:48 AM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
1st: you wouldnt even need the sleep
2nd: check if the weapon is not Test/One..

PHP Code:
temp.except = {"Test/One"}; //array of weapons starting with 'Test/' which should not be removed
for (temp.wplayer.weapons) {
  if (
temp.w.starts("Test/") && !(temp.w in temp.except)) player.removeWeapon(temp.w)

__________________
MEEP!
Reply With Quote