Jammin'
NNNO WAY! I CAN'T BELIEEEEVE THIS!
i mean, i dont know much about lua and i can barely write working code without help. i mean no warnings come up when i load the lua, but yet the abilities dont change.
code:
code:
Code:
addHook("PlayerThink", function(player)
if player.mo.skin == "sonic" then
player.mo.charability = CA_DOUBLEJUMP
end
if player.mo.skin == "tails" then
player.mo.charability = CA_FLOAT
end
if player.mo.skin == "metalsonic" then
player.mo.charability = CA_SWIM
player.mo.pflags = $ | SF_NOJUMPSPIN | SF_STOMPDAMAGE
end
end)
Last edited: