Advertisement
nomy

Untitled

Aug 30th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. public Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon)
  2. {
  3.     if (IsPlayerAlive(client) && GetEntityMoveType(client) == MOVETYPE_LADDER && (buttons & IN_MOVELEFT || buttons & IN_MOVERIGHT || buttons & IN_FORWARD || buttons & IN_BACK))
  4.     {
  5.         SetEntityGravity (target, amount)
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement