Witam! Otóż mój problem polega na tym, że chciałem zrobić zamianę klawiszy kiedy gracz będzie żywy oraz nałożony na niego zostanie status.
Problem polega na tym, że korzystając z set_pev i pev_button funkcja nie działa. Ogólnie kod wygląda tak:
public client_PreThink(id){ if(ConfuseKeys[id] = true && is_user_alive(id)) { new button = get_user_button(id) if(button & IN_LEFT) { set_pev(id, pev_button, pev( id , pev_button ) | IN_RIGHT ) } if(button & IN_RIGHT) { set_pev(id, pev_button, pev( id , pev_button ) | IN_LEFT ) } if(button & IN_FORWARD) { set_pev(id, pev_button, pev( id , pev_button ) | IN_BACK ) } if(button & IN_BACK) { set_pev(id, pev_button, pev( id , pev_button ) | IN_FORWARD ) } } }