Can you change what IPL is loaded in ".lua" script?

Okey, let’s take an exsampel here:

I have a destroyed InteriorProp
I also have a clean InteriorProp

But can i make so, it change after something happend i the code - my thoughts down below:

if KeyPress(“E”) then
EnableInteriorProp(“NewInteriorProp”)
else
EnableInteriorProp(“StayTheSame”)
end
end

And I know, the “If” statement won’t work, i just set up an exsampel and more code needed, just asking if it’s possible
And I’m not native english, so there might be some gramma error.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.