Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- public OnFilterScriptInit()
- {
- print("[ nBug by Norn loaded, NornWeb.com ]");
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- new bool:DesyncBugStarted = false;
- //----------------------------[ cBug ] ---------------------------
- if ((oldkeys & KEY_FIRE) && (newkeys & KEY_CROUCH))
- {
- new weapon = GetPlayerWeapon(playerid);
- if(weapon == 22 || weapon == 23 || weapon == 24 || weapon == 25 || weapon == 26 || weapon == 27 || weapon == 28 || weapon == 29 || weapon == 30 || weapon == 31 || weapon == 32 || weapon == 33 || weapon == 34 || weapon == 35 || weapon == 36 || weapon == 37 || weapon == 38)
- {
- ApplyAnimation(playerid,"GYMNASIUM","gym_tread_falloff",1.0,0,0,0,0,0);
- }
- DesyncBugStarted = true;
- }
- //--------------------------- [ Desync Bug ] ---------------------
- if(DesyncBugStarted && newkeys & KEY_JUMP)
- {
- ApplyAnimation(playerid,"GYMNASIUM","gym_tread_falloff",1.0,0,0,0,0,0);
- DesyncBugStarted = false;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment