Raised This Month: $ Target: $400
 0% 

if(containi(szCommand,"vban")) PUG_HamKilledPost(id); // Infinite respawn fix


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 05-30-2013 , 21:59   if(containi(szCommand,"vban")) PUG_HamKilledPost(id); // Infinite respawn fix
Reply With Quote #1

PHP Code:
public client_command(id)
{
    if(
g_bPregame)
    {
        new 
szCommand[32];
        
read_argv(0,szCommand,charsmax(szCommand));

        
strtolower(szCommand);
        
        if(
containi(szCommand,"vban")) PUG_HamKilledPost(id); // Infinite re-spawn fix
    
}
    return 
PLUGIN_CONTINUE;

Its correct to hook a internal client "vban" command to fix a infinite re-spawn?

If the player connect to server and join in any team after X seconds passed in round, its not re-spawn automatically.

Some suggestion?
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
 



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 16:18.


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