How can i see objects that you trash?

Hello there i was searching a script that make you see the objects that someone throw. Example : a guy in front of me get rid some drugs but i couldn’t see it in the ground. Can you please help me? (sorry for my english)

you have to get the entity’s “net id” that is different than the id you get when “spawning” the object unless you put it inside obj to net kinda like this ObjToNet(CreateObj())

or something like this

SetNetworkIdExistsOnAllMachines(NetworkGetNetworkIdFromEntity(entity), 0)

ok i’ve found out that in the game the drug has a prop. So if i want to see the drugs drop in the ground for a few seconds that code is good ? And where i need to put it? Sorry to bother and thanks.