MuhammadZeeshan

ffff

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