MuhammadZeeshan

gsdgsdgsdgasdgasdg

Dec 27th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. if ( status[ killer.ID ].gungame )
  2. {
  3. status[ killer.ID ].gungamekills++;
  4. local u_status = Unlockweapons( status[ killer.ID ].gungamekills );
  5. if ( u_status.tointeger() != -1 )
  6. {
  7. killer.Disarm();
  8. killer.GiveWeapon( u_status.tointeger(), 999 );
  9. SendMessage( "You have unlocked the weapon - "+RED+"(" + GetWeaponName( u_status.tointeger() ) + "), "+WHITE+"kill "+RED+"(" + GetNextKill( status[ killer.ID ].gungamekills ) + ") "+WHITE+"players in a row with "+RED+"(" + GetWeaponName( u_status.tointeger() ) + ") "+WHITE+"weapon to unlock next weapon.", killer );
  10. status[ killer.ID ].gununlockkills = status[ killer.ID ].gungamekills;
  11. }
  12. }
  13. if ( status[ player.ID ].gungame )
  14. {
  15. if ( status[ player.ID ].gungamekills >= 2 ) status[ player.ID ].gungamekills = status[ player.ID ].gununlockkills;
  16. else status[ player.ID ].gungamekills = 0;
  17. }
Add Comment
Please, Sign In to add comment