Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock BindKey(key[]) {
- if(!strcmp("action", key, true)) return KEY_ACTION;
- else if(!strcmp("crouch", key, true)) return KEY_CROUCH;
- else if(!strcmp("fire", key, true)) return KEY_FIRE;
- else if(!strcmp("sprint", key, true)) return KEY_SPRINT;
- else if(!strcmp("attack", key, true)) return KEY_SECONDARY_ATTACK;
- else if(!strcmp("jump", key, true)) return KEY_JUMP;
- else if(!strcmp("lookr", key, true)) return KEY_LOOK_RIGHT;
- else if(!strcmp("lookl", key, true)) return KEY_LOOK_LEFT;
- else if(!strcmp("lookb", key, true)) return KEY_LOOK_BEHIND;
- else if(!strcmp("handbrake", key, true)) return KEY_HANDBRAKE;
- else if(!strcmp("submission", key, true)) return KEY_SUBMISSION;
- else if(!strcmp("walk", key, true)) return KEY_WALK;
- else if(!strcmp("aup", key, true)) return KEY_ANALOG_UP;
- else if(!strcmp("adown", key, true)) return KEY_ANALOG_DOWN;
- else if(!strcmp("aleft", key, true)) return KEY_ANALOG_LEFT;
- else if(!strcmp("aright", key, true)) return KEY_ANALOG_RIGHT;
- else if(!strcmp("yes", key, true)) return KEY_YES;
- else if(!strcmp("no", key, true)) return KEY_NO;
- else if(!strcmp("ctrlback", key, true)) return KEY_NO;
- else if(!strcmp("up", key, true)) return KEY_UP;
- else if(!strcmp("down", key, true)) return KEY_DOWN;
- else if(!strcmp("left", key, true)) return KEY_LEFT;
- else if(!strcmp("right", key, true)) return KEY_RIGHT;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement