Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.42 KB | None | 0 0
  1. public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3], float angles[3], int &weapon, int &subtype, int &cmdnum, int &tickcount, int &seed, int mouse[2])
  2. {
  3.     if(IsPlayerAlive(client) && !IsFakeClient(client) && (buttons & IN_LEFT) > 0 || (buttons & IN_RIGHT) > 0)
  4.     {
  5.         buttons &= ~IN_LEFT;
  6.         buttons &= ~IN_RIGHT;
  7.         return Plugin_Changed;
  8.     }
  9.     return Plugin_Continue;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement