Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerUpdate(playerid)
- {
- if (IsPlayerClimbing(playerid)) {
- SendClientMessage(playerid, -1, "Climbing");
- ClearAnimations(playerid);
- }
- return 1;
- }
- stock IsPlayerClimbing(playerid)
- {
- new index = GetPlayerAnimationIndex(playerid);
- return (index == 1061 || index == 1062 || index == 1066);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement