Hello, i want that when i use the button "w"(I go forward),i move back
I try it:
Code:
public client_PreThink(id)
{
new iButton = get_user_button(id)
if(iButton & IN_FORWARD)
{
client_print(id, print_center, "test")
entity_set_int(id,EV_INT_button,iButton & ~IN_FORWARD & IN_BACK)
}
}
But it does not work.I go forward.Why?Others ideas?