Yoshirocks90
Member
Code:
local PlayerHeight = player.mo.z
addHook("ThinkFrame", do
for player in players.iterate
if player.mo.skin = "yoshi" & player.powers[pw_super] & PF_JUMPED & (player.cmd.buttons & BT_USE) then
player.mo.z = PlayerHeight
else
end
end
end)
When I add the script, I get this in the console:
WARNING: Yoshi.wad|LUA_FLOT:6: unexpected symbol near '='
What am I doing wrong?