• Question about this script I'm working on
    1 replies, posted
Hey quick question about this script. I've recently been working on making a script that disorients the vision of people in the smoke grenade effect. I added this to my .lua function GrenadeDisorient() local ply=Player local smokeparticles = { Model("particle/particle_smokegrenade"), Model("particle/particle_noisesphere") }; if ply in smokeparticles then DrawMaterialOverlay( "models/props_c17/fisheyelens", -0.06 ) end end I don't know whats wrong. I'm sorry for sounding like I don't know what I'm doing. Trying to learn lua. I don't want to be spoonfed so I can teach myself as I'm working. But I'd like hints / what I should do.
Pretty sure it's local ply=player !
Sorry, you need to Log In to post a reply to this thread.