ImportBot Posted October 10, 2016 Share Posted October 10, 2016 Originally Posted by ty_ger07*: and if i want to disable it? how i am doing it?Remove that line and restart your game server. That is the easiest way. Either you want the message or you don't. Which one is it? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 10, 2016 Share Posted October 10, 2016 Originally Posted by styleos*: Hi, I want to display a player with the highest score when round is over. Such as: "Best Round Score was with " How do I get with proconrulz? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 10, 2016 Share Posted October 10, 2016 Originally Posted by BuRockK*: Hello guys! I need help :\ i want insert a a command to proconruls to show a message every 5 minutes on the chat wimndow example: Join us On TeasmSpeak3 94.250.223.8:15069 I want it to show every 5 minutes Is it possible ? and if yes can someone give me the Command for it? Thanks!!!! Try this.. (NOT tested..) It checks if 5 mins (300 seconds) has passed since last spam (or since round started too) and spams the same msg to every player. Theres no schedule option in ProconRulz so it checks the time when someone joins,leaves,spawns,kills, or says something in chat. EDIT: Also, you can turn this spam on or off with in-game command !SpamTSinfo (you need to type the command once to configure the on/off variable) Replace the texts in RED to your needs.. Code: On Say;Admin; Text !SpamTSinfo; Set %ini_spamTSinfo_msg% <PUT YOUR TEAMSPEAK INFO HERE>; Set %ini_spamTSinfo_repeattime% 300; if %ini_spamTSinfo_state% == 0; Set %ini_spamTSinfo_state% == on; PlayerSay Spam TeamSpeak Info is now: %ini_spamTSinfo_state%; Set %ini_spamTSinfo_nextmsgtime% %seconds% + %ini_spamTSinfo_repeattime%;end if %ini_spamTSinfo_state% == off; Set %ini_spamTSinfo_state% == on; PlayerSay Spam TeamSpeak Info is now: %ini_spamTSinfo_state%; Set %ini_spamTSinfo_nextmsgtime% %seconds% + %ini_spamTSinfo_repeattime%;end if %ini_spamTSinfo_state% == on; Set %ini_spamTSinfo_state% == off; PlayerSay Spam TeamSpeak Info is now: %ini_spamTSinfo_state%;Set %ini_spamTSinfo_nextmsgtime% 0;end On Round: if %ini_spamTSinfo_state% == on; Set %ini_spamTSinfo_nextmsgtime% %seconds% + %ini_spamTSinfo_repeattime% On kill; if %ini_spamTSinfo_state% == on; if %ini_spamTSinfo_nextmsgtime% != 0; if %seconds% >= %ini_spamTSinfo_nextmsgtime% Set %ini_spamTSinfo_nextmsgtime% %seconds + %ini_spamTSinfo_repeattime% Yell 8 %ini_spamTSinfo_msg% On Spawn; if %ini_spamTSinfo_state% == on; if %ini_spamTSinfo_nextmsgtime% != 0; if %seconds% >= %ini_spamTSinfo_nextmsgtime% Set %ini_spamTSinfo_nextmsgtime% %seconds + %ini_spamTSinfo_repeattime% Yell 8 %ini_spamTSinfo_msg% On Say; if %ini_spamTSinfo_state% == on; if %ini_spamTSinfo_nextmsgtime% != 0; if %seconds% >= %ini_spamTSinfo_nextmsgtime% Set %ini_spamTSinfo_nextmsgtime% %seconds + %ini_spamTSinfo_repeattime% Yell 8 %ini_spamTSinfo_msg% On Join; if %ini_spamTSinfo_state% == on; if %ini_spamTSinfo_nextmsgtime% != 0; if %seconds% >= %ini_spamTSinfo_nextmsgtime% Set %ini_spamTSinfo_nextmsgtime% %seconds + %ini_spamTSinfo_repeattime% Yell 8 %ini_spamTSinfo_msg% On Leave; if %ini_spamTSinfo_state% == on; if %ini_spamTSinfo_nextmsgtime% != 0; if %seconds% >= %ini_spamTSinfo_nextmsgtime% Set %ini_spamTSinfo_nextmsgtime% %seconds + %ini_spamTSinfo_repeattime% Yell 8 %ini_spamTSinfo_msg% On Suicide; if %ini_spamTSinfo_state% == on; if %ini_spamTSinfo_nextmsgtime% != 0; if %seconds% >= %ini_spamTSinfo_nextmsgtime% Set %ini_spamTSinfo_nextmsgtime% %seconds + %ini_spamTSinfo_repeattime% Yell 8 %ini_spamTSinfo_msg% Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 10, 2016 Share Posted October 10, 2016 Originally Posted by BuRockK*: Hi, I want to display a player with the highest score when round is over. Such as: "Best Round Score was with " How do I get with proconrulz? myrcon.net/.../proconrulz-end-of-round-stats-v10 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 11, 2016 Share Posted October 11, 2016 Originally Posted by styleos*: myrcon.net/.../proconrulz-end-of-round-stats-v10There are only stuff with kill/death, no round score related things Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 11, 2016 Share Posted October 11, 2016 Originally Posted by Dete96*: There are only stuff with kill/death, no round score related things If it is not necessarily a ProConRulz Rule you're looking for I would recommend this plugin: myrcon.net/.../server-kills Besides "Endround stats" (e.g. highest score) it has several other settings and options that you don't need to use. I hope that helped! Dete96 Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 12, 2016 Share Posted October 12, 2016 Originally Posted by BuRockK*: There are only stuff with kill/death, no round score related things In ProconRulz, you cannot log points gained when another player uses your medkit or ammo box etc. So those points cannot be logged during those times. But you can log a players score when he makes a kill or gets killed, spawns, suicides, etc. I could write a code here that can log players scores (not kill counts), but it wouldnt be accurate when the round ends. As Dete96 said, you can use Server Kills plugin for end of round stats with much more options. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 13, 2016 Share Posted October 13, 2016 Originally Posted by AlcaGamerZ*: BuRockk , thanks for the shotgunlimit and sniperlimit even tho it doesn't have what i wished for.. , since the code for vip exception couldnot work , then nevermind . however , is there anyone could guide me with Adkats installation ? , when things come to stuff like MySQL etcs i will become confused . Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 13, 2016 Share Posted October 13, 2016 Originally Posted by BuRockK*: Refer to AdKats thread for help on that plugin. It is also explained how to set it up in the first post there. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 13, 2016 Share Posted October 13, 2016 Originally Posted by Chilace*: BuRockk , thanks for the shotgunlimit and sniperlimit even tho it doesn't have what i wished for.. , since the code for vip exception couldnot work , then nevermind . however , is there anyone could guide me with Adkats installation ? , when things come to stuff like MySQL etcs i will become confused . showthread....ered-Tutorials* As for snipers limit: 1) Switch off "Trace rules" (use it for debug only) 2) Set "Protect these players from Kick or Kill" to "Admins_and_Reserved_Slots" 3) Use a slightly modified code (there are exceptions for some weapons and removed wrong logic code) Code: ##### SNIPER LIMIT V2.7 BOLT AND DMR (MODIFIED) ##### # SET THE MAX # OF SNIPERS HERE: On Kill;ServerFirst;Set %server_sniperlimit% 4 On Say;ServerFirst;Set %server_sniperlimit% 4 # CHECK TEAMSWITCH/AUTOBALANCE On Spawn;If %server_sl_sniper[%p%]% == 1;If %server_sl_team[%p%]% != %ptk%;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%server_sl_team[%p%]%]%;Say %p% lost his SNIPER SLOT (autobalance/teamswitch), Team 1: %server_sl_total[1]%/%server_sniperlimit% Team 2: %server_sl_total[2]%/%server_sniperlimit%;PlayerYell %p%, you lost your SNIPER SLOT (autobalance/teamswitch);Log Ex-sniper %p% switched from team %server_sl_team[%p%]% to team %ptk%, Team 1: %server_sl_total[1]% Team 2: %server_sl_total[2]% # SNIPER LOG MESSAGES On Spawn;If %server_sl_sniper[%p%]% == 1;Log Sniper %pt% %p% re-spawned. %server_sl_total[%ptk%]% snipers on team %ptk% On Kill;If %server_sl_sniper[%v%]% == 1;Log Sniper %vt% %v% killed. %server_sl_total[%vtk%]% snipers on team %vtk% # SNIPER KILL CHECKS either over limit (so kill), existing sniper (do nothing), new sniper (reserve slot) On Kill;Not Protected;Not MapMode GunMaster;Damage SniperRifle;Not Weapon U_AMR2,U_AMR2_CQB,U_AMR2_MED,U_M82A3,U_M82A3_CQB,U_M82A3_MED; If %server_sl_total[%ptk%]% >= %server_sniperlimit%;if %server_sl_sniper[%p%]% == 0;PlayerBoth %p%, you killed by SNIPER LIMIT max %server_sniperlimit%;Log Sniper Limit max %server_sniperlimit% snipers each team !!! (now Kill %p%);Kill 100 If %server_sl_sniper[%p%]% == 1;Log %pt% %p% still a sniper, %server_sl_total[%ptk%]% snipers on team %ptk% If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_team[%p%]% %ptk%;TeamSay %p% has a SNIPER SLOT, Your Team: %server_sl_total[%ptk%]%/%server_sniperlimit%;PlayerYell %p%, you have a SNIPER SLOT;Log %pt% %p% is new sniper, %server_sl_total[%ptk%]% snipers on team %ptk% # SNIPER KILL CHECKS either over limit (so kill), existing sniper (do nothing), new sniper (reserve slot) On Kill;Not Protected;Not MapMode GunMaster;Damage DMR; If %server_sl_total[%ptk%]% >= %server_sniperlimit%;if %server_sl_sniper[%p%]% == 0;PlayerBoth %p%, you killed by SNIPER LIMIT max %server_sniperlimit%;Log Sniper Limit max %server_sniperlimit% snipers each team !!! (now Kill %p%);Kill 100 If %server_sl_sniper[%p%]% == 1;Log %pt% %p% still a sniper, %server_sl_total[%ptk%]% snipers on team %ptk% If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_team[%p%]% %ptk%;TeamSay %p% has a SNIPER SLOT, Your Team: %server_sl_total[%ptk%]%/%server_sniperlimit%;PlayerYell %p%, you have a SNIPER SLOT;Log %pt% %p% is new sniper, %server_sl_total[%ptk%]% snipers on team %ptk% # FREE UP SNIPER SLOT IF SNIPER HAS NON-SNIPER KIT KILL OR SNIPER LEAVES On Kill;Not Protected;Not MapMode GunMaster;Not Damage SniperRifle,DMR,Handgun,Melee,Explosive,Impact,Suicide;Not Weapon RoadKill,U_SerbuShorty;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay %p% lost his SNIPER SLOT (non-sniper kit kill), Your Team: %server_sl_total[%ptk%]%/%server_sniperlimit%;PlayerYell %p%, you lost your SNIPER SLOT (non-sniper kit kill);Log Ex-sniper %pt% %p% used %d% %w%, %server_sl_total[%ptk%]% snipers on team %ptk% On Leave;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay %p% lost his SNIPER SLOT (left server), Your Team: %server_sl_total[%ptk%]%/%server_sniperlimit%;Log Ex-sniper %pt% %p% left server, %server_sl_total[%ptk%]% snipers on team %ptk% # INFO MESSAGES # !sniper tells you the current sniper count for your team On Say;If %text% == !sniper; PlayerSay Reserve slot with SniperRifle/DMR kill, lose it with non-sniper kit kill. PlayerSay SNIPER SLOTS - Your Team: %server_sl_total[%ptk%]%/%server_sniperlimit%. # !snipers tells you the current sniper counts for both teams On Say;If %text% == !snipers; PlayerSay SNIPER SLOTS - Team 1: %server_sl_total[1]%/%server_sniperlimit%, Team 2: %server_sl_total[2]%/%server_sniperlimit%. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 14, 2016 Share Posted October 14, 2016 Originally Posted by maxdralle*: @AlcaGamerZ here you have your !SHOTGUN limit + !SNIPER limit + WHITELIST the code is for proconrulz. the shotgun limit have 2 shotgun slots for each team ( CODE: Set %shotgunlimit% 2 ) the sniper limit have 2 sniper slots for each team ( CODE: Set %sniperlimit% 2 ) whitelist: admins, player with a reserved slot, and players from custom vip list can play without any limit. custom vip list with playernames: ( CODE: Set %vip_list% "@@Playername1@@Playername2@@... ) IMPORTANT: do this what Chilace said: 1) Switch off "Trace rules" (use it for debug only) 2) Set "Protect these players from Kick or Kill" to "Admins_and_Reserved_Slots" Code: #### Sniper + Shotgun Limit + Whitelist ########################## # SETTINGS ARE: %shotgunlimit% AND %sniperlimit% AND %vip_list% # WHITELIST FOR VIPS (admins, reserved slots, costum playerlist) - no weapon limit for this players On Say; PlayerFirst; Set %vip_list% "@@Playername1@@Playername2@@Playername3@@Playername4@@" Protected; Set %vip_no_limits% 1 Admin; Set %vip_no_limits% 1 If %vip_list% contains @@%p%@@; Set %vip_no_limits% 1 On Spawn; PlayerFirst; Set %vip_list% "@@Playername1@@Playername2@@Playername3@@Playername4@@" Protected; Set %vip_no_limits% 1 Admin; Set %vip_no_limits% 1 If %vip_list% contains @@%p%@@; Set %vip_no_limits% 1 # Shotgun limit (2 pro Team) ########################## # IMPORTANT: HERE YOU CAN SET THE # OF SHOTGUN SLOT EACH TEAM: # On Spawn; PlayerFirst; Set %shotgunlimit% 2 On Say; PlayerFirst; Set %shotgunlimit% 2 # KILL CHECK - RESERVE SHOTGUN-SLOT AFTER SHOTGUN KILL - NO FREE SLOT THAN KILL + MESSAGE # On Kill;Damage Shotgun; Not Weapon U_SerbuShorty; Not MapMode GunMaster;If %vip_no_limits% != 1; If %server_global_shotguns[%ptk%]% >= %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; TeamSay !SHOTGUN-LIMIT: %p% was KILLED by !SHOTGUN limit (max %shotgunlimit% shotguns each team). Type !SHOTGUN; PlayerYell KILLED by !SHOTGUN limit; Kill 100 If %server_global_shotguns[%ptk%]% < %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 1; Incr %server_global_shotguns[%ptk%]%; TeamSay !SHOTGUN-LIMIT: %p% have a !SHOTGUN slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%); PlayerSay !SHOTGUN-LIMIT: Allowed weapons: Shotgun, Pistol, Nades, C4, Clay, Knife; PlayerYell YOU HAVE A !SHOTGUN SLOT # MAKE SHOTGUN-SLOT FREE AFTER NO SHOTGUN KILL - (allowed kills with shotgun slot: Shotgun, Pistole, Nades, Clay, C4, Knife, Vehicles...) # On Kill; Not Damage Shotgun;Not Damage Explosive;Not Damage Handgun;Not Damage Melee;Not Damage VehicleWater;Not Damage VehicleAir;Not Damage VehicleStationary;Not Damage VehiclePersonal;Not Damage VehicleTransport;Not Damage VehicleLight;Not Damage VehicleHeavy; Not Weapon U_M67,U_Grenade_RGO,U_V40,U_M34,DamageArea,SoldierCollision,Death,RoadKill,VehicleUpsideDown,Suicide,U_BallisticShield,U_SUAV,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon, U_SP_Claymore;Not MapMode GunMaster; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay !SHOTGUN-LIMIT: %p% gave up his !SHOTGUN slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%); Log DEBUG !SHOTGUN-LIMIT: Player %p% killed %v% with WeaponID %wk% (lost !SHOTGUN slot); PlayerYell You lost your !SHOTGUN slot On Leave; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%) # SERVER LEAVE + TEAM SWITCH CHECK # On Spawn; if %ptk% != 0; if %server_global_playershotgunstatus[%p%][0]% == 1; Set %server_global_playershotgunstatus[%p%][0]% 0; PlayerSay !SHOTGUN-LIMIT: You lost your !SHOTGUN slot (Team-Switch); PlayerYell You lost your !SHOTGUN slot if %ptk% != 1; if %server_global_playershotgunstatus[%p%][1]% == 1; Set %server_global_playershotgunstatus[%p%][1]% 0; PlayerSay !SHOTGUN-LIMIT: You lost your !SHOTGUN slot (Team-Switch); PlayerYell You lost your !SHOTGUN slot if %ptk% != 2; if %server_global_playershotgunstatus[%p%][2]% == 1; Set %server_global_playershotgunstatus[%p%][2]% 0; PlayerSay !SHOTGUN-LIMIT: You lost your !SHOTGUN slot (Team-Switch); PlayerYell You lost your !SHOTGUN slot if %ptk% != 3; if %server_global_playershotgunstatus[%p%][3]% == 1; Set %server_global_playershotgunstatus[%p%][3]% 0; PlayerSay !SHOTGUN-LIMIT: You lost your !SHOTGUN slot (Team-Switch); PlayerYell You lost your !SHOTGUN slot On Leave; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay !SHOTGUN-LIMIT: %p% gave up his !SHOTGUN slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%) # !shotgun IN-GAME-CHAT COMMAND # On Say;Text !shotgun; Not MapMode GunMaster; If %vip_no_limits% != 1; TeamSay !SHOTGUN-LIMIT: Shotguns are limited on this server.; TeamSay !SHOTGUN-LIMIT: Currently: %server_global_shotguns[%ptk%]% of %shotgunlimit% for your team; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; PlayerSay !SHOTGUN-LIMIT: You have a !SHOTGUN slot! Allowed weapons: Shotgun, Pistol, Nades, C4, Clay, Knife On Say;Text !shotgun; Not MapMode GunMaster; If %vip_no_limits% == 1; PlayerSay %p% you are a VIP. No !SHOTGUN-LIMIT for you! # Sniper/DMR limit (2 pro Team) ########################## # IMPORTANT: HERE YOU CAN SET THE # OF SNIPER SLOT EACH TEAM: # On Spawn;PlayerFirst; Set %sniperlimit% 2 On Say;PlayerFirst; Set %sniperlimit% 2 # KILL CHECK - RESERVE SNIPER-SLOT AFTER SNIPER KILL - NO FREE SLOT THAN KILL + MESSAGE # On Kill;Damage SniperRifle,DMR;Not MapMode GunMaster; If %vip_no_limits% != 1; If %server_global_snipers[%ptk%]% >= %sniperlimit%; If %server_global_playersniperstatus[%p%][%ptk%]% != 1; TeamSay !SNIPER-LIMIT: %p% was KILLED by !SNIPER limit (max %sniperlimit% snipers each team). Type !snipers; PlayerYell KILLED by !SNIPER limit; Kill 100 If %server_global_snipers[%ptk%]% < %sniperlimit%; If %server_global_playersniperstatus[%p%][%ptk%]% != 1; Set %server_global_playersniperstatus[%p%][%ptk%]% 1; Incr %server_global_snipers[%ptk%]%; TeamSay !SNIPER-LIMIT: %p% have a !SNIPER slot (%server_global_snipers[%ptk%]%/%sniperlimit%); PlayerSay !SNIPER-LIMIT: Sniper weapons: Bolt Sniper, DMR, Pistol, Nades, C4, Clay, Knife; PlayerYell YOU HAVE A !SNIPER SLOT # MAKE SNIPER-SLOT FREE AFTER NO SNIPER KILL - (allowed kills with sniper slot: Sniper, DMR, Pistole, Nades, Knife, Clay, C4, Vehicles...) # On Kill; Not Damage SniperRifle;Not Damage DMR;Not Damage Explosive;Not Damage Handgun;Not Damage Melee;Not Damage VehicleWater;Not Damage VehicleAir;Not Damage VehicleStationary;Not Damage VehiclePersonal;Not Damage VehicleTransport;Not Damage VehicleLight;Not Damage VehicleHeavy; Not Weapon U_M67,U_Grenade_RGO,U_V40,U_M34,DamageArea,SoldierCollision,Death,RoadKill,VehicleUpsideDown,Suicide,U_BallisticShield,U_SUAV,U_SerbuShorty,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon, U_SP_Claymore; If %server_global_playersniperstatus[%p%][%ptk%]% == 1; Set %server_global_playersniperstatus[%p%][%ptk%]% 0; Decr %server_global_snipers[%ptk%]%; TeamSay !SNIPER-LIMIT: %p% gave up his !SNIPER slot (%server_global_snipers[%ptk%]%/%sniperlimit%); PlayerYell You lost your !SNIPER slot On Leave; If %server_global_playersniperstatus[%p%][%ptk%]% == 1; Set %server_global_playersniperstatus[%p%][%ptk%]% 0; Decr %server_global_snipers[%ptk%]%; TeamSay !SNIPER-LIMIT: %p% gave up his !SNIPER slot (%server_global_snipers[%ptk%]%/%sniperlimit%) # SERVER LEAVE + TEAM SWITCH CHECK # On Spawn; if %ptk% != 0; if %server_global_playersniperstatus[%p%][0]% == 1; Set %server_global_playersniperstatus[%p%][0]% 0; Decr %server_global_snipers[0]%; PlayerSay !SNIPER-LIMIT: You lost your !SNIPER slot (Team-Switch); PlayerYell You lost your !SNIPER slot if %ptk% != 1; if %server_global_playersniperstatus[%p%][1]% == 1; Set %server_global_playersniperstatus[%p%][1]% 0; Decr %server_global_snipers[1]%; PlayerSay !SNIPER-LIMIT: You lost your !SNIPER slot (Team-Switch); PlayerYell You lost your !SNIPER slot if %ptk% != 2; if %server_global_playersniperstatus[%p%][2]% == 1; Set %server_global_playersniperstatus[%p%][2]% 0; Decr %server_global_snipers[2]%; PlayerSay !SNIPER-LIMIT: You lost your !SNIPER slot (Team-Switch); PlayerYell You lost your !SNIPER slot if %ptk% != 3; if %server_global_playersniperstatus[%p%][3]% == 1; Set %server_global_playersniperstatus[%p%][3]% 0; Decr %server_global_snipers[3]%; PlayerSay !SNIPER-LIMIT: You lost your !SNIPER slot (Team-Switch); PlayerYell You lost your !SNIPER slot On Leave; If %server_global_playersniperstatus[%p%][%ptk%]% == 1; Set %server_global_playersniperstatus[%p%][%ptk%]% 0; Decr %server_global_snipers[%ptk%]%; TeamSay SNIPER-LIMIT: %p% gave up his sniper slot (%server_global_snipers[%ptk%]%/%sniperlimit%) # !sniper IN-GAME-CHAT COMMAND # On Say;Text !sniper,!dmr; Not MapMode GunMaster; If %vip_no_limits% != 1; TeamSay !SNIPER-LIMIT: Snipers/DMRs are limited on this server. Currently: %server_global_snipers[%ptk%]% of %sniperlimit% for your team; If %server_global_playersniperstatus[%p%][%ptk%]% == 1; PlayerSay !SNIPER-LIMIT: You have a !SNIPER slot! Sniper weapons: Bolt Sniper, DMR, Pistol, Nades, C4, Clay, Knife On Say;Text !sniper,!dmr; Not MapMode GunMaster; If %vip_no_limits% == 1; PlayerSay %p% you are a VIP. No !SNIPER-LIMIT for you! #### Sniper + Shotgun Limit + Whitelist END ########################## Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 16, 2016 Share Posted October 16, 2016 Originally Posted by gillibong*: Hello Everyone! Can someone give me please commands to insert to proconrulz for an some wepon limits? Rpg 2 per team Claymore 2 per team Sniper 2 per team C4 2 pear team Thanks allot Guys Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 17, 2016 Share Posted October 17, 2016 Originally Posted by ty_ger07*: Hello Everyone! Can someone give me please commands to insert to proconrulz for an some wepon limits? Rpg 2 per team Claymore 2 per team Sniper 2 per team C4 2 pear team Thanks allot Guys Limiting the number of secondary weapons per team is very problematic using proconrulz. Proconrulz has no way of knowing which weapons players are using until they kill with the weapon. Since it is a secondary weapon, it could take you many minutes to know when a player is using a weapon and many more.minutes to know if a player has stopped using a weapon. Imagine that it might take 10 minutes to learn that a player X has stopped using RPG and during that time, 15 people may have been killed for using RPG because you assumed that player X was still using RPG. I think it is only realistic to limit primary weapons if limiting quantity per team using proconrulz. For 2 snipers per team: myrcon.net/.../proconrulz-sniper-limiter-v27-by-tarreltje Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 17, 2016 Share Posted October 17, 2016 Originally Posted by gillibong*: Limiting the number of secondary weapons per team is very problematic using proconrulz. Proconrulz has no way of knowing which weapons players are using until they kill with the weapon. Since it is a secondary weapon, it could take you many minutes to know when a player is using a weapon and many more.minutes to know if a player has stopped using a weapon. Imagine that it might take 10 minutes to learn that a player X has stopped using RPG and during that time, 15 people may have been killed for using RPG because you assumed that player X was still using RPG. I think it is only realistic to limit primary weapons if limiting quantity per team using proconrulz. For 2 snipers per team: myrcon.net/.../proconrulz-sniper-limiter-v27-by-tarreltje Thanks for your replay so what Plugin i can use for Rpg limit? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 18, 2016 Share Posted October 18, 2016 Originally Posted by ty_ger07*: You can easily make RPG completely disallowed by using this plugin or by using ColColonCleaner's loadout enforcer plugin (costs $15) myrcon.net/.../on-spawn-loadout-enforcer-for-infantryvehicles-adkatslrt or by using Singularity's simple weapon limiter plugin (free) myrcon.net/.../simple-weapon-limiter-v1000 . If you just want to limit a certain number of players who can use the RPG but not disallow it outright, I don't know of a good solution. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 19, 2016 Share Posted October 19, 2016 Originally Posted by AlcaGamerZ*: @AlcaGamerZ here you have your !SHOTGUN limit + !SNIPER limit + WHITELIST the code is for proconrulz. the shotgun limit have 2 shotgun slots for each team ( CODE: Set %shotgunlimit% 2 ) the sniper limit have 2 sniper slots for each team ( CODE: Set %sniperlimit% 2 ) whitelist: admins, player with a reserved slot, and players from custom vip list can play without any limit. custom vip list with playernames: ( CODE: Set %vip_list% "@@Playername1@@Playername2@@... ) IMPORTANT: do this what Chilace said: 1) Switch off "Trace rules" (use it for debug only) 2) Set "Protect these players from Kick or Kill" to "Admins_and_Reserved_Slots" Code: #### Sniper + Shotgun Limit + Whitelist ########################## # SETTINGS ARE: %shotgunlimit% AND %sniperlimit% AND %vip_list% # WHITELIST FOR VIPS (admins, reserved slots, costum playerlist) - no weapon limit for this players On Say; PlayerFirst; Set %vip_list% "@@Playername1@@Playername2@@Playername3@@Playername4@@" Protected; Set %vip_no_limits% 1 Admin; Set %vip_no_limits% 1 If %vip_list% contains @@%p%@@; Set %vip_no_limits% 1 On Spawn; PlayerFirst; Set %vip_list% "@@Playername1@@Playername2@@Playername3@@Playername4@@" Protected; Set %vip_no_limits% 1 Admin; Set %vip_no_limits% 1 If %vip_list% contains @@%p%@@; Set %vip_no_limits% 1 # Shotgun limit (2 pro Team) ########################## # IMPORTANT: HERE YOU CAN SET THE # OF SHOTGUN SLOT EACH TEAM: # On Spawn; PlayerFirst; Set %shotgunlimit% 2 On Say; PlayerFirst; Set %shotgunlimit% 2 # KILL CHECK - RESERVE SHOTGUN-SLOT AFTER SHOTGUN KILL - NO FREE SLOT THAN KILL + MESSAGE # On Kill;Damage Shotgun; Not Weapon U_SerbuShorty; Not MapMode GunMaster;If %vip_no_limits% != 1; If %server_global_shotguns[%ptk%]% >= %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; TeamSay !SHOTGUN-LIMIT: %p% was KILLED by !SHOTGUN limit (max %shotgunlimit% shotguns each team). Type !SHOTGUN; PlayerYell KILLED by !SHOTGUN limit; Kill 100 If %server_global_shotguns[%ptk%]% < %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 1; Incr %server_global_shotguns[%ptk%]%; TeamSay !SHOTGUN-LIMIT: %p% have a !SHOTGUN slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%); PlayerSay !SHOTGUN-LIMIT: Allowed weapons: Shotgun, Pistol, Nades, C4, Clay, Knife; PlayerYell YOU HAVE A !SHOTGUN SLOT # MAKE SHOTGUN-SLOT FREE AFTER NO SHOTGUN KILL - (allowed kills with shotgun slot: Shotgun, Pistole, Nades, Clay, C4, Knife, Vehicles...) # On Kill; Not Damage Shotgun;Not Damage Explosive;Not Damage Handgun;Not Damage Melee;Not Damage VehicleWater;Not Damage VehicleAir;Not Damage VehicleStationary;Not Damage VehiclePersonal;Not Damage VehicleTransport;Not Damage VehicleLight;Not Damage VehicleHeavy; Not Weapon U_M67,U_Grenade_RGO,U_V40,U_M34,DamageArea,SoldierCollision,Death,RoadKill,VehicleUpsideDown,Suicide,U_BallisticShield,U_SUAV,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon, U_SP_Claymore;Not MapMode GunMaster; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay !SHOTGUN-LIMIT: %p% gave up his !SHOTGUN slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%); Log DEBUG !SHOTGUN-LIMIT: Player %p% killed %v% with WeaponID %wk% (lost !SHOTGUN slot); PlayerYell You lost your !SHOTGUN slot On Leave; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%) # SERVER LEAVE + TEAM SWITCH CHECK # On Spawn; if %ptk% != 0; if %server_global_playershotgunstatus[%p%][0]% == 1; Set %server_global_playershotgunstatus[%p%][0]% 0; PlayerSay !SHOTGUN-LIMIT: You lost your !SHOTGUN slot (Team-Switch); PlayerYell You lost your !SHOTGUN slot if %ptk% != 1; if %server_global_playershotgunstatus[%p%][1]% == 1; Set %server_global_playershotgunstatus[%p%][1]% 0; PlayerSay !SHOTGUN-LIMIT: You lost your !SHOTGUN slot (Team-Switch); PlayerYell You lost your !SHOTGUN slot if %ptk% != 2; if %server_global_playershotgunstatus[%p%][2]% == 1; Set %server_global_playershotgunstatus[%p%][2]% 0; PlayerSay !SHOTGUN-LIMIT: You lost your !SHOTGUN slot (Team-Switch); PlayerYell You lost your !SHOTGUN slot if %ptk% != 3; if %server_global_playershotgunstatus[%p%][3]% == 1; Set %server_global_playershotgunstatus[%p%][3]% 0; PlayerSay !SHOTGUN-LIMIT: You lost your !SHOTGUN slot (Team-Switch); PlayerYell You lost your !SHOTGUN slot On Leave; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay !SHOTGUN-LIMIT: %p% gave up his !SHOTGUN slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%) # !shotgun IN-GAME-CHAT COMMAND # On Say;Text !shotgun; Not MapMode GunMaster; If %vip_no_limits% != 1; TeamSay !SHOTGUN-LIMIT: Shotguns are limited on this server.; TeamSay !SHOTGUN-LIMIT: Currently: %server_global_shotguns[%ptk%]% of %shotgunlimit% for your team; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; PlayerSay !SHOTGUN-LIMIT: You have a !SHOTGUN slot! Allowed weapons: Shotgun, Pistol, Nades, C4, Clay, Knife On Say;Text !shotgun; Not MapMode GunMaster; If %vip_no_limits% == 1; PlayerSay %p% you are a VIP. No !SHOTGUN-LIMIT for you! # Sniper/DMR limit (2 pro Team) ########################## # IMPORTANT: HERE YOU CAN SET THE # OF SNIPER SLOT EACH TEAM: # On Spawn;PlayerFirst; Set %sniperlimit% 2 On Say;PlayerFirst; Set %sniperlimit% 2 # KILL CHECK - RESERVE SNIPER-SLOT AFTER SNIPER KILL - NO FREE SLOT THAN KILL + MESSAGE # On Kill;Damage SniperRifle,DMR;Not MapMode GunMaster; If %vip_no_limits% != 1; If %server_global_snipers[%ptk%]% >= %sniperlimit%; If %server_global_playersniperstatus[%p%][%ptk%]% != 1; TeamSay !SNIPER-LIMIT: %p% was KILLED by !SNIPER limit (max %sniperlimit% snipers each team). Type !snipers; PlayerYell KILLED by !SNIPER limit; Kill 100 If %server_global_snipers[%ptk%]% < %sniperlimit%; If %server_global_playersniperstatus[%p%][%ptk%]% != 1; Set %server_global_playersniperstatus[%p%][%ptk%]% 1; Incr %server_global_snipers[%ptk%]%; TeamSay !SNIPER-LIMIT: %p% have a !SNIPER slot (%server_global_snipers[%ptk%]%/%sniperlimit%); PlayerSay !SNIPER-LIMIT: Sniper weapons: Bolt Sniper, DMR, Pistol, Nades, C4, Clay, Knife; PlayerYell YOU HAVE A !SNIPER SLOT # MAKE SNIPER-SLOT FREE AFTER NO SNIPER KILL - (allowed kills with sniper slot: Sniper, DMR, Pistole, Nades, Knife, Clay, C4, Vehicles...) # On Kill; Not Damage SniperRifle;Not Damage DMR;Not Damage Explosive;Not Damage Handgun;Not Damage Melee;Not Damage VehicleWater;Not Damage VehicleAir;Not Damage VehicleStationary;Not Damage VehiclePersonal;Not Damage VehicleTransport;Not Damage VehicleLight;Not Damage VehicleHeavy; Not Weapon U_M67,U_Grenade_RGO,U_V40,U_M34,DamageArea,SoldierCollision,Death,RoadKill,VehicleUpsideDown,Suicide,U_BallisticShield,U_SUAV,U_SerbuShorty,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon, U_SP_Claymore; If %server_global_playersniperstatus[%p%][%ptk%]% == 1; Set %server_global_playersniperstatus[%p%][%ptk%]% 0; Decr %server_global_snipers[%ptk%]%; TeamSay !SNIPER-LIMIT: %p% gave up his !SNIPER slot (%server_global_snipers[%ptk%]%/%sniperlimit%); PlayerYell You lost your !SNIPER slot On Leave; If %server_global_playersniperstatus[%p%][%ptk%]% == 1; Set %server_global_playersniperstatus[%p%][%ptk%]% 0; Decr %server_global_snipers[%ptk%]%; TeamSay !SNIPER-LIMIT: %p% gave up his !SNIPER slot (%server_global_snipers[%ptk%]%/%sniperlimit%) # SERVER LEAVE + TEAM SWITCH CHECK # On Spawn; if %ptk% != 0; if %server_global_playersniperstatus[%p%][0]% == 1; Set %server_global_playersniperstatus[%p%][0]% 0; Decr %server_global_snipers[0]%; PlayerSay !SNIPER-LIMIT: You lost your !SNIPER slot (Team-Switch); PlayerYell You lost your !SNIPER slot if %ptk% != 1; if %server_global_playersniperstatus[%p%][1]% == 1; Set %server_global_playersniperstatus[%p%][1]% 0; Decr %server_global_snipers[1]%; PlayerSay !SNIPER-LIMIT: You lost your !SNIPER slot (Team-Switch); PlayerYell You lost your !SNIPER slot if %ptk% != 2; if %server_global_playersniperstatus[%p%][2]% == 1; Set %server_global_playersniperstatus[%p%][2]% 0; Decr %server_global_snipers[2]%; PlayerSay !SNIPER-LIMIT: You lost your !SNIPER slot (Team-Switch); PlayerYell You lost your !SNIPER slot if %ptk% != 3; if %server_global_playersniperstatus[%p%][3]% == 1; Set %server_global_playersniperstatus[%p%][3]% 0; Decr %server_global_snipers[3]%; PlayerSay !SNIPER-LIMIT: You lost your !SNIPER slot (Team-Switch); PlayerYell You lost your !SNIPER slot On Leave; If %server_global_playersniperstatus[%p%][%ptk%]% == 1; Set %server_global_playersniperstatus[%p%][%ptk%]% 0; Decr %server_global_snipers[%ptk%]%; TeamSay SNIPER-LIMIT: %p% gave up his sniper slot (%server_global_snipers[%ptk%]%/%sniperlimit%) # !sniper IN-GAME-CHAT COMMAND # On Say;Text !sniper,!dmr; Not MapMode GunMaster; If %vip_no_limits% != 1; TeamSay !SNIPER-LIMIT: Snipers/DMRs are limited on this server. Currently: %server_global_snipers[%ptk%]% of %sniperlimit% for your team; If %server_global_playersniperstatus[%p%][%ptk%]% == 1; PlayerSay !SNIPER-LIMIT: You have a !SNIPER slot! Sniper weapons: Bolt Sniper, DMR, Pistol, Nades, C4, Clay, Knife On Say;Text !sniper,!dmr; Not MapMode GunMaster; If %vip_no_limits% == 1; PlayerSay %p% you are a VIP. No !SNIPER-LIMIT for you! #### Sniper + Shotgun Limit + Whitelist END ########################## Thnks for the code guys , will try it out later on , have an exam going right now . However,i just faced with hacker problem yesterday , do we have any automatic admin ban? . As for yesterday , a player name icethor222 , was using aimbot every time he kills he get headshot . I was trying to ban him manually thro procon as i'm not in the game . But the procon crashed with the server . I have no idea what happen maybe somekind of heavy load something? ... do appreciate if there is a way preventing hackers while the admins is away Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 19, 2016 Share Posted October 19, 2016 Originally Posted by spatieman*: good afternoon. got a small isue, i am making a sneaky shortcut for doing /nextlevel and /yes (admins only that is) what ever i try, it wont work. This. Code: On Say;Text /next;playersay Changing maps;Exec /nextlevel;exec /yesSeems also not to work. 2nd. for TDM we want a kill rule for abusing use of M224 (mortar) Code: On Kill;Weapon m224;yell M224 Mortar not allowed in TDM;kill 3000seems not to work. As for the EODbot. i am trying to make a fun spam when some1 got torched by the eodbot. but is seems not posible, is there a workaround for it ? P.S its a BF3 server Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 19, 2016 Share Posted October 19, 2016 Originally Posted by BuRockK*: good afternoon. got a small isue, i am making a sneaky shortcut for doing /nextlevel and /yes (admins only that is) what ever i try, it wont work. This. Code: On Say;Text /next;playersay Changing maps;Exec /nextlevel;exec /yesSeems also not to work. 2nd. for TDM we want a kill rule for abusing use of M224 (mortar) Code: On Kill;Weapon m224;yell M224 Mortar not allowed in TDM;kill 3000seems not to work. As for the EODbot. i am trying to make a fun spam when some1 got torched by the eodbot. but is seems not posible, is there a workaround for it ? P.S its a BF3 server When you want to change current map, you should always consider "saving" that current round before changing the map. Because the way BF4 works, changin map before ending the round (!endround ) will cause server to change round immidiately without saving any scores or kill counts any player might have at the moment. So you should always use the in-game command "!endround " before changing to another map. (Rcon command: mapList.endRound ) With that in mind, it would be better to "end" the round rather than changing to nextmap. Once the end of round screen is finish the server will move on to next map anyway: Code: On Say;Admin;Text /next; if %targettext% == 0; PlayerSay You need to specify a winning team ID/NAME (1/2 or US/RU/CH);PlayerSay Ex: /next 1;end exec mapList.endRound %targettext%For M224 (If player will be killed, always use kill before any yell commands. If you use yell first, text will disappear immidiately when the player is killed right after.):Code: On Kill;Weapon m224;kill 100;PlayerYell 5 M224 Mortar not allowed in TDM.For EOD Bot, you cannot track it on any damage or on any kill because EOT bot kills shown as "Death" in game most the time. "Death" is used in many kill variants in game so it would cause more problems in your gameplay if you use "death" info in your code. This is a BF4 side bug and was never patched. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 19, 2016 Share Posted October 19, 2016 Originally Posted by spatieman*: i give it a try, i want the /next incase we end up in a borring map, so score on fresh map wont bother. nop. not changing, not even with Code: On Say;Admin;Text /next;playersay changing map;exec mapList.runNextRound %ptk%but i got now something to work on. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 19, 2016 Share Posted October 19, 2016 Originally Posted by ty_ger07*: I am not sure what you are attempting to do with %ptk%, but mapList.runNextRound will just run whatever the next map is in the map list. You can't specify which specific map to run next without first clearing the map list and creating a new map list. It becomes problematic if you want to do more than just run whatever map is next. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 19, 2016 Share Posted October 19, 2016 Originally Posted by BuRockK*: If you have the In-Game Admin plugin enabled in Procon, you can use the command !nextlevel to skip to next map in rotation (wont matter how many rounds are set in current map, !nextlevel will change to next map in line) Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 21, 2016 Share Posted October 21, 2016 Originally Posted by AlcaGamerZ*: @AlcaGamerZ here you have your !SHOTGUN limit + !SNIPER limit + WHITELIST the code is for proconrulz. the shotgun limit have 2 shotgun slots for each team ( CODE: Set %shotgunlimit% 2 ) the sniper limit have 2 sniper slots for each team ( CODE: Set %sniperlimit% 2 ) whitelist: admins, player with a reserved slot, and players from custom vip list can play without any limit. custom vip list with playernames: ( CODE: Set %vip_list% "@@Playername1@@Playername2@@... ) IMPORTANT: do this what Chilace said: 1) Switch off "Trace rules" (use it for debug only) 2) Set "Protect these players from Kick or Kill" to "Admins_and_Reserved_Slots" Code: #### Sniper + Shotgun Limit + Whitelist ########################## # SETTINGS ARE: %shotgunlimit% AND %sniperlimit% AND %vip_list% # WHITELIST FOR VIPS (admins, reserved slots, costum playerlist) - no weapon limit for this players On Say; PlayerFirst; Set %vip_list% "@@Playername1@@Playername2@@Playername3@@Playername4@@" Protected; Set %vip_no_limits% 1 Admin; Set %vip_no_limits% 1 If %vip_list% contains @@%p%@@; Set %vip_no_limits% 1 On Spawn; PlayerFirst; Set %vip_list% "@@Playername1@@Playername2@@Playername3@@Playername4@@" Protected; Set %vip_no_limits% 1 Admin; Set %vip_no_limits% 1 If %vip_list% contains @@%p%@@; Set %vip_no_limits% 1 # Shotgun limit (2 pro Team) ########################## # IMPORTANT: HERE YOU CAN SET THE # OF SHOTGUN SLOT EACH TEAM: # On Spawn; PlayerFirst; Set %shotgunlimit% 2 On Say; PlayerFirst; Set %shotgunlimit% 2 # KILL CHECK - RESERVE SHOTGUN-SLOT AFTER SHOTGUN KILL - NO FREE SLOT THAN KILL + MESSAGE # On Kill;Damage Shotgun; Not Weapon U_SerbuShorty; Not MapMode GunMaster;If %vip_no_limits% != 1; If %server_global_shotguns[%ptk%]% >= %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; TeamSay !SHOTGUN-LIMIT: %p% was KILLED by !SHOTGUN limit (max %shotgunlimit% shotguns each team). Type !SHOTGUN; PlayerYell KILLED by !SHOTGUN limit; Kill 100 If %server_global_shotguns[%ptk%]% < %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 1; Incr %server_global_shotguns[%ptk%]%; TeamSay !SHOTGUN-LIMIT: %p% have a !SHOTGUN slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%); PlayerSay !SHOTGUN-LIMIT: Allowed weapons: Shotgun, Pistol, Nades, C4, Clay, Knife; PlayerYell YOU HAVE A !SHOTGUN SLOT # MAKE SHOTGUN-SLOT FREE AFTER NO SHOTGUN KILL - (allowed kills with shotgun slot: Shotgun, Pistole, Nades, Clay, C4, Knife, Vehicles...) # On Kill; Not Damage Shotgun;Not Damage Explosive;Not Damage Handgun;Not Damage Melee;Not Damage VehicleWater;Not Damage VehicleAir;Not Damage VehicleStationary;Not Damage VehiclePersonal;Not Damage VehicleTransport;Not Damage VehicleLight;Not Damage VehicleHeavy; Not Weapon U_M67,U_Grenade_RGO,U_V40,U_M34,DamageArea,SoldierCollision,Death,RoadKill,VehicleUpsideDown,Suicide,U_BallisticShield,U_SUAV,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon, U_SP_Claymore;Not MapMode GunMaster; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay !SHOTGUN-LIMIT: %p% gave up his !SHOTGUN slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%); Log DEBUG !SHOTGUN-LIMIT: Player %p% killed %v% with WeaponID %wk% (lost !SHOTGUN slot); PlayerYell You lost your !SHOTGUN slot On Leave; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%) # SERVER LEAVE + TEAM SWITCH CHECK # On Spawn; if %ptk% != 0; if %server_global_playershotgunstatus[%p%][0]% == 1; Set %server_global_playershotgunstatus[%p%][0]% 0; PlayerSay !SHOTGUN-LIMIT: You lost your !SHOTGUN slot (Team-Switch); PlayerYell You lost your !SHOTGUN slot if %ptk% != 1; if %server_global_playershotgunstatus[%p%][1]% == 1; Set %server_global_playershotgunstatus[%p%][1]% 0; PlayerSay !SHOTGUN-LIMIT: You lost your !SHOTGUN slot (Team-Switch); PlayerYell You lost your !SHOTGUN slot if %ptk% != 2; if %server_global_playershotgunstatus[%p%][2]% == 1; Set %server_global_playershotgunstatus[%p%][2]% 0; PlayerSay !SHOTGUN-LIMIT: You lost your !SHOTGUN slot (Team-Switch); PlayerYell You lost your !SHOTGUN slot if %ptk% != 3; if %server_global_playershotgunstatus[%p%][3]% == 1; Set %server_global_playershotgunstatus[%p%][3]% 0; PlayerSay !SHOTGUN-LIMIT: You lost your !SHOTGUN slot (Team-Switch); PlayerYell You lost your !SHOTGUN slot On Leave; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay !SHOTGUN-LIMIT: %p% gave up his !SHOTGUN slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%) # !shotgun IN-GAME-CHAT COMMAND # On Say;Text !shotgun; Not MapMode GunMaster; If %vip_no_limits% != 1; TeamSay !SHOTGUN-LIMIT: Shotguns are limited on this server.; TeamSay !SHOTGUN-LIMIT: Currently: %server_global_shotguns[%ptk%]% of %shotgunlimit% for your team; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; PlayerSay !SHOTGUN-LIMIT: You have a !SHOTGUN slot! Allowed weapons: Shotgun, Pistol, Nades, C4, Clay, Knife On Say;Text !shotgun; Not MapMode GunMaster; If %vip_no_limits% == 1; PlayerSay %p% you are a VIP. No !SHOTGUN-LIMIT for you! # Sniper/DMR limit (2 pro Team) ########################## # IMPORTANT: HERE YOU CAN SET THE # OF SNIPER SLOT EACH TEAM: # On Spawn;PlayerFirst; Set %sniperlimit% 2 On Say;PlayerFirst; Set %sniperlimit% 2 # KILL CHECK - RESERVE SNIPER-SLOT AFTER SNIPER KILL - NO FREE SLOT THAN KILL + MESSAGE # On Kill;Damage SniperRifle,DMR;Not MapMode GunMaster; If %vip_no_limits% != 1; If %server_global_snipers[%ptk%]% >= %sniperlimit%; If %server_global_playersniperstatus[%p%][%ptk%]% != 1; TeamSay !SNIPER-LIMIT: %p% was KILLED by !SNIPER limit (max %sniperlimit% snipers each team). Type !snipers; PlayerYell KILLED by !SNIPER limit; Kill 100 If %server_global_snipers[%ptk%]% < %sniperlimit%; If %server_global_playersniperstatus[%p%][%ptk%]% != 1; Set %server_global_playersniperstatus[%p%][%ptk%]% 1; Incr %server_global_snipers[%ptk%]%; TeamSay !SNIPER-LIMIT: %p% have a !SNIPER slot (%server_global_snipers[%ptk%]%/%sniperlimit%); PlayerSay !SNIPER-LIMIT: Sniper weapons: Bolt Sniper, DMR, Pistol, Nades, C4, Clay, Knife; PlayerYell YOU HAVE A !SNIPER SLOT # MAKE SNIPER-SLOT FREE AFTER NO SNIPER KILL - (allowed kills with sniper slot: Sniper, DMR, Pistole, Nades, Knife, Clay, C4, Vehicles...) # On Kill; Not Damage SniperRifle;Not Damage DMR;Not Damage Explosive;Not Damage Handgun;Not Damage Melee;Not Damage VehicleWater;Not Damage VehicleAir;Not Damage VehicleStationary;Not Damage VehiclePersonal;Not Damage VehicleTransport;Not Damage VehicleLight;Not Damage VehicleHeavy; Not Weapon U_M67,U_Grenade_RGO,U_V40,U_M34,DamageArea,SoldierCollision,Death,RoadKill,VehicleUpsideDown,Suicide,U_BallisticShield,U_SUAV,U_SerbuShorty,U_C4,U_C4_Support,U_Claymore,U_Claymore_Recon, U_SP_Claymore; If %server_global_playersniperstatus[%p%][%ptk%]% == 1; Set %server_global_playersniperstatus[%p%][%ptk%]% 0; Decr %server_global_snipers[%ptk%]%; TeamSay !SNIPER-LIMIT: %p% gave up his !SNIPER slot (%server_global_snipers[%ptk%]%/%sniperlimit%); PlayerYell You lost your !SNIPER slot On Leave; If %server_global_playersniperstatus[%p%][%ptk%]% == 1; Set %server_global_playersniperstatus[%p%][%ptk%]% 0; Decr %server_global_snipers[%ptk%]%; TeamSay !SNIPER-LIMIT: %p% gave up his !SNIPER slot (%server_global_snipers[%ptk%]%/%sniperlimit%) # SERVER LEAVE + TEAM SWITCH CHECK # On Spawn; if %ptk% != 0; if %server_global_playersniperstatus[%p%][0]% == 1; Set %server_global_playersniperstatus[%p%][0]% 0; Decr %server_global_snipers[0]%; PlayerSay !SNIPER-LIMIT: You lost your !SNIPER slot (Team-Switch); PlayerYell You lost your !SNIPER slot if %ptk% != 1; if %server_global_playersniperstatus[%p%][1]% == 1; Set %server_global_playersniperstatus[%p%][1]% 0; Decr %server_global_snipers[1]%; PlayerSay !SNIPER-LIMIT: You lost your !SNIPER slot (Team-Switch); PlayerYell You lost your !SNIPER slot if %ptk% != 2; if %server_global_playersniperstatus[%p%][2]% == 1; Set %server_global_playersniperstatus[%p%][2]% 0; Decr %server_global_snipers[2]%; PlayerSay !SNIPER-LIMIT: You lost your !SNIPER slot (Team-Switch); PlayerYell You lost your !SNIPER slot if %ptk% != 3; if %server_global_playersniperstatus[%p%][3]% == 1; Set %server_global_playersniperstatus[%p%][3]% 0; Decr %server_global_snipers[3]%; PlayerSay !SNIPER-LIMIT: You lost your !SNIPER slot (Team-Switch); PlayerYell You lost your !SNIPER slot On Leave; If %server_global_playersniperstatus[%p%][%ptk%]% == 1; Set %server_global_playersniperstatus[%p%][%ptk%]% 0; Decr %server_global_snipers[%ptk%]%; TeamSay SNIPER-LIMIT: %p% gave up his sniper slot (%server_global_snipers[%ptk%]%/%sniperlimit%) # !sniper IN-GAME-CHAT COMMAND # On Say;Text !sniper,!dmr; Not MapMode GunMaster; If %vip_no_limits% != 1; TeamSay !SNIPER-LIMIT: Snipers/DMRs are limited on this server. Currently: %server_global_snipers[%ptk%]% of %sniperlimit% for your team; If %server_global_playersniperstatus[%p%][%ptk%]% == 1; PlayerSay !SNIPER-LIMIT: You have a !SNIPER slot! Sniper weapons: Bolt Sniper, DMR, Pistol, Nades, C4, Clay, Knife On Say;Text !sniper,!dmr; Not MapMode GunMaster; If %vip_no_limits% == 1; PlayerSay %p% you are a VIP. No !SNIPER-LIMIT for you! #### Sniper + Shotgun Limit + Whitelist END ########################## Oh wait , have a question . You mean i need to rename the red in color to the player that want to be exception from sniper/shotgun limit? so it's not sync with the server reserved list? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 22, 2016 Share Posted October 22, 2016 Originally Posted by maxdralle*: Oh wait , have a question . You mean i need to rename the red in color to the player that want to be exception from sniper/shotgun limit? so it's not sync with the server reserved list?it sync with the reserved slot list automatically.it sync with the admin list automatically. the red playernames is a costum list. you dont need to change it... try it out Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 22, 2016 Share Posted October 22, 2016 Originally Posted by AlcaGamerZ*: it sync with the reserved slot list automatically. it sync with the admin list automatically. the red playernames is a costum list. you dont need to change it... try it out Alright! Ill be bak for review in about a week , still having an exam right now Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted October 27, 2016 Share Posted October 27, 2016 Originally Posted by AlcaGamerZ*: Alright i'm back . looks like the vip code works . thanks alot maxdralle ! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 14, 2016 Share Posted November 14, 2016 Originally Posted by Hodor*: Hi guys, is it possible to make rule work from 3 to 13 and from 14 to 19 another rule: Code: On Kill;If %ini_vars_online% = 3,4,5,6,7,8,9,10,11,12,13;Set %ini_vars_lock% 2 On Kill;If %ini_vars_online% = 14,15,16,17,18,19;Set %ini_vars_lock% 3So this rule not worked for me, can someone help_ Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2016 Share Posted November 19, 2016 Originally Posted by Hodor*: Any help? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2016 Share Posted November 19, 2016 Originally Posted by Chilace*: Hi guys, is it possible to make rule work from 3 to 13 and from 14 to 19 another rule:Code: On Kill;If %ini_vars_online% >= 3;If %ini_vars_online% <= 13;Set %ini_vars_lock% 2 On Kill;If %ini_vars_online% >= 14;If %ini_vars_online% <= 19;Set %ini_vars_lock% 3here we go Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2016 Share Posted November 19, 2016 Originally Posted by ty_ger07*: Code: On Kill;If %ini_vars_online% >= 3;If %ini_vars_online% <= 13;Set %ini_vars_lock% 2 On Kill;If %ini_vars_online% >= 14;If %ini_vars_online% <= 19;Set %ini_vars_lock% 3here we goYou need to have another line or something which sets %ini_vars_online% to some value. As it is, %ini_vars_online% will be 0 and will always be 0 because it is never set to any value. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted November 19, 2016 Share Posted November 19, 2016 Originally Posted by Chilace*: You need to have another line or something which sets %ini_vars_online% to some value. As it is, %ini_vars_online% will be 0 and will always be 0 because it is never set to any value.I think this is just a small portion of his code. Quote * Restored post. It could be that the author is no longer active. Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.