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 [b]hitent[/b] 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 [b]ply:GainMoney(500)[/b] instead of something like [b]GainMoney(ply, 500)[/b]?
[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.
[QUOTE=Empty_Shadow;18589578]Use the OB particle system.
OH WAIT
IT HAS TERRIBLE LUA IMPLEMENTATION TOO[/QUOTE]
We can't even get the particle files downloaded to the client without having to make them restart their gmod..
[QUOTE=Kill coDer;18595592]We can't even get the particle files downloaded to the client without having to make them restart their gmod..[/QUOTE]
As far as I know you can't even get people to download them at all.
[QUOTE=Empty_Shadow;18596798]As far as I know you can't even get people to download them at all.[/QUOTE]
[url]http://www.facepunch.com/showthread.php?t=847577[/url]
Sorry, you need to Log In to post a reply to this thread.