Raised This Month: $ Target: $400
 0% 

PROBLEM GAME COMENCING


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bello
BANNED
Join Date: Jun 2010
Old 06-12-2010 , 19:54   PROBLEM GAME COMENCING
Reply With Quote #1

Hi friends am new to the forum and would like to know how do i block the restart of the game comencing, I have this code:

PHP Code:
public plugin_init()
    {
       
register_message(get_user_msgid("TextMsg"), "message_TextMsg")
    }

public 
message_TextMsg(msg_idmsg_destmsg_entity)
    {
        static 
buffer[32]
    
        
get_msg_arg_string(2buffer31)
    
        if(
equal(buffer"#Game_Commencing") || equal(buffer"#Game_will_restart_in"))
            return 
PLUGIN_HANDLED
    
        
return PLUGIN_CONTINUE
    

Sorry for my bad english!

Last edited by Bello; 06-12-2010 at 21:51.
Bello is offline
Old 06-14-2010, 22:04
Bello
This message has been deleted by YamiKaitou. Reason: bump
Bello2
Senior Member
Join Date: Jun 2010
Location: Venezuela
Old 06-21-2010 , 16:52   Re: PROBLEM GAME COMENCING
Reply With Quote #3

some help?
Bello2 is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 06-21-2010 , 16:56   Re: PROBLEM GAME COMENCING
Reply With Quote #4

http://wiki.alliedmods.net/Half-Life...ts#HudTextArgs
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
Bello2
Senior Member
Join Date: Jun 2010
Location: Venezuela
Old 06-21-2010 , 17:07   Re: PROBLEM GAME COMENCING
Reply With Quote #5

I do not understand that link...

My code works very well, what i want to know is as blocking the restart that runs the game comencing
Bello2 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-21-2010 , 18:22   Re: PROBLEM GAME COMENCING
Reply With Quote #6

I'm confused on your motive. Are you trying to prevent the game from even starting? Or are you just trying to stop messages/sound from displaying/being heard?

Note: I don't play CS so I'm not really sure what "game commencing" does.
__________________
fysiks is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 06-21-2010 , 18:29   Re: PROBLEM GAME COMENCING
Reply With Quote #7

For Example: If there is one player in the server and another joins on the opposite team, the Game Commencing message will come up and about a second later they restart and it's the beginning of the round.
__________________
Hi.
Kreation is offline
Bello2
Senior Member
Join Date: Jun 2010
Location: Venezuela
Old 06-21-2010 , 18:40   Re: PROBLEM GAME COMENCING
Reply With Quote #8

Quote:
Originally Posted by Kreation View Post
For Example: If there is one player in the server and another joins on the opposite team, the Game Commencing message will come up and about a second later they restart and it's the beginning of the round.
Exact that is what i want blocked, I achieved blocked msg that appears in the middle of the screen but not the restart that runs the game comencing
Bello2 is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 06-21-2010 , 18:56   Re: PROBLEM GAME COMENCING
Reply With Quote #9

Use Infinity Rounds by Arkshine.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
Bello2
Senior Member
Join Date: Jun 2010
Location: Venezuela
Old 06-21-2010 , 19:11   Re: PROBLEM GAME COMENCING
Reply With Quote #10

Quote:
Originally Posted by Alucard^ View Post
Use Infinity Rounds by Arkshine.
alucard Exactly i'm using that plugin, and it is that i is causing the error you explain to see if your me aid:

When I open my server, the plugin infinite round of arkshine this activated, After during the game I run infiniteround_toggle 0, To run this command that served to pause plugin, It is when you run the game comencing and is what i'm trying to eliminate...

P.S: When I run the command provided there are 10 players on the server
Bello2 is offline
Reply


Thread Tools
Display Modes

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 14:53.


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