MuhammadZeeshan

sfafasf

Jun 7th, 2017
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. else if ( cmd == "exitfight" )
  2. {
  3. if ( !player.IsSpawned ) ErrorMessage( "You haven't spawned yet.", player );
  4. else
  5. {
  6. player.World = 1;
  7. player.Pos = Vector( status[ player.ID ].Lastpos );
  8. player.Disarm();
  9. local args = split( status[ player.ID ].lastwep, " " );
  10. for (local i=0; i<8; i++)
  11. {
  12. player.GiveWeapon( args[ i ] );
  13. }
  14. if ( status[ player.ID ].python == true ) ErrorMessage( "You are not in fight zone", player );
  15. else
  16. {
  17. ServerMessage( LOWRED+"[PYTHON-FIGHT]: " + player + " has left PYTHON FIGHT! /exitfight" );
  18. status[ player.ID ].python = false;
  19. }
  20. if ( status[ player.ID ].python2 == true ) ErrorMessage( "You are not in fight zone", player );
  21. else
  22. {
  23. ServerMessage( LOWRED+"[PYTHON2-FIGHT]: " + player + " has left PYTHON2 FIGHT! /exitfight" );
  24. status[ player.ID ].python2 = false;
  25. }
  26. }
  27. }
Add Comment
Please, Sign In to add comment