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

He-Grenade Game 1.1


Post New Thread Reply   
 
Thread Tools Display Modes
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 04-14-2013 , 01:21   Re: He-Grenade Game 1.0.1
Reply With Quote #11

PHP Code:
register_forward(FM_GetGameDescription"fw_GetGameDescription"
Does altering the game description still work? I read somewhere here on the forums that it was broken with the 2013 HLDS update. Correct me if I am wrong.
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]
tonykaram1993 is offline
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 04-14-2013 , 14:05   Re: He-Grenade Game 1.1
Reply With Quote #12

Updated v1.1
Code:
Fixed: bugs when round start/ends, including time
baneado is offline
Old 07-13-2013, 20:40
williamder32
This message has been deleted by YamiKaitou. Reason: English only
Balck
Senior Member
Join Date: Apr 2013
Location: Kosova-Mitrovica
Old 07-13-2013 , 20:55   Re: He-Grenade Game 1.1
Reply With Quote #13

Gj man like it
Balck is offline
Winchester90
Senior Member
Join Date: May 2013
Location: Dale! RG4L Baby
Old 07-19-2013 , 13:43   Re: He-Grenade Game 1.1
Reply With Quote #14

Its pretty but i think that you must put more bullets. (Pro speaker english) P
__________________
Proyectos No comercio XD
Zombie Resurection 1.0 (45%)
Winchester90 is offline
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 07-19-2013 , 15:00   Re: He-Grenade Game 1.1
Reply With Quote #15

Quote:
Originally Posted by Balck View Post
Gj man like it
thanks

Quote:
Originally Posted by Winchester90 View Post
Its pretty but i think that you must put more bullets. (Pro speaker english) P
you can do it with hgg_wpn_ammo 1
baneado is offline
Old 07-20-2013, 00:21
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: troll, or posting random confusing code, or posting for posts count
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-20-2013 , 08:33   Re: He-Grenade Game 1.1
Reply With Quote #16

Better to return -1 in Spawn forward then removing the entity.
Also, you don't need to remove all those entity, see in followinf example which ones are needed.
End, you could use a Trie for those classes.

PHP Code:
new Trie:g_tRemoveEntClasses;
new 
g_iFhDispatchSpawn;

public 
plugin_precache()
{
    new 
szRemoveEntClasses[][] = 
    {
        
"func_bomb_target""info_bomb_target"// de_
        
"func_hostage_rescue"// cs_
        
"func_escapezone"// es_
        
"func_vip_safetyzone"// as_
    
};
    
g_tRemoveEntClasses TrieCreate();
    for(new 
ii<sizeof(szRemoveEntClasses); i++)
    {
        
TrieSetCell(g_tRemoveEntClassesszRemoveEntClasses[i], 1);
    }

    
g_iFhDispatchSpawn register_forward(FM_Spawn"OnDispatchSpawn"0);
}

public 
OnDispatchSpawnent )
{
    new 
classname[32];
    
pev(entpev_classnameclassnamecharsmax(classname));
    if( 
TrieKeyExists(g_tRemoveEntClassesclassname) )
    {
        
forward_return(FMV_CELL, -1);
        return 
FMRES_SUPERCEDE;
    }
    return 
FMRES_IGNORED;
}

public 
plugin_init()
{
    
unregister_forward(g_iFhDispatchSpawn);
    
TrieDestroy(g_tRemoveEntClasses);

__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 23:03.


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