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

[L4D2] Improved Prevent M60 Drop


Post New Thread Reply   
 
Thread Tools Display Modes
Visual77
Veteran Member
Join Date: Jan 2009
Old 02-22-2018 , 14:08   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #41

Quote:
Originally Posted by MasterMind420 View Post
Also I find it very odd that allied modders 1.8 compiler isn't working anymore to compile it, the day i posted this it was tested and working.
Maybe because #pragma newdecls is misplaced - it should be placed after all the includes. 'Handle' has been replaced with 'ConVar' for convars etc. Might wanna define iLastWeapon as an int.

Last edited by Visual77; 02-22-2018 at 14:15.
Visual77 is offline
MasterMind420
BANNED
Join Date: Nov 2010
Old 02-22-2018 , 14:16   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #42

Quote:
Originally Posted by Visual77 View Post
Maybe because #pragma newdecls is misplaced - it should be placed after all the includes. 'Handle' has been replaced with 'ConVar' for convars etc.
thanks for pointing it out...
MasterMind420 is offline
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 04-08-2018 , 12:43   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #43

You could add the default game sound file for the m60 at the ammo restocking points as well - as it does for all the weapons ingame.

Line code somewhere around 390 for OP script version 1.6

ClientCommand(client, "play items/itempickup.wav");
Sunyata is offline
ShineKia
Junior Member
Join Date: Apr 2017
Old 04-15-2018 , 16:00   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #44

Found a bug, so when my team all died and restarted the chapter again, whoever had been holding m60 still continued holding m60 with full ammo. Any idea how to fix that?
ShineKia is offline
hoanganh81097
Senior Member
Join Date: Apr 2016
Old 07-19-2018 , 01:22   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #45

Quote:
Originally Posted by ShineKia View Post
Found a bug, so when my team all died and restarted the chapter again, whoever had been holding m60 still continued holding m60 with full ammo. Any idea how to fix that?
same bug anyone can fix ?
hoanganh81097 is offline
Newbie_Sexy
Member
Join Date: Aug 2016
Location: Vietnam
Old 08-07-2018 , 05:20   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #46

Hello,
I found that this plugin has cvar to edit M60's ammo. So if i use both [L4D2] Improved Prevent M60 Drop (by MasterMind420) and [L4D2] Gun Control (by AtomicStryker), do i get conflict?
Thx!
__________________
I am a noob so... hope you guys will help me up
P/s .-. : My English is bad, i am good at Vietnamese
Newbie_Sexy is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 08-09-2018 , 21:24   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #47

Quote:
Originally Posted by Newbie_Sexy View Post
Hello,
I found that this plugin has cvar to edit M60's ammo. So if i use both [L4D2] Improved Prevent M60 Drop (by MasterMind420) and [L4D2] Gun Control (by AtomicStryker), do i get conflict?
Thx!
Use the "Gun Control" version found in this developer's first post, as well as that plugin itself here.

Last edited by jking; 08-09-2018 at 21:25.
jking is offline
FiendishFerret
Junior Member
Join Date: Jun 2019
Old 07-14-2019 , 02:14   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #48

Looks like an interesting plugin to try, but...

Plugin failed to compile! Please try contacting the author.
FiendishFerret is offline
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 07-14-2019 , 05:17   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #49

The script will compile using l4d2 own compiler "spcomp.exe"

\left 4 dead 2\left4dead2\addons\sourcemod\scripting

Last edited by Sunyata; 07-14-2019 at 05:18.
Sunyata is offline
MasterMind420
BANNED
Join Date: Nov 2010
Old 07-15-2019 , 12:06   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #50

Quote:
Originally Posted by Sunyata View Post
The script will compile using l4d2 own compiler "spcomp.exe"

\left 4 dead 2\left4dead2\addons\sourcemod\scripting
hmm never noticed it wasn't compiling on here...it should unless there's an outside dependency allied modders doesn't have with there compiler. I don't think this plugin has any outside dependencies other than sourcemod or sdkhooks...I will look into this, thanks...
MasterMind420 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 19:42.


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