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

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
cssundude
Junior Member
Join Date: Feb 2011
Old 07-07-2011 , 10:18   Re: [CSS] Weapon Restrict
Reply With Quote #771

i ll try both way ( with and without server.cfg) and i ll feedback
thanks already anyway
cssundude is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 07-07-2011 , 12:18   Re: [CSS] Weapon Restrict
Reply With Quote #772

Quote:
Originally Posted by Dr!fter View Post
Is there any reason you comment it out from the main config? Does it not work correctly with per map config if it is there? If so that's a bug that ill have to fix
Dam, didn't remember or even noticed that this support map config from ...addons/sourcemod/configs/restrict/

I have done that "my way" to most of plugins.
Bacardi is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 07-07-2011 , 14:47   Re: [CSS] Weapon Restrict
Reply With Quote #773

Quote:
Originally Posted by Bacardi View Post
Dam, didn't remember or even noticed that this support map config from ...addons/sourcemod/configs/restrict/

I have done that "my way" to most of plugins.
Ha and i didn't notice you used the built in method ^^ If you use the built in one yea you need to comment it out of the config since the plugins config runs after the servers configs.
Dr!fter is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-11-2011 , 11:57   Re: [CSS] Weapon Restrict
Reply With Quote #774

Does 2.3.5 fix the issue where FF is turned back on a second too soon... people end up TKing each other because of flying nades and FF comes on a second or so too early resulting in some people TK Revenging each other...
TnTSCS is offline
AMBI
Junior Member
Join Date: Jun 2011
Old 07-23-2011 , 11:28   Re: [CSS] Weapon Restrict
Reply With Quote #775

woot plugin tnx a lot
AMBI is offline
BomBaSK
Junior Member
Join Date: Mar 2011
Old 07-27-2011 , 18:24   Re: [CSS] Weapon Restrict
Reply With Quote #776

Its very buggy on my server, when i restrict weapon its a take money and don't spawn weapon, the message This weapon is re... don't work too... the plugin is broken or where is the problem? Thanks for answer! (:
BomBaSK is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-29-2011 , 14:01   Re: [CSS] Weapon Restrict
Reply With Quote #777

Quote:
Originally Posted by Dr!fter View Post
There is no update, im still in the process of rewriting this plugin. Even if i do add what i said i planned to add I wouldnt have the time to maintain another plugin. I have too many projects at the moment.
With summer here, have you worked on this plugin much yet? Perhaps you can add the ability to restrict a weapon to a certain player

sm_restrict awp TnTSCS

Or is there a plugin out there where I can do just that?
TnTSCS is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 08-01-2011 , 22:39   Re: [CSS] Weapon Restrict
Reply With Quote #778

Quote:
Originally Posted by BomBaSK View Post
Its very buggy on my server, when i restrict weapon its a take money and don't spawn weapon, the message This weapon is re... don't work too... the plugin is broken or where is the problem? Thanks for answer! (:
sm version
sm plugins list
meta list

paste the output of the above commands.

Quote:
Originally Posted by TnTSCS View Post
With summer here, have you worked on this plugin much yet? Perhaps you can add the ability to restrict a weapon to a certain player

sm_restrict awp TnTSCS

Or is there a plugin out there where I can do just that?
I have most of it already re written. It requires SM 1.4 and SDK Hooks. I just need to finish up rewriting admin commands, menu and per-player. Then should be done and ill have a beta test version for people to try. I'm not gonna add anything else to this plugin. The new version will provide native and forwards for a lot of stuff so that plugin should be easy for someone to make.
Dr!fter is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 08-02-2011 , 11:49   Re: [CSS] Weapon Restrict
Reply With Quote #779

I can't wait

As you probably saw, I posted a plugin that limits players to X amount of kills with sniper rifles (which can include scouts as a sniper if desired), with a replacement weapon optionally issued when that player reaches the limit.

If your new plugin contains the option for me to issue a player weapon restriction, that would be awesome I could rewrite my plugin to use yours as the base plugin
TnTSCS is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 08-02-2011 , 20:06   Re: [CSS] Weapon Restrict
Reply With Quote #780

PHP Code:
forward WeaponRestrict_OnCanBuyWeapon(clientteamWeaponID:idbool:result);
forward WeaponRestrict_OnCanPickupWeapon(clientteamWeaponID:idbool:result);
native WeaponRestrict_RefundMoney(clientammountWeaponID:id);
native WeaponRestrict_RemoveRandom(countteamWeaponID:id);
native WeaponRestrict_GetTotalWeaponCountOnTeam(WeaponID:idteam);
native WeaponRestrict_GetRestrictValue(WeaponID:idteam);
native WeaponID:WeaponRestrict_GetWeaponIDExtended(const String:weapon[]);
native WeaponRestrict_GetClientGrenadeCountByID(clientWeaponID:id);
native WeaponID:WeaponRestrict_GetWeaponIDFromSlot(clientWeaponSlot:slot);
native WeaponID:WeaponRestrict_GetWeaponIDExtended(const String:weapon[]);
native bool:WeaponRestrict_RemoveSpecialItem(clientWeaponID:id);
native bool:WeaponRestrict_CanBuyWeapon(clientteamWeaponID:idbool:blockhook false);
native bool:WeaponRestrict_CanPickupWeapon(clientteamWeaponID:idbool:blockhook false); 
The forwards/native that will be available in 3.0 (that i have so far). If any developer has an requests to add to that feel free to ask.

Last edited by Dr!fter; 08-02-2011 at 23:46.
Dr!fter 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 20:25.


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