All pastes #419083 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-01 01:13 UTC
rendered paste body
						for i=1,5000 do
										local en=ents.GetByIndex(i)
											if en:IsValid() then
												if en:GetParent()==ply then
													if en:IsWeapon() then
													-- this weapon belongs to the player
													end
												end
											end
									end