Raised This Month: $51 Target: $400
 12% 

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 04-27-2012 , 16:45   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1021

Quote:
Originally Posted by Miss.Xantis View Post
Is This a bug, that i can buy the AWP with the console?

type "buy magnum" in the console.


weapon_restrict.cfg
Quote:
Originally Posted by Bacardi View Post
dam HPE and they little secrets.

*edit
can buy but can't pick up, not big problem for that ^^.
Wtf... You shouldn't be able to buy it. Its in the alias check....
Dr!fter is offline
Miss.Xantis
Senior Member
Join Date: Oct 2009
Old 04-27-2012 , 17:04   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1022

Sry, my english is bad.

sm_restrict_awp_ct "0"
sm_restrict_magnum_ct "0"
sm_restrict_awp_t "0"
sm_restrict_magnum_t "0"

With these settings, i can buy the AWP in the console.

"buy magnum"

Why?
Miss.Xantis is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 04-27-2012 , 17:10   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1023

sm_restrict_magnum_t "0" and sm_restrict_magnum_ct "0" dont exist. Its a bug, which i have to look into. The native for the alias is returning an empty string for some reason.
Dr!fter is offline
Miss.Xantis
Senior Member
Join Date: Oct 2009
Old 04-27-2012 , 17:29   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1024

In Version 2.3.2 the Bug donīt exist.
Miss.Xantis is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 04-27-2012 , 23:29   Re: [CSS] Weapon Restrict
Reply With Quote #1025

Quote:
Originally Posted by Dr!fter View Post
Your doing translations wrong. Leave the normal (addons\sourcemod\translations\WeaponRestrict .phrases.txt) alone.
You add translations to addons\sourcemod\translations\fr\WeaponRestri ct.phrases.txt

In the file you dont include "#format" things only the main translations file do you include format. So what you posted above would be

Code:
"WarmupCountdown"   
{        
      "fr"        "Warm up round {1} seconds left"    
}
"RestrictedWeapon"    
{       
      "fr"        "L'arme {1} est restreinte"    
}
And make sure to change the main translations file back to what it was before.
Hello,

in game, display {1} and not weapon or secondes (Warm up round {1} seconds left in game and not Warm up round 5 seconds left)...

I have no choice but to leave #format for warnings, it'll just add the log files: D

Last edited by eric0279; 04-27-2012 at 23:32.
eric0279 is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 04-28-2012 , 00:56   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1026

Quote:
Originally Posted by Miss.Xantis View Post
Is This a bug, that i can buy the AWP with the console?

type "buy magnum" in the console.


weapon_restrict.cfg
Quote:
Originally Posted by Bacardi View Post
dam HPE and they little secrets.

*edit
can buy but can't pick up, not big problem for that ^^.
I found the problem its a really easy fix and ill update it tomorrow.
Dr!fter is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 04-28-2012 , 11:49   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1027

Update released to fix the Weapon aliases bug.
Dr!fter is offline
Miss.Xantis
Senior Member
Join Date: Oct 2009
Old 04-28-2012 , 12:35   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1028

Thx, looks great. Works fine.
Miss.Xantis is offline
seb le chieur 01
Junior Member
Join Date: Oct 2011
Location: France
Old 05-17-2012 , 13:55   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1029

Sorry for my bad english but i am french !!

during the warmup, we get the bomb, the basic pistol, not deagle, hegrenade or knife as defined in the config file warmup.cfg. Furthermore the c4 is also present.

please help me :-)

With version 2.3.5 it was or knife or grenade or desert eagle never c4, but with the latest version is no that. There is the c4, gun bas level and the knife, all at the same time.

Last edited by seb le chieur 01; 05-18-2012 at 07:00. Reason: precisions
seb le chieur 01 is offline
Demuth
Junior Member
Join Date: Nov 2010
Location: Denmark
Old 05-18-2012 , 16:24   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1030

Just installed sdkhooks 2.1, sourcemod 1.4.2 and this plugin, but i just get this:
34 <Failed> "Weapon Restrict" (3.0.9) by Dr!fter

Do you know a solution, i have tried so reinstall the plugin 4 times now.
I have installed the plugin on 5-6 other of my servers without any problem ?
Demuth 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 14:45.


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