[Lua] [Help] Getting material player is standing on?

Hello,

I was wondering if anyone knows how to get the current material a player is standing on? (Grass, dirt, tarmac etc)

Thanks,
Scotty

Took me a minute to find it but I remembered seeing this. Maybe it helps…

http://gtaforums.com/topic/899267-entities-and-materials/