Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 254
Search took 0.01 seconds.
Search: Posts Made By: xerox8521
Forum: Scripting 11-11-2020, 10:00
Replies: 3
Views: 397
Posted By xerox8521
Re: Missing damagetype with OnTakeDamage/TraceAttack?!

Would assume that TraceAttack is only called for weapons that fire traces (hence its name) since fire doesn't shoot traces TraceAttack won't be called.
Forum: Scripting 10-25-2020, 10:17
Replies: 3
Views: 393
Posted By xerox8521
Re: Invalid index -1 (count: 100)

The problem is the order of the Erase statements. You are deleting it from ga_SteamIds and a line below you try to access that entry you just deleted. Just swap the last 2 Erase statements.
...
Forum: Scripting 10-19-2020, 16:14
Replies: 5
Views: 597
Posted By xerox8521
Re: [L4D2] Survivors with Special Infected Weapons?

You probably need to create the ability first with CreateEntityByName.
Those are the abilities used by the game:

- ability_tongue
- ability_selfdestruct // Boomer Exploding
- ability_vomit...
Forum: Plugins 09-25-2020, 07:09
Replies: 23
Views: 2,699
Posted By xerox8521
Re: [L4D & L4D2] Medkit Preventer

Updated L4D2 Gamedata.

- Stop the server.
- Download from the first post and replace the old one.
- Start the server.
Forum: Plugin/Gameplay Ideas and Requests 08-27-2020, 12:55
Replies: 2
Views: 429
Posted By xerox8521
Re: [HL2DM] Check if a player is using a health charger

You could use HookEntityOutput (https://sm.alliedmods.net/new-api/sdktools_entoutput/HookEntityOutput) with classname item_healthcharger and item_suitcharger respectivly.
Output would be OnPlayerUse...
Forum: Extensions 08-26-2020, 11:58
Replies: 807
Views: 426,539
Posted By xerox8521
Re: DHooks (Dynamic Hooks - Dev Preview)

Yea my bad forgot to switch from post to pre hook where supercede works just fine.
Forum: Plugins 08-26-2020, 11:51
Replies: 23
Views: 2,699
Posted By xerox8521
Re: [L4D & L4D2] Medkit Preventer

Update 1.2.1 L4D Only:
I've redone the code so its now working the same as the L4D2 Version without staggering the player.

Also attached the respective 1.8 Version (L4D Only). Please make sure to...
Forum: Plugins 08-26-2020, 09:51
Replies: 23
Views: 2,699
Posted By xerox8521
Re: [L4D & L4D2] Medkit Preventer

Update 1.2.1 - Accidently broke the plugin when checking for the use type. This only affected the L4D2 Version. Which is now fixed. Thanks for the report.

@Lux I'll look into that function thanks!
Forum: Plugins 08-25-2020, 15:27
Replies: 23
Views: 2,699
Posted By xerox8521
Re: Medkit Preventer

Version 1.2
Added L4D Support although not as elegant as the L4D2 version due to code differences between both games.

Fixed showing wrong message when trying to heal someone else.

While it...
Forum: Plugins 08-25-2020, 11:59
Replies: 23
Views: 2,699
Posted By xerox8521
Re: Medkit Preventer

@TBK Duy:
Did you unload the plugin or changed the map? Deleting the file won't magically unload it.

@cravenge:
The sb_toughness_buffer convar doesn't seem to do anything regardless of its value...
Forum: Extensions 08-24-2020, 21:16
Replies: 807
Views: 426,539
Posted By xerox8521
Re: DHooks (Dynamic Hooks - Dev Preview)

Would it be possible to add a return type that skips the game function call entirely for void functions ?
Currently it explicity checks...
Forum: Plugin/Gameplay Ideas and Requests 08-24-2020, 18:28
Replies: 3
Views: 393
Posted By xerox8521
Re: [L4D] Use Med-kit when only black & white

Quickly made this Plugin (https://forums.alliedmods.net/showthread.php?p=2715402) as of this request. Although currently only Left4Dead2 is supported.
There is quite a few differences in terms of...
Forum: Plugins 08-24-2020, 15:44
Replies: 23
Views: 2,699
Posted By xerox8521
[L4D & L4D2] Medkit Preventer

This plugin was based on the request made here (https://forums.alliedmods.net/showthread.php?t=326922).

Plugin was compiled with SourceMod 1.10


This will prevent players and bots from using...
Forum: Coding MM:S Plugins & SM Extensions 02-11-2020, 09:27
Replies: 1
Views: 3,261
Posted By xerox8521
VCall Crashes upon execution

Hi,

so i have this function CBaseEntity::IsPlayer (i know there are other ways to check for the player) and it crashes upon execution and I'm not sure why it crashes. I've tried to use the...
Forum: General 01-04-2020, 14:37
Replies: 4
Views: 626
Posted By xerox8521
Re: [HELP] Particle precache with invalid handle

You never setup the sdkcall (https://sm.alliedmods.net/new-api/sdktools/StartPrepSDKCall)
Setting the info: https://sm.alliedmods.net/new-api/sdktools/PrepSDKCall_SetFromConf
For params:...
Forum: Scripting 12-28-2019, 12:12
Replies: 5
Views: 806
Posted By xerox8521
Re: [L4D2]How detect direct impact of a projectile?

You could hook the OnTouch with SDKHook when the grenade_launcher_projectile spawns (OnEntityCreated) and then check inside the OnTouch callback if it hit the tank.
Forum: Scripting 12-08-2019, 10:31
Replies: 8
Views: 893
Posted By xerox8521
Re: [CS:GO] AddNormalSoundHook is getting as native error

Check the error its in the include file itself.
Forum: Scripting 11-24-2019, 11:29
Replies: 7
Views: 987
Posted By xerox8521
Re: Dereference inside plugin

if you want to change the target of the tank in L4D2 you can use l4downtown2 (you need to look around the last pages for a more updated version) where there is a callback available OnChooseVictim or...
Forum: Scripting 11-09-2019, 17:27
Replies: 3
Views: 443
Posted By xerox8521
Re: SetEntityRenderMode none for all Ts

You should swap the IsValidClient and GetClientTeam checks otherwise you will get errors when there is an invalid client passed to GetClientTeam.
Forum: Scripting 11-03-2019, 08:38
Replies: 3
Views: 556
Posted By xerox8521
Re: Need fixing Help

Your PlaySound loop never checks if the player is ingame. Also you should be using MaxClients instead of GetClientCount. So add IsClientInGame before any other checks.
Forum: Scripting 09-28-2019, 10:52
Replies: 3
Views: 842
Posted By xerox8521
Re: The plugin informs you that there is no gamedata

The solution for the problem is in your other thread (https://forums.alliedmods.net/showpost.php?p=2668261&postcount=7).
Forum: Scripting 09-21-2019, 19:47
Replies: 4
Views: 1,174
Posted By xerox8521
Re: [TF2] DHooks of "IsPlacementPosValid" wont work

You are creating an SDKCall which as the name implies calls a function. Check the DHooks extension (https://forums.alliedmods.net/showthread.php?t=180114) documention and the detour documention...
Forum: Scripting 09-21-2019, 19:39
Replies: 4
Views: 1,176
Posted By xerox8521
Re: Get two arguments

Use GetCmdArg (https://sm.alliedmods.net/new-api/console/GetCmdArg). They start at index 1 as 0 is the command like it says on the page.

Also you are currently muting the player that sends the...
Forum: Extensions 07-24-2019, 14:57
Replies: 1,093
Views: 664,281
Posted By xerox8521
Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown

Try this gamedata: https://github.com/Accelerator74/Left4Downtown2/blob/master/gamedata/left4downtown.l4d2.txt
Forum: General 07-13-2019, 09:47
Replies: 3
Views: 1,272
Posted By xerox8521
Re: [L4D1] How do I change difficulty on demand & block difficulty votes

Try these cvars

sv_vote_command_delay : 2 : , "sv", "launcher" : How long after a vote passes until the action happens
sv_vote_creation_timer : 30 ...
Showing results 1 to 25 of 254

 
Forum Jump

All times are GMT -4. The time now is 01:18.


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