Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $
Target: $400
0%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Showing results 1 to 14 of 14
Search took
0.00
seconds.
Search:
Posts Made By:
Hanzoligen
Forum:
Approved Plugins
01-27-2014, 13:29
Replies:
134
Accuracy Fix
Views:
178,768
Posted By
Hanzoligen
Re: Accuracy Fix
Edit, 28.01.2014: While writing this section I did not know enough of the game mechanics and got a bit confused. I cleared the single shot behaviour in my post below. I leave the original text as a...
Forum:
Scripting
02-26-2013, 18:54
Replies:
20
[L4D] Limit ammo pile usage to 1 clip per use
Views:
4,599
Posted By
Hanzoligen
[L4D] Limit ammo pile usage to 1 clip per use
Thanks. Sounds like more work than expected.
Do you know where I can find info on blocking the ammo pile from giving max ammo?
Forum:
Scripting
02-26-2013, 18:43
Replies:
20
[L4D] Limit ammo pile usage to 1 clip per use
Views:
4,599
Posted By
Hanzoligen
[L4D] Limit ammo pile usage to 1 clip per use
That defines a value for appropriate clipsizes.
Whats the code for returning the current amount of ammo of a player?
I read through survivor uogrades sourcecode also. I remember its the same...
Forum:
Scripting
02-26-2013, 17:28
Replies:
20
[L4D] Limit ammo pile usage to 1 clip per use
Views:
4,599
Posted By
Hanzoligen
[L4D] Limit ammo pile usage to 1 clip per use
Can you please post your code here?
Forum:
Scripting
02-26-2013, 15:23
Replies:
20
[L4D] Limit ammo pile usage to 1 clip per use
Views:
4,599
Posted By
Hanzoligen
[L4D] Limit ammo pile usage to 1 clip per use
Did you read the code or try for yourself? I bet you dont receive the amout of ammo but the max limit instead.
I tried it 100 times
Forum:
Scripting
02-26-2013, 14:12
Replies:
20
[L4D] Limit ammo pile usage to 1 clip per use
Views:
4,599
Posted By
Hanzoligen
Re: [L4D] Limit ammo pile usage to 1 clip per use
I thought about that one, nice idea. How do I get the amount of ammo the player has?
m_iAmmo_prim = GetEntProp(client, Prop_Send, "m_iAmmo", _, m_iPrimaryAmmoType); // Player ammunition for this...
Forum:
Scripting
02-26-2013, 12:55
Replies:
20
[L4D] Limit ammo pile usage to 1 clip per use
Views:
4,599
Posted By
Hanzoligen
[L4D] Limit ammo pile usage to 1 clip per use
I did examine that plugin. It is clear to me what it does. I have all the code I need. I just cant get the value for the amount of ammo the survivor deploys. But I think this is because its not...
Forum:
Scripting
02-26-2013, 04:06
Replies:
20
[L4D] Limit ammo pile usage to 1 clip per use
Views:
4,599
Posted By
Hanzoligen
[L4D] Limit ammo pile usage to 1 clip per use
Because I am trying to limit the amount of ammo in an ammo pile not the maximum amount of ammo in a gun.
Forum:
Scripting
02-20-2013, 19:20
Replies:
20
[L4D] Limit ammo pile usage to 1 clip per use
Views:
4,599
Posted By
Hanzoligen
[L4D] Limit ammo pile usage to 1 clip per use
I can set a value of 99 ammo or whatever. But I cant get the current amount of ammo or add anything. Just set the amount.
Forum:
Scripting
02-20-2013, 18:52
Replies:
20
[L4D] Limit ammo pile usage to 1 clip per use
Views:
4,599
Posted By
Hanzoligen
[L4D] Limit ammo pile usage to 1 clip per use
I read this thread several times. It's almost the same method but he works with offsets. I tried to copy his code and received the same results.
I googled and searched everything for iAmmo but it...
Forum:
Scripting
02-20-2013, 10:41
Replies:
11
Some Help With My HardCore Plugin
Views:
4,267
Posted By
Hanzoligen
Re: Some Help With My HardCore Plugin
Can you explain this please a little bit more detailed?
He doesn't want to limit the ammunition of weapons but the amount of clips you receive from an ammo pile. Standard procedure on ammo piles...
Forum:
Scripting
02-20-2013, 05:10
Replies:
20
[L4D] Limit ammo pile usage to 1 clip per use
Views:
4,599
Posted By
Hanzoligen
[L4D] Limit ammo pile usage to 1 clip per use
Hi coders,
I am trying to limit the ammo pile usage to 1 clip per usage but the script below always assigns the maximum of 360 ammo for rifle (for example).
HookEvent("ammo_pickup",...
Forum:
Scripting
02-19-2013, 19:11
Replies:
11
Some Help With My HardCore Plugin
Views:
4,267
Posted By
Hanzoligen
Re: Some Help With My HardCore Plugin
I am just starting with coding plugins, but could it be that you are hooking wrong and need to prevent the full ammo from being delivered and then overwrite it with your code?
Forum:
Plugins
02-19-2013, 15:36
Replies:
33
[L4D2] Weapon Remove
Views:
44,122
Posted By
Hanzoligen
Re: [L4D2] Weapon Remove
I altered the script to make it adjustable for each weapon.
It works for both L4D1 + 2.
You can set a general pick up limit if you don't feel like altering each weapon for its own. It's also...
Showing results 1 to 14 of 14
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
09:09
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode