Raised This Month: $32 Target: $400
 8% 

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
tiga05
New Member
Join Date: Jan 2015
Old 01-07-2015 , 14:27   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1681

Hello,

after I installed the plugin im not able to disable the warmup. I want to disable warmup on EVERY map. Is this possible ? Or do I have to make a new config for every map?
tiga05 is offline
CenT
Senior Member
Join Date: Aug 2009
Location: FRANCE
Old 01-18-2015 , 16:55   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1682

Hello,

right now I have mistake with weapon restrict:


Quote:
L 01/18/2015 - 14:18:41: SourceMod error session started
L 01/18/2015 - 14:18:41: Info (map "de_dust2") (file "errors_20150118.log")
L 01/18/2015 - 14:18:41: [SM] Plugin encountered error 11: Invalid memory access
L 01/18/2015 - 14:18:41: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/18/2015 - 14:18:41: [SM] [0] Line 147, restrictinc/natives.sp::Native_RemoveRandom()
L 01/18/2015 - 14:18:41: [SM] Plugin encountered error 11: Invalid memory access
L 01/18/2015 - 14:18:41: [SM] Native "Restrict_RemoveRandom" reported: Error encountered while processing a dynamic native
L 01/18/2015 - 14:18:41: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/18/2015 - 14:18:41: [SM] [0] Line 724, restrictinc/natives.sp::Native_CheckPlayerWeapons()
L 01/18/2015 - 14:18:41: [SM] Plugin encountered error 11: Invalid memory access
L 01/18/2015 - 14:18:41: [SM] Native "Restrict_CheckPlayerWeapons" reported: Error encountered while processing a dynamic native
L 01/18/2015 - 14:18:41: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/18/2015 - 14:18:41: [SM] [0] Line 159, restrictinc/events.sp::EventRoundStart()
L 01/18/2015 - 1403: Error log file session closed.
"

Weapon Restrict" (3.1.6) by Dr!fter

[01] SourceMod (1.6.3) by AlliedModders LLC

Last edited by CenT; 01-18-2015 at 16:57.
CenT is offline
palin
Junior Member
Join Date: Jan 2014
Old 01-22-2015 , 01:01   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1683

I have a problem.

CT can't pick up the galil. I changed this settings by the cfg and command in game.
palin is offline
CenT
Senior Member
Join Date: Aug 2009
Location: FRANCE
Old 01-22-2015 , 16:29   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1684

Good correction is necessary, the author can manifest itself? I restricted flash to 7 per team, but CT can not buy ...

CSGO on it not working properly ...

Last edited by CenT; 01-22-2015 at 16:30.
CenT is offline
L33TGaming
Senior Member
Join Date: Jun 2014
Old 01-29-2015 , 03:20   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1685

I had this error in the logs:

L 01/29/2015 - 185:52: [SM] Native "CS_GetWeaponPrice" reported: Failed to locate function
L 01/29/2015 - 185:52: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 185:52: [SM] [0] Line 298, C:\Users\jkingsley.OSBORN\Documents\Sourcemod \addons\sourcemod\scripting\include\cstrike_w eapons.inc::GetWeaponPrice()
L 01/29/2015 - 185:52: [SM] [1] Line 86, restrictinc/natives.sp::Native_RefundMoney()
L 01/29/2015 - 185:52: [SM] Native "Restrict_RefundMoney" reported: Error encountered while processing a dynamic native
L 01/29/2015 - 185:52: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 185:52: [SM] [0] Line 239, restrictinc/natives.sp::Native_RemoveRandom()
L 01/29/2015 - 185:52: [SM] Native "Restrict_RemoveRandom" reported: Error encountered while processing a dynamic native
L 01/29/2015 - 185:52: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 185:52: [SM] [0] Line 714, restrictinc/natives.sp::Native_CheckPlayerWeapons()
L 01/29/2015 - 185:52: [SM] Native "Restrict_CheckPlayerWeapons" reported: Error encountered while processing a dynamic native
L 01/29/2015 - 185:52: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 185:52: [SM] [0] Line 159, restrictinc/events.sp::EventRoundStart()
L33TGaming is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 01-29-2015 , 08:37   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1686

Quote:
Originally Posted by palin View Post
I have a problem.

CT can't pick up the galil. I changed this settings by the cfg and command in game.
Check your configs and make sure that you dont have any perplayer restricts for it

Quote:
Originally Posted by CenT View Post
Good correction is necessary, the author can manifest itself? I restricted flash to 7 per team, but CT can not buy ...

CSGO on it not working properly ...
It works fine on csgo, you are the only one that seems to have problems. Check your configs.

Quote:
Originally Posted by L33TGaming View Post
I had this error in the logs:

L 01/29/2015 - 185:52: [SM] Native "CS_GetWeaponPrice" reported: Failed to locate function
L 01/29/2015 - 185:52: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 185:52: [SM] [0] Line 298, C:\Users\jkingsley.OSBORN\Documents\Sourcemod \addons\sourcemod\scripting\include\cstrike_w eapons.inc::GetWeaponPrice()
L 01/29/2015 - 185:52: [SM] [1] Line 86, restrictinc/natives.sp::Native_RefundMoney()
L 01/29/2015 - 185:52: [SM] Native "Restrict_RefundMoney" reported: Error encountered while processing a dynamic native
L 01/29/2015 - 185:52: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 185:52: [SM] [0] Line 239, restrictinc/natives.sp::Native_RemoveRandom()
L 01/29/2015 - 185:52: [SM] Native "Restrict_RemoveRandom" reported: Error encountered while processing a dynamic native
L 01/29/2015 - 185:52: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 185:52: [SM] [0] Line 714, restrictinc/natives.sp::Native_CheckPlayerWeapons()
L 01/29/2015 - 185:52: [SM] Native "Restrict_CheckPlayerWeapons" reported: Error encountered while processing a dynamic native
L 01/29/2015 - 185:52: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 185:52: [SM] [0] Line 159, restrictinc/events.sp::EventRoundStart()
This is a problem in sourcemod itself, I am not sure when it will be fixed as valve changed things quiet a bit.
Dr!fter is offline
CenT
Senior Member
Join Date: Aug 2009
Location: FRANCE
Old 01-29-2015 , 16:47   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1687

Quote:
Originally Posted by Dr!fter View Post
It works fine on csgo, you are the only one that seems to have problems. Check your configs.
My weapon_restrict.cfg

Code:
// This file was auto-generated by SourceMod (v1.5.0-dev)
// ConVars for plugin "weapon_restrict.smx"


// Set to 0 to allow awp pickup ONLY if it is under the max allowed. Set to 1 to use sm_allow_restricted_pickup method.
// -
// Default: "1"
sm_allow_awp_pickup "1"

// Set to 0 to ONLY allow pickup if under the max allowed. Set to 1 to allow restricted weapon pickup
// -
// Default: "0"
sm_allow_restricted_pickup "0"

// If enabled will count bots in per player restricts
// -
// Default: "1"
sm_perplayer_bots "1"

// If enabled will restrict awp per player count
// -
// Default: "0"
sm_perplayer_restrict "0"

// If enabled will count specs in per player restricts
// -
// Default: "1"
sm_perplayer_specs "1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:ak47
// -
// Default: "-1"
sm_restrict_ak47_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:ak47
// -
// Default: "-1"
sm_restrict_ak47_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:aug
// -
// Default: "-1"
sm_restrict_aug_ct "2"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:aug
// -
// Default: "-1"
sm_restrict_aug_t "2"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:awp
// -
// Default: "-1"
sm_restrict_awp_ct "0"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:awp
// -
// Default: "-1"
sm_restrict_awp_t "0"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:bizon
// -
// Default: "-1"
sm_restrict_bizon_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:bizon
// -
// Default: "-1"
sm_restrict_bizon_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:c4
// -
// Default: "-1"
sm_restrict_c4 "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:deagle
// -
// Default: "-1"
sm_restrict_deagle_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:deagle
// -
// Default: "-1"
sm_restrict_deagle_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:decoy
// -
// Default: "-1"
sm_restrict_decoy_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:decoy
// -
// Default: "-1"
sm_restrict_decoy_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:defuser
// -
// Default: "-1"
sm_restrict_defuser "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:elite
// -
// Default: "-1"
sm_restrict_elite_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:elite
// -
// Default: "-1"
sm_restrict_elite_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:famas
// -
// Default: "-1"
sm_restrict_famas_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:famas
// -
// Default: "-1"
sm_restrict_famas_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:fiveseven
// -
// Default: "-1"
sm_restrict_fiveseven_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:fiveseven
// -
// Default: "-1"
sm_restrict_fiveseven_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:flashbang
// -
// Default: "-1"
sm_restrict_flashbang_ct "7"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:flashbang
// -
// Default: "-1"
sm_restrict_flashbang_t "7"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:g3sg1
// -
// Default: "-1"
sm_restrict_g3sg1_ct "0"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:g3sg1
// -
// Default: "-1"
sm_restrict_g3sg1_t "0"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:galilar
// -
// Default: "-1"
sm_restrict_galilar_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:galilar
// -
// Default: "-1"
sm_restrict_galilar_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:glock
// -
// Default: "-1"
sm_restrict_glock_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:glock
// -
// Default: "-1"
sm_restrict_glock_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:hegrenade
// -
// Default: "-1"
sm_restrict_hegrenade_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:hegrenade
// -
// Default: "-1"
sm_restrict_hegrenade_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:hkp2000
// -
// Default: "-1"
sm_restrict_hkp2000_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:hkp2000
// -
// Default: "-1"
sm_restrict_hkp2000_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:incgrenade
// -
// Default: "-1"
sm_restrict_incgrenade_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:incgrenade
// -
// Default: "-1"
sm_restrict_incgrenade_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:knife
// -
// Default: "-1"
sm_restrict_knife_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:knife
// -
// Default: "-1"
sm_restrict_knife_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:knifegg
// -
// Default: "-1"
sm_restrict_knifegg_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:knifegg
// -
// Default: "-1"
sm_restrict_knifegg_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:m249
// -
// Default: "-1"
sm_restrict_m249_ct "2"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:m249
// -
// Default: "-1"
sm_restrict_m249_t "2"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:m4a1
// -
// Default: "-1"
sm_restrict_m4a1_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:m4a1
// -
// Default: "-1"
sm_restrict_m4a1_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:mac10
// -
// Default: "-1"
sm_restrict_mac10_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:mac10
// -
// Default: "-1"
sm_restrict_mac10_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:mag7
// -
// Default: "-1"
sm_restrict_mag7_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:mag7
// -
// Default: "-1"
sm_restrict_mag7_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:molotov
// -
// Default: "-1"
sm_restrict_molotov_ct "5"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:molotov
// -
// Default: "-1"
sm_restrict_molotov_t "5"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:mp7
// -
// Default: "-1"
sm_restrict_mp7_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:mp7
// -
// Default: "-1"
sm_restrict_mp7_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:mp9
// -
// Default: "-1"
sm_restrict_mp9_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:mp9
// -
// Default: "-1"
sm_restrict_mp9_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:negev
// -
// Default: "-1"
sm_restrict_negev_ct "1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:negev
// -
// Default: "-1"
sm_restrict_negev_t "1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:nova
// -
// Default: "-1"
sm_restrict_nova_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:nova
// -
// Default: "-1"
sm_restrict_nova_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:nvgs
// -
// Default: "-1"
sm_restrict_nvgs_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:nvgs
// -
// Default: "-1"
sm_restrict_nvgs_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:p250
// -
// Default: "-1"
sm_restrict_p250_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:p250
// -
// Default: "-1"
sm_restrict_p250_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:p90
// -
// Default: "-1"
sm_restrict_p90_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:p90
// -
// Default: "-1"
sm_restrict_p90_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:sawedoff
// -
// Default: "-1"
sm_restrict_sawedoff_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:sawedoff
// -
// Default: "-1"
sm_restrict_sawedoff_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:scar20
// -
// Default: "-1"
sm_restrict_scar20_ct "0"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:scar20
// -
// Default: "-1"
sm_restrict_scar20_t "0"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:sg556
// -
// Default: "-1"
sm_restrict_sg556_ct "2"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:sg556
// -
// Default: "-1"
sm_restrict_sg556_t "2"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:smokegrenade
// -
// Default: "-1"
sm_restrict_smokegrenade_ct "7"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:smokegrenade
// -
// Default: "-1"
sm_restrict_smokegrenade_t "7"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:ssg08
// -
// Default: "-1"
sm_restrict_ssg08_ct "2"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:ssg08
// -
// Default: "-1"
sm_restrict_ssg08_t "2"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:taser
// -
// Default: "-1"
sm_restrict_taser_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:taser
// -
// Default: "-1"
sm_restrict_taser_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:tec9
// -
// Default: "-1"
sm_restrict_tec9_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:tec9
// -
// Default: "-1"
sm_restrict_tec9_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:ump45
// -
// Default: "-1"
sm_restrict_ump45_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:ump45
// -
// Default: "-1"
sm_restrict_ump45_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:vest
// -
// Default: "-1"
sm_restrict_vest_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:vest
// -
// Default: "-1"
sm_restrict_vest_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:vesthelm
// -
// Default: "-1"
sm_restrict_vesthelm_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:vesthelm
// -
// Default: "-1"
sm_restrict_vesthelm_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:xm1014
// -
// Default: "-1"
sm_restrict_xm1014_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:xm1014
// -
// Default: "-1"
sm_restrict_xm1014_t "-1"

// Sound to play when a weapon is restricted (leave blank to disable)
// -
// Default: "sound/buttons/weapon_cant_buy.wav"
sm_restricted_sound "sound/buttons/weapon_cant_buy.wav"

// If 1 disables ff during warmup. If 0 leaves ff enabled
// -
// Default: "1"
sm_warmup_disable_ff "1"

// Enable warmup.
// -
// Default: "1"
sm_warmup_enable "1"

// Weather or not give infinite grenades if warmup weapon is grenades
// -
// Default: "1"
sm_warmup_infinite "1"

// Respawn players during warmup
// -
// Default: "1"
sm_warmup_respawn "1"

// Time after death before respawning player
// -
// Default: "0.5"
sm_warmup_respawn_time "0.5"

// How long in seconds warmup lasts
// -
// Default: "45"
sm_warmup_time "45"

// Enables admin immunity so admins can buy restricted weapons
// -
// Default: "0"
sm_weapon_restrict_immunity "0"
Error today :
Code:
L 01/29/2015 - 04:34:11: SourceMod error session started
L 01/29/2015 - 04:34:11: Info (map "de_dust2") (file "errors_20150129.log")
L 01/29/2015 - 04:34:11: [SM] Native "CS_GetWeaponPrice" reported: Failed to locate function
L 01/29/2015 - 04:34:11: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 04:34:11: [SM]   [0]  Line 281, C:\Users\CenT\Desktop\sourcemod-1.6.4-git4624-windows\addons\sourcemod\scripting\include\cstrike_weapons.inc::GetWeaponPrice()
L 01/29/2015 - 04:34:11: [SM]   [1]  Line 86, restrictinc/natives.sp::Native_RefundMoney()
L 01/29/2015 - 04:34:11: [SM] Native "Restrict_RefundMoney" reported: Error encountered while processing a dynamic native
L 01/29/2015 - 04:34:11: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 04:34:11: [SM]   [0]  Line 214, restrictinc/natives.sp::Native_RemoveRandom()
L 01/29/2015 - 04:34:11: [SM] Native "Restrict_RemoveRandom" reported: Error encountered while processing a dynamic native
L 01/29/2015 - 04:34:11: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 04:34:11: [SM]   [0]  Line 724, restrictinc/natives.sp::Native_CheckPlayerWeapons()
L 01/29/2015 - 04:34:11: [SM] Native "Restrict_CheckPlayerWeapons" reported: Error encountered while processing a dynamic native
L 01/29/2015 - 04:34:11: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 04:34:11: [SM]   [0]  Line 159, restrictinc/events.sp::EventRoundStart()
L 01/29/2015 - 04:52:44: Error log file session closed.
L 01/29/2015 - 22:43:32: SourceMod error session started
L 01/29/2015 - 22:43:32: Info (map "de_dust2") (file "errors_20150129.log")
L 01/29/2015 - 22:43:32: [SM] Native "CS_GetWeaponPrice" reported: Failed to locate function
L 01/29/2015 - 22:43:32: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 22:43:32: [SM]   [0]  Line 281, C:\Users\CenT\Desktop\sourcemod-1.6.4-git4624-windows\addons\sourcemod\scripting\include\cstrike_weapons.inc::GetWeaponPrice()
L 01/29/2015 - 22:43:32: [SM]   [1]  Line 86, restrictinc/natives.sp::Native_RefundMoney()
L 01/29/2015 - 22:43:32: [SM] Native "Restrict_RefundMoney" reported: Error encountered while processing a dynamic native
L 01/29/2015 - 22:43:32: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 22:43:32: [SM]   [0]  Line 214, restrictinc/natives.sp::Native_RemoveRandom()
L 01/29/2015 - 22:43:32: [SM] Native "Restrict_RemoveRandom" reported: Error encountered while processing a dynamic native
L 01/29/2015 - 22:43:32: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 22:43:32: [SM]   [0]  Line 724, restrictinc/natives.sp::Native_CheckPlayerWeapons()
L 01/29/2015 - 22:43:32: [SM] Native "Restrict_CheckPlayerWeapons" reported: Error encountered while processing a dynamic native
L 01/29/2015 - 22:43:32: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 01/29/2015 - 22:43:32: [SM]   [0]  Line 159, restrictinc/events.sp::EventRoundStart()

Last edited by CenT; 01-29-2015 at 16:52.
CenT is offline
ph
AlliedModders Donor
Join Date: Mar 2006
Old 01-31-2015 , 10:22   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1688

I have been using this plugin for cs:s / csgo with NO problems.

It could be another plugin that is causing a conflict.

Try setting:
sm_perplayer_bots "0"
sm_warmup_enable "0"
__________________

Last edited by ph; 01-31-2015 at 10:22.
ph is offline
Moezen
Junior Member
Join Date: Feb 2015
Old 02-03-2015 , 17:30   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1689

First of all i just want to thank you for this awsome plugin.

I gotta ask though if you're still working on special rounds, like sm_deagle sm_m249 etc for source?

Im looking to have like deagle/shotgun rounds for my server.

Thanks again!
Moezen is offline
mokujin
New Member
Join Date: Jan 2015
Location: Prague, Czech Republic
Old 02-04-2015 , 16:53   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1690

Sorry but where is the instruction for installing SDKHooks?
Thank you :-)
mokujin is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode