Particle callbacks...

Is there honestly only two arguments for particle callbacks; the particle itself and the vector it hit? And do they collide with players? Is there a hitent argument?

ugh.

Yes, No, No.

It would be nice if garry made it so you can set if particles collide with players and add an argument that returns the entity the particle hit.

Use the OB particle system.
OH WAIT
IT HAS TERRIBLE LUA IMPLEMENTATION TOO

Not related but I didn’t want to make another thread.

How would I use custom functions like ply:GainMoney(500) instead of something like GainMoney(ply, 500)?

[editline]04:20PM[/editline]

Metatables?

[lua]
local mymeta = FindMetaTable(“Player”)
function mymeta:GainMoney(amount)
–asdasdasd
end
[/lua]

alright thanks

Quick note, inside of a metafunction you should reference the player as self.

We can’t even get the particle files downloaded to the client without having to make them restart their gmod…

As far as I know you can’t even get people to download them at all.

http://www.facepunch.com/showthread.php?t=847577