Raised This Month: $ Target: $400
 0% 

Solved I need an AWP Only plugin


Post New Thread Reply   
 
Thread Tools Display Modes
headline
SourceMod Moderator
Join Date: Mar 2015
Old 07-24-2017 , 11:27   Re: I need an AWP Only plugin
Reply With Quote #11

I edited the plugin so all you'd have to do is add another item to this array
PHP Code:
char allowedWeapons[] = {"weapon_awp""weapon_knife"}; 
headline is offline
blacklagoon
Senior Member
Join Date: Jun 2012
Old 07-24-2017 , 11:43   Re: I need an AWP Only plugin
Reply With Quote #12

Ah indeed forgot to read the hook callback.
As for the warning you get if you read yak's FAQS :
Loose indentation warnings arise when indentation in your code is inconsistent. This usually means using both tabs and spaces as indentation. However, it can also mean a different amount of spaces or tabs are being used. Therefore, to correct it just use one type of indentation. Because different editors have different settings for the size of tab stops, it is recommended that you use 4 spaces to indent.

Just saying this for your knowledge

Last edited by blacklagoon; 07-24-2017 at 11:47.
blacklagoon is offline
slowww
Member
Join Date: Mar 2017
Old 07-24-2017 , 11:47   Re: I need an AWP Only plugin
Reply With Quote #13

Thanksssss a lot <3
It's working!!!

T/C
slowww is offline
servers.csgo.cfg
BANNED
Join Date: Sep 2016
Old 07-27-2017 , 06:37   Re: I need an AWP Only plugin
Reply With Quote #14

Quote:
Originally Posted by slowww View Post
Thanksssss a lot <3
It's working!!!

T/C
https://forums.alliedmods.net/showthread.php?t=291764

use restrict weapon dgl

sm_restrict_deagle_ct "0"
sm_restrict_deagle_t "0"

sm_unrestrict weapon awp

https://forums.alliedmods.net/showthread.php?p=950174

Last edited by servers.csgo.cfg; 07-27-2017 at 06:40. Reason: :)
servers.csgo.cfg 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 08:20.


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