CyanKnight
When the nightmare is endless!!!
I've been at this for a little over 30 minutes now and to no avail i haven't figured out how to get this to work. Can anyone help me with this?
Code: addHook("ThinkFrame", do
for player in players.iterate
if player.mo and player.mo.skin == "chaos"
if not (player.mo.frame = $1|TR_TRANS1000)
player.mo.frame = $1|TR_TRANS500
end
-----
In-game it says:
Added file trans6.lua (1 lumps)
Loading Lua script from trans6.lua
Pardon me while I initialize the Lua scripting interface...
WARNING: trans6.lua:1: '=' expected
-----
Any insight?
Code: addHook("ThinkFrame", do
for player in players.iterate
if player.mo and player.mo.skin == "chaos"
if not (player.mo.frame = $1|TR_TRANS1000)
player.mo.frame = $1|TR_TRANS500
end
-----
In-game it says:
Added file trans6.lua (1 lumps)
Loading Lua script from trans6.lua
Pardon me while I initialize the Lua scripting interface...
WARNING: trans6.lua:1: '=' expected
-----
Any insight?