• Is it possible to..
    3 replies, posted
Is it possible to change self.Owner:SetMaterial("models/flesh") into something like self.Owner:SetGravity(self.Owner:Alive() && .5 || 1 ) ?
what do you mean explain it cus that line gives me nothing
Possible, but won't work. Try this. [lua]if self.Owner:Alive() then self.Owner:SetGravity(.5) else self.Owner:SetGravity(1) end[/lua]
[QUOTE=StormAlt;17293321]Is it possible to change self.Owner:SetMaterial("models/flesh") into something like self.Owner:SetGravity(self.Owner:Alive() && .5 || 1 ) ?[/QUOTE] SetGravity is not an if statement.
Sorry, you need to Log In to post a reply to this thread.