It is currently 21 Jul 2018 09:06






Reply to topic  [ 2 posts ] 
 Modificare 
Author Message
Membru, skill 0
Membru, skill 0
User avatar

Joined: 27 Jan 2018 18:34
Posts: 39
Location: Turnu Magurele
Detinator Steam: Da
CS Status: Cel mai Bun
Detinator server CS: Red.Evils.Ro
SteamID: Nesquik28
Fond eXtream: 0
Sall, se poate sa mi-se editeze si mie pluginul de ace_chat
in loc sa apara ace&semi ace vreau sa apara ca pe LOL cu dauna semi dauna
daca intelegeti

_________________
https://www.youtube.com/watch?v=Gs5LJdJQC9U


10 Jul 2018 20:50
Profile multumesc WWW
Fost moderator
Fost moderator
User avatar

Joined: 10 Jul 2013 21:26
Posts: 1566
Location: Constanta
Detinator Steam: Da
CS Status: Nope
Detinator server CS: Nope
SteamID: Nope
Reputatie: Fost Moderator
Fond eXtream: 0
ace&semiaces este bazat pe numarul de fraguri nu pe daunA.

modificat la plesneala :') | Afiseaza codul
#include < amxmodx >
#include < cstrike >
#include < ColorChat >

#pragma semicolon 1

#define SEMI_ACE 4


static const

PLUGIN[ ] = "Ace_announcement",
VERSION[ ] = "1.1",
AUTHOR[ ] = "Rap^^",

TAG[ ] = "[ACE ANNOUNCEMENT]";


new g_iFrags[ 33 ];

new iForward;


public plugin_init( )
{
register_plugin( PLUGIN, VERSION, AUTHOR );
register_cvar( PLUGIN, AUTHOR, FCVAR_SERVER );

register_event( "HLTV", "EventNewRound", "a", "1=0", "2=0" );
register_event( "DeathMsg", "EventDeathMsg", "a" );

register_logevent( "LogEventRoundEnd", 2, "1=Round_End" );

iForward = CreateMultiForward( "FwdPlayerDidAceOrSemi", ET_STOP, FP_CELL, FP_CELL );
}

public plugin_end( )
{
DestroyForward( iForward );
}

public client_connect( id )
{
g_iFrags[ id ] = 0;
}

public EventNewRound( )
{
arrayset( g_iFrags, 0, sizeof g_iFrags );
}

public EventDeathMsg( )
{
new iKiller = read_data( 1 );
new iVictim = read_data( 2 );

CheckAce( iVictim );

if( !iKiller || iKiller == iVictim || cs_get_user_team( iKiller ) == cs_get_user_team( iVictim ) )
{
return PLUGIN_CONTINUE;
}

g_iFrags[ iKiller ]++;

return PLUGIN_CONTINUE;
}

public LogEventRoundEnd( )
{
new iPlayers[ 32 ], iNum, player;

get_players( iPlayers, iNum, "ch" );

for( new i = 0; i < iNum; i++ )
{
player = iPlayers[ i ];

if( g_iFrags[ player ] >= SEMI_ACE )
{
DidAceOrSemi( player );

if( g_iFrags[ player ] == SEMI_DAUNA + 1 )
{
return PLUGIN_CONTINUE;
}
}
}

return PLUGIN_CONTINUE;
}

public CheckAce( id )
{
if( g_iFrags[ id ] >= SEMI_DAUNA )
{
DidAceOrSemi( id );
}

g_iFrags[ id ] = 0;
}

public DidAceOrSemi( id )
{
new iReturn = PLUGIN_CONTINUE;

ExecuteForward( iForward, iReturn, id, g_iFrags[ id ] );

if( iReturn == PLUGIN_HANDLED || iReturn == PLUGIN_HANDLED_MAIN )
{
return PLUGIN_HANDLED;
}

new szName[ 32 ];

get_user_name( id, szName, sizeof szName - 1 );

ColorChat( 0, GREEN, "%s^x03 %s^x01 made a%s ^x03%sDAUNA^x01.",
TAG, szName, g_iFrags [ id ] == SEMI_DAUNA ? "" : "n", g_iFrags [ id ] == SEMI_DAUNA ? "SEMI-" : "" );

client_cmd( 0, "spk vox/buzwarn" );

return PLUGIN_HANDLED;
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1049\\ f0\\ fs16 \n\\ par }
*/

_________________
:information_source: Ofer Servere Counter-Strike 1,6 moca la 10 euro
Image


11 Jul 2018 00:54
Profile multumesc YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  

În cazul în care aveți probleme cu contul trimiteți un email sau mesaj la servicii_extream[arond]yahoo[punct]com

Powered by phpBB® Forum Software © phpBB Group