Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 35

Thread: Anti Spawn Kill Suggestion

  1. #11

  2. #12

    Default

    lol wait till we fixed the mod.... not everythign can be fixed in 1 minute.

    when i came here on xnull for the first time i tought they could fix everything in 1minute..... but now im a little bit more experienced i see what kind of work and time it takes, if people fix these things they take their own free time to help, so be a little bit patient

  3. #13

    Default

    Im patient mate

  4. #14
    Banned
    Join Date
    May 2010
    Location
    fuck off?
    Posts
    1,145

    Default

    ill fix it next year

  5. #15

    Default

    Quote Originally Posted by Elgan View Post
    ill fix it next year
    Ok im patient please i need it many camping in server

  6. #16

    Default

    There is other anti camper mod bleeding player or fire please ?

  7. #17
    Banned
    Join Date
    May 2010
    Location
    fuck off?
    Posts
    1,145

    Default

    Yep there is

  8. #18

    Default

    Here now stop bitching sick of reading about this and don't even say it don't work I know better

    Code:
    main:
    
    
    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

  9. #19

    Default

    Quote Originally Posted by easymeat View Post
    Here now stop bitching sick of reading about this and don't even say it don't work I know better

    Code:
    main:
    
    
    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
    Not work ?!
    Last edited by Getrs; March 15th, 2016 at 10:45 PM.

  10. #20

    Default

    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

Posting Permissions

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