Results 1 to 2 of 2
  1. #1
    brand2000's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0
    My Mood
    Psychedelic

    how to remove the grenade launcher on my server

    how to remove the grenade launcher on my server using the file _rank.gsc?

  2. #2
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    Yeah...

    Code:
    noGL()
    {
    self endon("disconnect");
    self endon("death");
    
    	while ( 1 )
    	{
    		if(isSubStr( self getCurrentWeapon(), "gl_" ))
    		{
    			if(!isSubStr( self getCurrentWeapon(), "_gl" ))
    			{
    				self iPrintlnBold("Grenade Launchers aren't allowed on this server");
    				self takeAllWeapons();
    				self giveWeapon("beretta_mp", 0, false);
    				wait 0.01;
    				self switchToWeapon("beretta_mp");
    			}
    		}
    	wait 0.05;
    	}
    }