Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon)
- {
- if (IsSurvivor(client) && IsPlayerAlive(client) && IsFakeClient(client))
- {
- if (shoot[client])
- {
- buttons |= IN_ATTACK2;
- }
- else if (!shoot[client])
- {
- buttons |= ~ IN_ATTACK2
- }
- }
- return Plugin_Continue;
- }
Advertisement
Add Comment
Please, Sign In to add comment