Raised This Month: $ Target: $400
 0% 

[CS:GO] Some Maps are Breaking Weapons?


Post New Thread Reply   
 
Thread Tools Display Modes
izzateachu
New Member
Join Date: Feb 2015
Old 02-19-2015 , 06:43   Re: [CS:GO] Some Maps are Breaking Weapons?
Reply With Quote #11

Yes, I also think this could be done by using plugin. Useful information..
izzateachu is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 02-19-2015 , 09:21   Re: [CS:GO] Some Maps are Breaking Weapons?
Reply With Quote #12

theres also cvars like mp_t_default_secondary or something along those lines to easily disable spawning with certain weapons.
Mitchell is offline
YourStalker
Junior Member
Join Date: Jan 2015
Location: United States
Old 02-19-2015 , 20:15   Re: [CS:GO] Some Maps are Breaking Weapons?
Reply With Quote #13

Thanks guys for the help! I haven't had a chance to test it out yet but Ill let you know for sure tomorrow trying out Stripper: Source.
YourStalker is offline
JoB2C
AlliedModders Donor
Join Date: Jan 2014
Location: France
Old 02-19-2015 , 20:25   Re: [CS:GO] Some Maps are Breaking Weapons?
Reply With Quote #14

I would try this:

PHP Code:
#include <sourcemod>
#include <sdkhooks>
#include <sdktools>
#pragma semicolon 1

public OnEntityCreated(entity, const String:classname[])
{
    if (
StrEqual(classname"game_player_equip"))
        
SDKHook(entitySDKHook_SpawnPostHook_SpawnPost);
}

public 
Action:Hook_SpawnPost(entity
{
    
CreateTimer(0.1Timer_KillEntityEntIndexToEntRef(entity), TIMER_FLAG_NO_MAPCHANGE);
    return (
Plugin_Continue);
}

public 
Action:Timer_KillEntity(Handle:timerany:ref)
{
    if (
IsValidEntity(ref))
        
AcceptEntityInput(ref"Kill");
    return (
Plugin_Stop);

To remove those entities.

Last edited by JoB2C; 02-20-2015 at 20:31.
JoB2C is offline
YourStalker
Junior Member
Join Date: Jan 2015
Location: United States
Old 02-20-2015 , 19:20   Re: [CS:GO] Some Maps are Breaking Weapons?
Reply With Quote #15

JoB2C you are a monster! My sweet love goes out to you!

Problem solved! (post above) thanks for the help everyone!
YourStalker 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 03:04.


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