Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Hello!
    Another question
    Is possible to add setting specialy for explosives? For example, ban 10 days for C4 and 2 days for grenades?
    Thanks for you support

  2. #12
    Senior Member
    Join Date
    Oct 2015
    Location
    Germany
    Posts
    278
    Quote Originally Posted by bckrv View Post
    Hello!
    Another question
    Is possible to add setting specialy for explosives? For example, ban 10 days for C4 and 2 days for grenades?
    Thanks for you support
    yes, everything its possible!
    with this code you have the extra rules for EXPLOSIVES and NADES. But i think ban for 10 days are very hard...


    Code:
    #     2.62> !pistol only  > pistol only mode        #######
    
    #WEAPON RULES #1:
    On Kill; Not Damage Handgun;Not Damage Melee;Not Damage VehiclePersonal;Not Weapon DamageArea,SoldierCollision,Death,Suicide; Set %WaffeVerboten% 1
    
    #WEAPON BLACKLIST:
    On Kill; Weapon U_SerbuShorty,U_Glock18; Set %WaffeVerboten% 1
    
    #WEAPON WHITELIST:
    On Kill; Weapon U_M93R,U_DesertEagle; Set %WaffeVerboten% 0
    
    #DEBUG - ON SUICIDE GET PROCON WEAPON ID IN IN-GAME-CHAT
    On Suicide;PlayerSay %p% WeaponID: %wk%
    
    #PLAYER WARNING MESSAGE
    On Spawn;PlayerFirst;
        Set %ChatRules% "RULES: Pistol only - no G18, no Shorty"
        Set %PrivPopupWarnung% "PISTOL ONLY"
    
    #ADMIN ACTION:
    On Kill;if %WaffeVerboten% == 1;
        PlayerCount 4;Set %WaffeVerboten% 0;Set %warnyell% 1;Log %p% was BANNED (1 hour) for using %w%;Say %p% was BANNED by admin for using a %w%;Yell %p% was BANNED for using %w%;TempBan 3600 %p% Not allowed weapon. Read the rules
        Set %KomischerBug% 1
        PlayerCount 2;Set %WaffeVerboten% 0;Set %warnyell% 1;Say %p% was KICKED by admin for using a %w%;Kick %p% Not allowed weapon. Read the rules
        Set %KomischerBug% 1
        Set %WaffeVerboten% 0;Set %warnyell% 1;Say %p% was KILLED for using %w%;PlayerSay WARNING: %p% do not use a %w%;PlayerSay WARNING: %p% Please read the !rules;PlayerSay %ChatRules%;PlayerYell %PrivPopupWarnung%;Kill 100
        Set %KomischerBug% 1
    	
    On Spawn;If %warnyell% == 1;PlayerSay %ChatRules%;PlayerYell %PrivPopupWarnung%;Set %warnyell% 0
    
    ####################################################
    
    #WEAPON RULES #2 BAD GUNS (ban 2 days/172800sec):
    On Kill; Weapon U_M67,U_Grenade_RGO,U_V40,U_M34,U_Flashbang; PlayerCount 1;Log %p% was BANNED (2 days) for using %w%;Say %p% was BANNED (2days) by admin for using a %w%;Yell %p% was BANNED for using %w%;TempBan 172800 %p% 2 days banned for not allowed weapon. Read the rules
    
    #WEAPON RULES #3 VERY BAD GUNS (ban 10 day/8640000sec):
    On Kill; Damage Explosive; PlayerCount 1;Log %p% was BANNED (10 days) for using %w%;Say %p% was BANNED (10days) by admin for using a %w%;Yell %p% was BANNED for using %w%;TempBan 864000 %p% 10 days banned for not allowed weapon. Read the rules

  3. #13
    Quote Originally Posted by maxdralle View Post
    yes, everything its possible!
    with this code you have the extra rules for EXPLOSIVES and NADES. But i think ban for 10 days are very hard...


    Code:
    #     2.62> !pistol only  > pistol only mode        #######
    
    #WEAPON RULES #1:
    On Kill; Not Damage Handgun;Not Damage Melee;Not Damage VehiclePersonal;Not Weapon DamageArea,SoldierCollision,Death,Suicide; Set %WaffeVerboten% 1
    
    #WEAPON BLACKLIST:
    On Kill; Weapon U_SerbuShorty,U_Glock18; Set %WaffeVerboten% 1
    
    #WEAPON WHITELIST:
    On Kill; Weapon U_M93R,U_DesertEagle; Set %WaffeVerboten% 0
    
    #DEBUG - ON SUICIDE GET PROCON WEAPON ID IN IN-GAME-CHAT
    On Suicide;PlayerSay %p% WeaponID: %wk%
    
    #PLAYER WARNING MESSAGE
    On Spawn;PlayerFirst;
        Set %ChatRules% "RULES: Pistol only - no G18, no Shorty"
        Set %PrivPopupWarnung% "PISTOL ONLY"
    
    #ADMIN ACTION:
    On Kill;if %WaffeVerboten% == 1;
        PlayerCount 4;Set %WaffeVerboten% 0;Set %warnyell% 1;Log %p% was BANNED (1 hour) for using %w%;Say %p% was BANNED by admin for using a %w%;Yell %p% was BANNED for using %w%;TempBan 3600 %p% Not allowed weapon. Read the rules
        Set %KomischerBug% 1
        PlayerCount 2;Set %WaffeVerboten% 0;Set %warnyell% 1;Say %p% was KICKED by admin for using a %w%;Kick %p% Not allowed weapon. Read the rules
        Set %KomischerBug% 1
        Set %WaffeVerboten% 0;Set %warnyell% 1;Say %p% was KILLED for using %w%;PlayerSay WARNING: %p% do not use a %w%;PlayerSay WARNING: %p% Please read the !rules;PlayerSay %ChatRules%;PlayerYell %PrivPopupWarnung%;Kill 100
        Set %KomischerBug% 1
    	
    On Spawn;If %warnyell% == 1;PlayerSay %ChatRules%;PlayerYell %PrivPopupWarnung%;Set %warnyell% 0
    
    ####################################################
    
    #WEAPON RULES #2 BAD GUNS (ban 2 days/172800sec):
    On Kill; Weapon U_M67,U_Grenade_RGO,U_V40,U_M34,U_Flashbang; PlayerCount 1;Log %p% was BANNED (2 days) for using %w%;Say %p% was BANNED (2days) by admin for using a %w%;Yell %p% was BANNED for using %w%;TempBan 172800 %p% 2 days banned for not allowed weapon. Read the rules
    
    #WEAPON RULES #3 VERY BAD GUNS (ban 10 day/8640000sec):
    On Kill; Damage Explosive; PlayerCount 1;Log %p% was BANNED (10 days) for using %w%;Say %p% was BANNED (10days) by admin for using a %w%;Yell %p% was BANNED for using %w%;TempBan 864000 %p% 10 days banned for not allowed weapon. Read the rules
    Many thanks!!

 

 

Posting Permissions

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