Raised This Month: $ Target: $400
 0% 

Optimization AutoRR


Post New Thread Reply   
 
Thread Tools Display Modes
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 08-09-2015 , 11:39   Re: Optimization AutoRR
Reply With Quote #11

It means is from plugin that error.Somebody can help me to color good?
smiley92 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 08-09-2015 , 11:48   Re: Optimization AutoRR
Reply With Quote #12

Just use the .inc until you debug it.
Attached Images
File Type: jpg 2015-08-09_00003.jpg (93.2 KB, 72 views)
File Type: jpg 2015-08-09_00004.jpg (94.8 KB, 84 views)
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 08-09-2015 , 12:18   Re: Optimization AutoRR
Reply With Quote #13

I don't know to script.Please make you plugin colored and give the good .inc, maybe I have inc old.Remove code color from plugin topic, and put inc.

Last edited by smiley92; 08-09-2015 at 12:21.
smiley92 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 08-09-2015 , 12:45   Re: Optimization AutoRR
Reply With Quote #14

PHP Code:
#include < amxmodx >
#include < colorchat >
#include < hamsandwich >

public plugin_init( ) 
{
   
RegisterHamHam_Spawn"player""first_spawn"true );
}

public 
first_spawnid 
{
    
    if( 
is_user_aliveid )  )
    {
        
ColorChat(0TEAM_COLOR"^4| SKILL.GAJIK.RO | ^3---------- ^4Restart Live ^3----------"
        
ColorChat(0TEAM_COLOR"^4| SKILL.GAJIK.RO | ^3----- ^4# Auto Restart Live ^3 SKILL.GAJIK.RO -----"
        
    }

This is the code I used for testing. We have the same .inc so there's no need to attach it.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 08-09-2015 , 12:59   Re: Optimization AutoRR
Reply With Quote #15

I make like your code plugin AutoRRound, but does not work properly...I link a picture, I'm tero and text is colored blue same CT

Test my plugin when attach AutoRRound and .inc separately.Must to have 1 player online to test it.


Last edited by smiley92; 08-09-2015 at 13:07.
smiley92 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 08-09-2015 , 13:07   Re: Optimization AutoRR
Reply With Quote #16

Remove the clorochat stock from the plugin and use the .inc.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 08-09-2015 , 13:09   Re: Optimization AutoRR
Reply With Quote #17

I removed boss.Look attach, is the same plugin as previous when attach .inc.Does not work properly!
Attached Files
File Type: sma Get Plugin or Get Source (AutoRRound.sma - 192 views - 1.2 KB)

Last edited by smiley92; 08-09-2015 at 13:10.
smiley92 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 08-09-2015 , 13:32   Re: Optimization AutoRR
Reply With Quote #18

It works for me.
Attached Images
File Type: jpg 01.JPG (27.4 KB, 77 views)
File Type: jpg 02.JPG (28.0 KB, 87 views)
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 08-09-2015 , 13:37   Re: Optimization AutoRR
Reply With Quote #19

That plugin what I attach above or have your?

Last edited by smiley92; 08-09-2015 at 13:37.
smiley92 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 08-09-2015 , 13:41   Re: Optimization AutoRR
Reply With Quote #20

This one

PHP Code:
#include < amxmodx >
#include < colorchat >

#define PLUGIN "AutoRRound"
#define VERSION "1.2"
#define AUTHOR "syRex"

#define HUD_MESSAGES
#define MAX_COUNT 1

new g_Count

public plugin_init() 
{
   
register_pluginPLUGINVERSIONAUTHOR )
   
register_event"TextMsg""event_gamecomencing""a""2&#Game_C" )
   
   
register_event"HLTV""event_newround""a""1=0","2=0" )
   
state START_FUNCTION
}

public 
event_gamecomencing() g_Count 0

public event_newround() < BLOCK_FUNCTION > { }
public 
event_newround() < START_FUNCTION >
{
   if( 
g_Count++ == MAX_COUNT )
   {
      
server_cmd"sv_restart 1" )
      
#if defined HUD_MESSAGES
      
set_task1.0"show_messages" )
      
#endif
      
state BLOCK_FUNCTION
   
}
}

public 
show_messages()
{
   
ColorChat(0GREEN"| SKILL.GAJIK.RO | ^3---------- ^4Restart Live ^3----------"
   
ColorChat(0GREEN"| SKILL.GAJIK.RO | ^3----- ^4# Auto Restart Live ^3 SKILL.GAJIK.RO -----"
   
ColorChat(0GREEN"| SKILL.GAJIK.RO | ^3---------- ^4Restart Live ^3----------")     
   
ColorChat(0GREEN"| SKILL.GAJIK.RO | ^3VA ASTEPTAM PE ^4www.gajik.ro/forum")

__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd 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 00:25.


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