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

[DODS] Pistols UPDATED May 13, 2013


Post New Thread Reply   
 
Thread Tools Display Modes
colwulf
Member
Join Date: Jun 2008
Old 07-05-2008 , 15:12   Re: [DODS] Pistols
Reply With Quote #21

is it possible to change this so that u can change the number of nades ppl have as well as take pitols away from allclasses but certain ones?...
colwulf is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 07-05-2008 , 16:13   Re: [DODS] Pistols
Reply With Quote #22

Taking individual items away is a process of stripping all the weapons and then giving back the ones you want.

I'll look at it for another plugin....not this one.
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
colwulf
Member
Join Date: Jun 2008
Old 07-06-2008 , 00:25   Re: [DODS] Pistols
Reply With Quote #23

Thanks cool
colwulf is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 07-08-2008 , 17:03   Re: [DODS] Pistols
Reply With Quote #24

Updated.
Added cvars so that server ops can change the amount of ammo in player pistols. The default for the Germans is 16 while the default for the US is 14.

So:

sm_dod_pistols_ammo_ger 200

would set all German pistols to 200 bullets.
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
Mosalar
Senior Member
Join Date: Jul 2004
Location: Tampa Fl
Old 07-10-2008 , 14:57   Re: [DODS] Pistols UPDATED July 8, 2008
Reply With Quote #25

Umm..... The bug is still there. :-( Using the scroll wheel the carbine is there. If you hit anything that's bound to "slot2" the pistol comes up instead of the carbine. I know alot players use their wheels to choose the secondary weapon, but alot also bind slot2 to keys.. If you want to see for yourself, I left it running on one of our servers. IP 216.246.49.197:27015
Mosalar is offline
Mosalar
Senior Member
Join Date: Jul 2004
Location: Tampa Fl
Old 07-11-2008 , 11:47   Re: [DODS] Pistols UPDATED July 8, 2008
Reply With Quote #26

Update, I found out via a "wave" of coding knowledge what was wrong.
Remove
Code:
new class_offset = FindSendPropOffs("CDODPlayer", "m_iPlayerClass")
and change
Code:
new class = GetEntData(client, class_offset, 4)
to
Code:
new class = GetEntProp(client, Prop_Send, "m_iPlayerClass")
Works like a charm now :-)
Mosalar is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-12-2008 , 07:51   Re: [DODS] Pistols UPDATED July 8, 2008
Reply With Quote #27

*coughs* a wave huh?
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 07-15-2008 , 19:41   Re: [DODS] Pistols UPDATED July 8, 2008
Reply With Quote #28

Yeah...I spotted that one before I left on vacation but never changed it. When I was doing the Medic Class I found out that

PHP Code:
FindSendPropOffs("CDODPlayer""m_iPlayerClass"
doesn't work....

Thanks for reminding me. Will fix it tonight.
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog is offline
B!ggles
Junior Member
Join Date: Jul 2008
Old 07-18-2008 , 23:01   Re: [DODS] Pistols UPDATED July 15, 2008
Reply With Quote #29

The bazooka bug is still there Dog
__________________
B!ggles is offline
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Old 07-19-2008 , 01:45   Re: [DODS] Pistols UPDATED July 15, 2008
Reply With Quote #30

I ran the script on my server tonight and Rocket players didn't get a pistol, as intended...just Support and Riflemen

Do you have the latest version running?
__________________
Plugins | TheVille
Zombie Mod for DoD:S - l4dod.theville.org
strontiumdog 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:52.


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