I'm trying to reverse the users direction. move left = move right etc.
Currently I have:
Code:
public client_PreThink ( id )
{
if(get_user_button(id) & IN_MOVELEFT)
{
client_cmd(id, "+moveright")
}
else if (get_user_oldbutton(id) & IN_MOVELEFT)
{
client_cmd(id, "-moveright")
}
return FMRES_HANDLED
}
but it won't work

Maybe it's because i need to stop moving left first? I've tryed different approches but none worked. Prethink is called correctly.