DeathChaos25

OPRC

Apr 16th, 2015
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.33 KB | None | 0 0
  1. public Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon)
  2. {
  3.     if (IsSurvivor(client) && IsPlayerAlive(client) && IsFakeClient(client))
  4.     {
  5.         if (shoot[client])
  6.         {
  7.             buttons |= IN_ATTACK2;
  8.         }
  9.         else if (!shoot[client])
  10.         {
  11.             buttons |= ~ IN_ATTACK2
  12.         }
  13.     }
  14.     return Plugin_Continue;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment