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

[CSS] Extra Guns


Post New Thread Reply   
 
Thread Tools Display Modes
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 09-08-2010 , 14:50   Re: [CSS] Extra Guns
Reply With Quote #11

i hate having to use binds as on some servers you need load a dozen just to play, but i only considered it as most people would be confused about switching to the extra weapons.

you can get the weapon selection menu to show extra weapons by editing the ctx files but you can't force a client to download files they already have and it would also cause problems on pure servers for those clients.
i did request the ctx changes in a pm to a hpe dev on the steam forums as it was a 5 min fix which would make no different to normal gameplay but would also allow me to add more than 1 extra gun so you could have like 5 extra primary guns or 1 of each pistol. unfortunately i didn't get a reply and that was like 6 weeks ago.
blodia is offline
SilvErr
BANNED
Join Date: May 2011
Old 07-14-2011 , 11:15   Re: [CSS] Extra Guns
Reply With Quote #12

Hi.

Can You add cvar to use on VIP players ? I have a Zombie Mod server, and would to add extra guns to VIP/Reserved slot players

Sorry for my bad English but i'am form a Poland.
SilvErr is offline
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 07-14-2011 , 15:01   Re: [CSS] Extra Guns
Reply With Quote #13

sorry i don't like coding features for specific players, the closest i'll do is team based.
blodia is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 08-18-2011 , 05:05   Re: [CSS] Extra Guns
Reply With Quote #14

PHP Code:
new UserId GetEventInt(event"userid");
new 
client GetClientOfUserId(UserId); 
Why not just
PHP Code:
new client GetClientOfUserId(GetEventInt(event"userid")); 
?
__________________
FaTony is offline
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 08-18-2011 , 06:47   Re: [CSS] Extra Guns
Reply With Quote #15

does it really make much of a difference? those 2 lines i've used many times which i normally copy from the first plugin i coded which was coded like that for legibility.
blodia is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 08-18-2011 , 07:10   Re: [CSS] Extra Guns
Reply With Quote #16

In terms of performance - no. It's just like why do you need to declare a separate variable that will only be used in 1 expression?
__________________
FaTony is offline
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 09-26-2015 , 08:11   Re: [CSS] Extra Guns
Reply With Quote #17

i've decided to retire from coding plugins as i have little time and haven't done anything in years. it should work fine as is for the foreseeable future but if anyone wants to take over and add/change things go ahead.
blodia 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 09:02.


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