litle fix:
function whatEver ( )
bindKey (source, "right", "down",
function (player)
local skin = getPedSkin(player)+1
while not setPedSkin(player,skin) do
skin=skin+1 % 290
end
end )
end
addEventHandler("onPlayerLogin", getRootElement(), whatEver)
also, if you didnt know:
a % b = a - math.floor ( b / a ) * b
this is much more compact than "if x>y then..""