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

Change Weapon Size


Post New Thread Reply   
 
Thread Tools Display Modes
404UserNotFound
BANNED
Join Date: Dec 2011
Old 04-17-2014 , 18:47   Re: Change Weapon Size
Reply With Quote #11

So if this uses a regex, how come other resize-based plugins don't use a regex setup?

EDIT: Also, this works....just not on a whole lot of weapons. Botkiller Minigun is a nope. KGB is a nope. Seemingly most of the Scout melee weapons....yep.

Last edited by 404UserNotFound; 04-17-2014 at 19:10.
404UserNotFound is offline
Rd1981
Senior Member
Join Date: Apr 2011
Old 05-29-2014 , 21:11   Re: Change Weapon Size
Reply With Quote #12

Can you make it so theres a limit on how big the weapons can be they can type in any number and become way too large ?
Rd1981 is offline
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 05-29-2014 , 23:03   Re: Change Weapon Size
Reply With Quote #13

Is this admin only?
__________________
My Steam TF2APP
My sig changes with each load! Refresh to see my other servers!
jpwanabe is offline
robotortoise
Senior Member
Join Date: Nov 2013
Old 06-05-2014 , 20:02   Re: Change Weapon Size
Reply With Quote #14

Oooh this looks fun!
robotortoise is offline
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 06-05-2014 , 20:06   Re: Change Weapon Size
Reply With Quote #15

Like I said above. Needs a way to be admin only.
__________________
My Steam TF2APP
My sig changes with each load! Refresh to see my other servers!
jpwanabe is offline
boombee
SourceMod Donor
Join Date: Nov 2013
Old 06-05-2014 , 20:21   Re: Change Weapon Size
Reply With Quote #16

We need this for CSGO
boombee is offline
RavenShadow
Junior Member
Join Date: Jan 2013
Old 06-06-2014 , 02:41   Re: Change Weapon Size
Reply With Quote #17

Ummm Hai, since I already modified this for my server a tad to suit what I needed(admin commands, friendly only, etc) I figured I upload the modified script so people can use it.

Though now that I look at it, It is messy since there is stuff that can be added (like cvars for limits,etc)
but it is enough for me at this time

In case here you go.
commands are the same but there's a hardcoded limit of 5 on the command and it blocks 0.0.
There is also 2 commands added
sm_weaponsizer <target> <size>.
One is a admin command that allows admins to target others and resize their weapons past the 5 limit.
and other command to reset the sizes of all their weapons back to 1.0.
both are set to the kick flag.
sm_resetsize <target>
Other then that, I hooked the post_inventory_app event just to reset their sizes on death

I also made a admin version since it was requested on the thread.
same thing has before regular commands are set to kick flag and the admin commands I added are set to the ban flag
Attached Files
File Type: sp Get Plugin or Get Source (weaponsize_admin.sp - 370 views - 5.0 KB)
File Type: sp Get Plugin or Get Source (weaponsize.sp - 352 views - 4.9 KB)
File Type: smx weaponsize.smx (6.0 KB, 182 views)
File Type: smx weaponsize_admin.smx (6.0 KB, 184 views)

Last edited by RavenShadow; 06-06-2014 at 04:01. Reason: my horrible spelling and grammar errors and forgot to add commands to post ;;facedesks
RavenShadow is offline
robotortoise
Senior Member
Join Date: Nov 2013
Old 06-20-2014 , 23:04   Re: Change Weapon Size
Reply With Quote #18

MasterXykon, will you integrate RavenShadow's changes?
robotortoise is offline
qingshanchengg
Junior Member
Join Date: Jan 2023
Old 04-12-2024 , 09:33   Re: Change Weapon Size
Reply With Quote #19

Very interesting plugin! But it doesn't seem to work with <NMRiH>, unfortunately :>
__________________
:>
qingshanchengg 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 23:49.


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