Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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])
- {
- if(IsPlayerAlive(client) && !IsFakeClient(client) && (buttons & IN_LEFT) > 0 || (buttons & IN_RIGHT) > 0)
- {
- buttons &= ~IN_LEFT;
- buttons &= ~IN_RIGHT;
- return Plugin_Changed;
- }
- return Plugin_Continue;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement