Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: Anti shark script

  1. #21

    Default

    yes and yhis will stop it ... at bottom of all ladders.
    Code:
      case "obj/obj_team2":
    		{
        	local.trig = spawn trigger_multiple
     	local.trig.origin = ( 466 2353 -450 )  // here you set your coordinates
     	local.trig setsize ( -50 -50 -50 ) ( 50 50 0 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig setthread assholes
     	local.trig message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig delay 0 // here you can set the trigger time when it should react
    
    	local.trig1 = spawn trigger_multiple
    	local.trig1.origin = ( 362 349 -770 ) 
    	local.trig1 setsize  ( -50 -50 -50 ) ( 50 50 0 )
    	local.trig1 setthread assholes
    	local.trig1 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig1 delay 0
    
    	local.trig2 = spawn trigger_multiple
    	local.trig2.origin = ( 2971 2414 -514 ) 
    	local.trig2 setsize  ( -50 -50 -50 ) ( 50 50 0 )
    	local.trig2 setthread assholes
    	local.trig2 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig2 delay 0
    
    	local.trig3 = spawn trigger_multiple
    	local.trig3.origin = ( 1677 732 -514 ) 
    	local.trig3 setsize  ( -50 -50 -50 ) ( 50 50 0 )
    	local.trig3 setthread assholes
    	local.trig3 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig3 delay 0
    		}

  2. #22

    Default

    Quote Originally Posted by easymeat View Post
    add // to " iprint JUMP_OFF_LADDER" to remove message

    // iprint JUMP_OFF_LADDER

    save script exec it, remove the maps you don't want some are to stop roofing some aer for ladders.

    Code:
    main:
    		thread asshole
    
    end
    
    //These are all for spawn killing or to even things out
    asshole:
    
    
    level.mapname = getcvar (mapname)
    
    	switch ( level.mapname )
    	{
    	  case "dm/mohdm2":
    		{
    	//Destroyed Villiage
    
    	local.trig = spawn trigger_multiple
     	local.trig.origin = ( -2200 2200 -80 ) // here you set your coordinates
     	local.trig setsize ( -1000 -1000 -120 ) ( 1000 1000 0 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig setthread assholes
     	local.trig message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig delay 0 // here you can set the trigger time when it should react
    
     	local.trig1 = spawn trigger_multiple
     	local.trig1.origin = ( -2482 1584 550 ) // here you set your coordinates
     	local.trig1 setsize ( -0 -5000 -1 ) ( 0 5000 4000 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig1 setthread assholes
     	local.trig1 message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig1 delay 0 // here you can set the trigger time when it should react
    
    	local.trig2 = spawn trigger_multiple
     	local.trig2.origin = ( -2397 486 480 ) // here you set your coordinates
     	local.trig2 setsize ( -0 -5000 -1 ) ( 0 5000 4000 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig2 setthread assholes
     	local.trig2 message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig2 delay 0 // here you can set the trigger time when it should react
    
     	local.trig3 = spawn trigger_multiple
     	local.trig3.origin = ( -2136 -920 719 ) // here you set your coordinates
     	local.trig3 setsize ( -0 -5000 -1 ) ( 0 5000 4000 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig3 setthread assholes
     	local.trig3 message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig3 delay 0 // here you can set the trigger time when it should react
    
     	local.trig4 = spawn trigger_multiple
     	local.trig4.origin = ( -1235 -1720 736 ) // here you set your coordinates
     	local.trig4 setsize ( -0 -5000 -1 ) ( 0 5000 4000 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig4 setthread assholes
     	local.trig4 message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig4 delay 0 // here you can set the trigger time when it should react
    
     	local.trig5 = spawn trigger_multiple
     	local.trig5.origin = (1229 -2207 734 ) // here you set your coordinates
     	local.trig5 setsize ( -0 -5000 -1 ) ( 0 5000 4000 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig5 setthread assholes
     	local.trig5 message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig5 delay 0 // here you can set the trigger time when it should react
    
     	local.trig6 = spawn trigger_multiple
     	local.trig6.origin = ( -2998 1619 584 ) // here you set your coordinates
     	local.trig6 setsize ( -0 -5000 -1 ) ( 0 5000 4000 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig6 setthread assholes
     	local.trig6 message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig6 delay 0 // here you can set the trigger time when it should react
     	
    
    		}
    	  	break
    	 
    	  		  case "dm/mohdm4":
    		{
        	local.trig = spawn trigger_multiple
     	local.trig.origin = ( 484.89 2680 -24 ) // here you set your coordinates
     	local.trig setsize ( -99 -99 -49 ) (  99 99 49 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig setthread assholes
     	local.trig message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig delay 0 // here you can set the trigger time when it should react
    	
    	local.trig1 = spawn trigger_multiple
     	local.trig1.origin = ( 830 1749 -24 ) // here you set your coordinates
     	local.trig1 setsize ( -99 -99 -49 ) ( 99 99 49 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig1 setthread assholes
     	local.trig1 message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig1 delay 0 // here you can set the trigger time when it should react
    
    	local.trig2 = spawn trigger_multiple
     	local.trig2.origin = ( 1158 3958 -24 ) // here you set your coordinates
     	local.trig2 setsize ( -99 -99 -49 ) ( 99 99 49 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig2 setthread assholes
     	local.trig2 message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig2 delay 0 // here you can set the trigger time when it should react  
    		}
    		break
    // roofing and ladder
    
    	  case "dm/mohdm6":
    		{
    		
    	local.trig = spawn trigger_multiple
     	local.trig.origin = ( 414 28 30 )  // here you set your coordinates
     	local.trig setsize ( -50 -50 -50 ) ( 50 50 0 ) 
     	local.trig setthread assholes
     	local.trig message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig delay 0 // here you can set the trigger time when it should react
    
    	local.trig1 = spawn trigger_multiple
    	local.trig1.origin = ( -795 858 865 ) 
    	local.trig1 setsize  ( -20 -20 -10 ) (  20 20 10 )
    	local.trig1 setthread assholes
    	local.trig1 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig1 delay 0
    
    	local.trig2 = spawn trigger_multiple
    	local.trig2.origin = ( 513 -407 555 ) 
    	local.trig2 setsize  ( -99 -99 -49 ) (  99 99 49 )
    	local.trig2 setthread assholes 
    	local.trig2 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig2 delay 0
    
    	local.trig3 = spawn trigger_multiple
    	local.trig3.origin = ( -661 -335 612 ) 
    	local.trig3 setsize  ( -25 -25 -10 ) (  25 25 10 )
    	local.trig3 setthread assholes
    	local.trig3 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig3 delay 0
    
    	local.trig4 = spawn trigger_multiple
    	local.trig4.origin = ( 132 -293 5683 ) 
    	local.trig4 setsize  ( -99 -99 -49 ) (  99 99 49 )
    	local.trig4 setthread assholes
    	local.trig4 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig4 delay 0
    	
    	local.trig5 = spawn trigger_multiple
    	local.trig5.origin = ( 1050 -397 629 ) 
    	local.trig5 setsize  ( -99 -99 -49 ) (  99 99 49 )
    	local.trig5 setthread assholes
    	local.trig5 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig5 delay 0
    
    	local.trig6 = spawn trigger_multiple
    	local.trig6.origin = ( 1115 646 642 ) 
    	local.trig6 setsize  ( -99 -99 -49 ) (  99 99 49 )
    	local.trig6 setthread assholes
    	local.trig6 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig6 delay 0
    
    	local.trig7 = spawn trigger_multiple
    	local.trig7.origin = ( 1333 -28 716 ) 
    	local.trig7 setsize  ( -99 -99 -49 ) (  99 99 49 )
    	local.trig7 setthread assholes
    	local.trig7 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig7 delay 0
    
    	local.trig8 = spawn trigger_multiple
    	local.trig8.origin = ( 1300 398 695 ) 
    	local.trig8 setsize  ( -99 -99 -49 ) (  99 99 49 )
    	local.trig8 setthread assholes
    	local.trig8 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig8 delay 0
    
    	local.trig9 = spawn trigger_multiple
    	local.trig9.origin = ( -317 -282 589 ) 
    	local.trig9 setsize  ( -99 -99 -49 ) (  99 99 49 )
    	local.trig9 setthread assholes
    	local.trig9 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig9 delay 0
    
    	local.trig10 = spawn trigger_multiple
    	local.trig10.origin = ( 171 -276 595 ) 
    	local.trig10 setsize  ( -99 -99 -49 ) (  99 99 49 )
    	local.trig10 setthread assholes
    	local.trig10 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig10 delay 0
    	
    		}
    	  	break
    	  		  case "dm/mohdm7":
    		{
     	local.trig = spawn trigger_multiple
     	local.trig.origin = ( -3419 2089 -2 )  // here you set your coordinates
     	local.trig setsize ( -50 -50 -50 ) ( 50 50 0 ) 
     	local.trig setthread assholes
     	local.trig message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig delay 0 // here you can set the trigger time when it should react
    
    	local.trig1 = spawn trigger_multiple
     	local.trig1.origin = ( 1666 -1148 -294 )  // here you set your coordinates
     	local.trig1 setsize ( -50 -50 -50 ) ( 50 50 0 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig1 setthread assholes
     	local.trig1 message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig1 delay 0 // here you can set the trigger time when it should react
    		}
    	  	break
    	  case "obj/obj_team1":
    		{	
     	local.trig = spawn trigger_multiple
     	local.trig.origin = ( 3564 1312 -285 )  // here you set your coordinates
     	local.trig setsize ( -50 -50 -50 ) ( 50 50 0 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig setthread assholes
     	local.trig message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig delay 0 // here you can set the trigger time when it should react
    
    	local.trig1 = spawn trigger_multiple
     	local.trig1.origin = ( 2575 4272 -213 )  // here you set your coordinates
     	local.trig1 setsize ( -50 -50 -50 ) ( 50 50 0 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig1 setthread assholes
     	local.trig1 message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig1 delay 0 // here you can set the trigger time when it should react
    		}
    	  	break
    	  case "obj/obj_team2":
    		{
        	local.trig = spawn trigger_multiple
     	local.trig.origin = ( 466 2353 -450 )  // here you set your coordinates
     	local.trig setsize ( -50 -50 -50 ) ( 50 50 0 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig setthread assholes
     	local.trig message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig delay 0 // here you can set the trigger time when it should react
    
    	local.trig1 = spawn trigger_multiple
    	local.trig1.origin = ( 362 349 -770 ) 
    	local.trig1 setsize  ( -50 -50 -50 ) ( 50 50 0 )
    	local.trig1 setthread assholes
    	local.trig1 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig1 delay 0
    
    	local.trig2 = spawn trigger_multiple
    	local.trig2.origin = ( 2971 2414 -514 ) 
    	local.trig2 setsize  ( -50 -50 -50 ) ( 50 50 0 )
    	local.trig2 setthread assholes
    	local.trig2 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig2 delay 0
    
    	local.trig3 = spawn trigger_multiple
    	local.trig3.origin = ( 1677 732 -514 ) 
    	local.trig3 setsize  ( -50 -50 -50 ) ( 50 50 0 )
    	local.trig3 setthread assholes
    	local.trig3 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig3 delay 0
    		}
    	  	break
    	  case "obj/obj_team3":
    		{
     	local.trig = spawn trigger_multiple
     	local.trig.origin = ( 1321 -1496 -505.9 )  // here you set your coordinates
     	local.trig setsize ( -50 -50 -50 ) ( 50 50 0 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig setthread assholes
     	local.trig message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig delay 0 // here you can set the trigger time when it should react
    
    	local.trig1 = spawn trigger_multiple
    	local.trig1.origin = ( -608 -1624 -505.9 ) 
    	local.trig1 setsize  ( -50 -50 -50 ) ( 50 50 0 )
    	local.trig1 setthread assholes
    	local.trig1 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig1 delay 0
    		}
    	  	break
    	  case "obj/obj_team4":
    		{
      	local.trig = spawn trigger_multiple
     	local.trig.origin = ( 484.89 2680 -24 )  // here you set your coordinates
     	local.trig setsize ( -99 -99 -49 ) (  99 99 49 ) // here you have to experiment a bit , to set the hight and lengt of it
     	local.trig setthread assholes
     	local.trig message " Your Shit Out Of Luck Now" //here you can set your message
     	local.trig delay 0 // here you can set the trigger time when it should react
    
    	local.trig1 = spawn trigger_multiple
    	local.trig1.origin = ( 830 1749 -24 ) 
    	local.trig1 setsize  ( -99 -99 -49 ) (  99 99 49 )
    	local.trig1 setthread assholes
    	local.trig1 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig1 delay 0
    
    	local.trig2 = spawn trigger_multiple
    	local.trig2.origin = ( 1158 3958 -24 ) 
    	local.trig2 setsize  ( -99 -99 -49 ) (  99 99 49 )
    	local.trig2 setthread assholes
    	local.trig2 message " Your Shit Out Of Luck Now" //here you can set your message
    	local.trig2 delay 0 
    		}
    		break
    	  default:
    	  	// error?  ignore?
    	  	end
    	}
    end
    	assholes:
     local.assholes = parm.other
     	wait .5
     	local.assholes kill
    	end
    then this is admin pro...elgbots...and reborn pk3 all in one you can try it out it works on the server I made on computer don't have any servers online to rest it, but it seems to work like I said on my lan server.
    Hello mate Thanks for reply i will try it but im running 2 servers the first with admin pro and second with elgbot without admin pro so what you did not good to me Can i remove admin pro files from elgbot ? need only elgbot

  3. #23

    Default

    OK tried Elgbot only edited mike torso puted // before the iprint command and added your script exec it from dmprecache when i try to shark i cant but not dead and no iprint show me like "Your Shit Out Of Luck Now"

    Thanks

  4. #24

    Default

    Go on dm2 and try jumping off roof at end of map to go under see if it works. I never tried to shark because I never learned how to do it, saw no point in learning how to cheat. I made that to block some other places for people to cheat.

  5. #25

    Default

    Quote Originally Posted by easymeat View Post
    Go on dm2 and try jumping off roof at end of map to go under see if it works. I never tried to shark because I never learned how to do it, saw no point in learning how to cheat. I made that to block some other places for people to cheat.
    OK mate Thanks for help

  6. #26
    Senior Member verruguitens's Avatar
    Join Date
    Mar 2017
    Location
    Argentina
    Posts
    207

    Default

    Quote Originally Posted by easymeat View Post
    so just use this
    Code:
    if(self.sharkcheck==1)
    {
    	end
    }
    else
    {
    	self.sharkcheck=1
    }
    
    local.ladder = self.origin
    
    local.within = 1
    
    while(isalive self && local.within == 1)
    {
    waitframe
    		
    	local.radius = 10 // 200.0 * 200.0
    	local.isin = vector_within self.origin local.ladder local.radius
    	
    	if(local.isin!=1)
    	{
    		local.within = 0
    	}
    
    
    }
    	local.movement = ( self getmovement )
    	local.position = ( self getposition )
    		 
    	if(local.movement == "standing" && local.position == "standing")
    	{
    		local.flags=0
    		if(self.velocity[0] > 0 ||  self.velocity[0] < 0)
    		{
    			local.flags++
    		}
    
    		if(self.velocity[1] > 0 ||  self.velocity[1] < 0)
    		{
    			local.flags++
    		}
    
    		if(self.velocity[2] > 0 ||  self.velocity[2] < 0)
    		{
    			local.flags++
    		}
    
    		if(local.flags > 1)
    		{
    			self iprint "you were killed for attempting sharking" 1
    			self stufftext "say I TRIED TO SHARK"
    			self kill
    		}			
    	}
    
    	self.sharkcheck=0
    end
    save as antishark.scr exec from where ever it will ill player and post message.And I know it works
    Easymeat, i create this file and put in new pk3 /global? ok? works in Breakthrough?

  7. #27
    Senior Member verruguitens's Avatar
    Join Date
    Mar 2017
    Location
    Argentina
    Posts
    207

    Default

    Quote Originally Posted by verruguitens View Post
    Easymeat, i create this file and put in new pk3 /global? ok? works in Breakthrough?
    Dont work

  8. #28
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,180

    Default

    How are you executing the file?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •