Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 35

Thread: Anti Spawn Kill Suggestion

  1. #21

    Default

    Quote Originally Posted by DoubleKill View Post
    he forgot to put the variable for the damage is now fixed:

    Code:
    main:
    
    local.hurt = 10 //damage to player
    
    local.player=self
    
    if(local.player.trigger!=1)
    {
    	local.player.trigger=1
    }
    else
    {
    	end
    }
    
    local.still = spawn trigger_multiple "spawnflags" "128"
    local.still.origin = self.origin
    local.still setsize ( -10 -10 -10 ) ( 10 10 10 )
    		
    		for(local.timer=0;local.timer<local.pladsen;local.timer++)
    	{
    		if!(self istouching local.still)
    		{	
    			
    			local.player.trigger=0
    			local.still delete
    			end
    		}
    
    	wait 1
    	}
    	
    	if(self.dmteam=="spectator")
    	{
    		local.player.trigger=0
    		end
    	}
    
    
    	while(local.still istouching self)
    	{
    		self hurt local.hurt
    		wait 1
    	}
    
    	local.die = getcvar "camper_alwaysdie"
    	local.die = int local.die
    
    	if(local.die==1)
    	{
    		while(isalive self  && self.dmteam!="spectator")
    		{
    			self hurt local.hurt
    			wait 1
    		}
    		self iprint "You just bled to death due to you camping"
    	}
    
    	local.still delete
    	local.player.trigger=0
    
    end
    Hello mate Thanks for reply , weird thing i cant get it to work again i cleaned all the main , removed mods just puted anticamper.scr and exec it from dmprecache

  2. #22

    Default

    Hello,


    This cause lags for server ? if yes how to fix please from anti camper v6 :


  3. #23

    Default

    I changed this in anti_camper.scr :

    from :
    Code:
    		if(local.found_map!=1)
    		{
    			setcvar "camper" "0"
    		}
    
    		level.informed=1 //camper mod is on to start with so level.informed is 1
    		local.master = spawn ScriptMaster
    		local.master aliascache bombtick1 sound/items/Item_Timer_01.wav soundparms 0.7 0.0 1.0 0.0 10000 10000 local loaded maps "m1l2a m2 m3 m4l3 m5 m6l1 m6l3d dm moh obj"
    		local.master aliascache final_countdown sound/items/final_countdown.wav soundparms 1.5 0.0 1.0 0.0 10000 2000 local loaded maps "dm moh obj "
    		local.master aliascache streamed_dfr_scripted_M3L1_016a sound/dialogue/m3l1/A/dfr_scripted_M3L1_016a.wav soundparms 1.5 0.0 1.0 0.0 200 1500 dialog streamed subtitle "You stay in one spot, you're a dead man!" maps "m dm obj"
    to :

    Code:
    		if(local.found_map!=1)
    		{
    			setcvar "camper" "0"
    		}
    
    		level.informed=1 //camper mod is on to start with so level.informed is 1
    		//local.master = spawn ScriptMaster
    		//local.master aliascache bombtick1 sound/items/Item_Timer_01.wav soundparms 0.7 0.0 1.0 0.0 10000 10000 local loaded maps "m1l2a m2 m3 m4l3 m5 m6l1 m6l3d dm moh obj"
    		//local.master aliascache final_countdown sound/items/final_countdown.wav soundparms 1.5 0.0 1.0 0.0 10000 2000 local loaded maps "dm moh obj "
    		//local.master aliascache streamed_dfr_scripted_M3L1_016a sound/dialogue/m3l1/A/dfr_scripted_M3L1_016a.wav soundparms 1.5 0.0 1.0 0.0 200 1500 dialog streamed subtitle "You stay in one spot, you're a dead man!" maps "m dm obj"
    and :

    Code:
    		local.timer--
    			if( local.timer==5)
    			{
    				self stoploopsound bombtick1
    				self loopsound final_countdown
    to :

    Code:
    		local.timer--
    			if( local.timer==5)
    			{
    				//self stoploopsound bombtick1
    				//self loopsound final_countdown
    This right what i did ? seems the errors gone..
    Last edited by Getrs; March 27th, 2016 at 12:42 AM.

  4. #24

  5. #25

    Default

    No one know ?

  6. #26

    Default

    Obvious no, is Obvious...

  7. #27

  8. #28

    Default

    admin pro has teambalance.... i use admin pro for many years and never have problems.

    if it needs to be combined with other mods.. tell me what mods u want to combine.
    the elgbot+adminpro from easymeat works great on a windows server, i am using that now in my 3rd person server without problems.

    if u want to combine 20 little mods than u realy need to figure it out yourself, we dont have time to combine 20 mods (again).
    but not less i want to help you out with the problem but u ened to be more specific of what mods etc u want to combine

  9. #29

    Default

    Quote Originally Posted by Slimbips View Post
    admin pro has teambalance.... i use admin pro for many years and never have problems.

    if it needs to be combined with other mods.. tell me what mods u want to combine.
    the elgbot+adminpro from easymeat works great on a windows server, i am using that now in my 3rd person server without problems.

    if u want to combine 20 little mods than u realy need to figure it out yourself, we dont have time to combine 20 mods (again).
    but not less i want to help you out with the problem but u ened to be more specific of what mods etc u want to combine
    Hello mate Thanks for Reply , for now just need anti camper so what i posted up to put // they in the correct place to fix the errors?

    BTW just need this anti camper only , I got mixed elgbot with admin pro working so no need to put all admin pro for anti camp only

    Thanks

  10. #30

    Default

    all admin pro?.... admin pro is super light man........ use admin pro or i will kick your butt!!! :P

Posting Permissions

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