Categoria cu cereri de pluginuri si nu numai.
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
-
CsN^ ;x
- Membru eXtream
- Posts: 3560
- Joined: 02 Apr 2012, 16:58
- Detinator Steam: Nu
- CS Status: Retras din domeniul Counter-Strike
- Reputatie: Fost moderator
- Location: Bucuresti
- Has thanked: 797 times
- Been thanked: 607 times
16 Feb 2014, 13:50
Nickname: CsN^ ;x
Numele pluginului cerut: fmu_aim_messages
Descriere plugin cerut: Cand pui tinta pe un adeversar ii vezi numele
Alte informatii: Deci doresc si eu acel plugin cand pun tinta pe un CT sa vad numele lui si cand pune CT tinta pe un TERO sa nu vada,cand pune CT tinta pe un CT sa ii vada numele si cand pune un TERO tinta pe TERO sa ii vada.Sper ca ati inteles,ct daca pune pe tero sa nu vada dar invers da si ct pe ct sa se vada.Nu doresc acest plugin de jos
- | Afiseaza codul
[code]#include < amxmodx >
#include < cstrike >
#include < fakemeta >
#pragma semicolon 1
#define PLUGIN "Furien Aiming Messages"
#define VERSION "1.0"
#define IsPlayer(%1) ( 1 <= %1 <= g_MaxPlayers )
new g_MaxPlayers;
public plugin_init( )
{
register_plugin( PLUGIN, VERSION, "Askhanar" );
register_forward( FM_PlayerPreThink, "fwdPlayerPreThink" );
g_MaxPlayers = global_get( glb_maxClients );
}
public fwdPlayerPreThink( id )
{
if( is_user_alive( id ) )
{
new target, body;
get_user_aiming( id, target, body, 9999 );
new CsTeams:team = cs_get_user_team( id );
if( is_user_alive( target ) )
{
if( IsPlayer( target ) )
{
new CsTeams:targetTeam = cs_get_user_team( target );
new sName[ 32 ];
get_user_name( target, sName, sizeof ( sName ) -1 );
new sMessage[ 64 ];
if( targetTeam == team )
{
formatex( sMessage, sizeof ( sMessage ) -1, "%s: %s Health: %i", IsUserVip( target ) ? "VIP" : "Friend", sName, get_user_health( target ) );
}
else if( targetTeam != team && team != CS_TEAM_CT )
{
formatex( sMessage, sizeof ( sMessage ) -1, "%s: %s Health: %i", IsUserVip( target ) ? "VIP" : "Enemy", sName, get_user_health( target ) );
}
if( targetTeam == CS_TEAM_CT )
{
set_hudmessage( 0, 63, 127, -1.0, -1.0, 0, 0.0, 0.1, 0.0, 0.0, -1 );
}
else if( targetTeam == CS_TEAM_T )
{
set_hudmessage( 127, 0, 0, -1.0, -1.0, 0, 0.0, 0.1, 0.0, 0.0, -1 );
}
show_hudmessage( id, "%s", sMessage );
}
}
}
return FMRES_IGNORED;
}
stock bool:IsUserVip( id )
{
if( get_user_flags( id ) & read_flags( "vxy" ) )
return true;
return false;
}[/code]
Pentru ca nu e ce am cerut eu :D
-
#Vali
- Fost moderator
- Posts: 2611
- Joined: 24 Jan 2012, 11:00
- Detinator Steam: Da
- SteamID: id/spryt3
- Reputatie: Fost Moderator
Fost Scripter eXtreamCS.com
1.2 / 3
- Location: root
- Has thanked: 81 times
- Been thanked: 144 times
-
Contact:
16 Feb 2014, 13:54
- | Afiseaza codul
#include < amxmodx >
#include < cstrike >
#include < fakemeta >
#pragma semicolon 1
#define PLUGIN "Furien Aiming Messages"
#define VERSION "1.0"
#define IsPlayer(%1) ( 1 <= %1 <= g_MaxPlayers )
new g_MaxPlayers;
public plugin_init( )
{
register_plugin( PLUGIN, VERSION, "Askhanar" );
register_forward( FM_PlayerPreThink, "fwdPlayerPreThink" );
g_MaxPlayers = global_get( glb_maxClients );
}
public fwdPlayerPreThink( id )
{
if( is_user_alive( id ) )
{
new target, body;
get_user_aiming( id, target, body, 9999 );
new CsTeams:team = cs_get_user_team( id );
if( is_user_alive( target ) )
{
if( IsPlayer( target ) )
{
new CsTeams:targetTeam = cs_get_user_team( target );
new sName[ 32 ];
get_user_name( target, sName, sizeof ( sName ) -1 );
new sMessage[ 64 ];
if( targetTeam == team )
{
formatex( sMessage, sizeof ( sMessage ) -1, "%s: %s Health: %i", IsUserVip( target ) ? "VIP" : "Friend", sName, get_user_health( target ) );
}
else if( targetTeam != team && team != CS_TEAM_CT )
{
return PLUGIN_HANDLED;
}
if( targetTeam == CS_TEAM_CT )
{
set_hudmessage( 0, 63, 127, -1.0, -1.0, 0, 0.0, 0.1, 0.0, 0.0, -1 );
}
else if( targetTeam == CS_TEAM_T )
{
return PLUGIN_HANDLED;
}
show_hudmessage( id, "%s", sMessage );
}
}
}
return FMRES_IGNORED;
}
stock bool:IsUserVip( id )
{
if( get_user_flags( id ) & read_flags( "vxy" ) )
return true;
return false;
}
Ta-dam :-?
-
CsN^ ;x
- Membru eXtream
- Posts: 3560
- Joined: 02 Apr 2012, 16:58
- Detinator Steam: Nu
- CS Status: Retras din domeniul Counter-Strike
- Reputatie: Fost moderator
- Location: Bucuresti
- Has thanked: 797 times
- Been thanked: 607 times
16 Feb 2014, 14:06
fara hp daca se poate X_x si il testez dupa :)
-
#Vali
- Fost moderator
- Posts: 2611
- Joined: 24 Jan 2012, 11:00
- Detinator Steam: Da
- SteamID: id/spryt3
- Reputatie: Fost Moderator
Fost Scripter eXtreamCS.com
1.2 / 3
- Location: root
- Has thanked: 81 times
- Been thanked: 144 times
-
Contact:
16 Feb 2014, 14:22
- | Afiseaza codul
#include < amxmodx >
#include < cstrike >
#include < fakemeta >
#pragma semicolon 1
#define PLUGIN "Furien Aiming Messages"
#define VERSION "1.0"
#define IsPlayer(%1) ( 1 <= %1 <= g_MaxPlayers )
new g_MaxPlayers;
public plugin_init( )
{
register_plugin( PLUGIN, VERSION, "Askhanar" );
register_forward( FM_PlayerPreThink, "fwdPlayerPreThink" );
g_MaxPlayers = global_get( glb_maxClients );
}
public fwdPlayerPreThink( id )
{
if( is_user_alive( id ) )
{
new target, body;
get_user_aiming( id, target, body, 9999 );
new CsTeams:team = cs_get_user_team( id );
if( is_user_alive( target ) )
{
if( IsPlayer( target ) )
{
new CsTeams:targetTeam = cs_get_user_team( target );
new sName[ 32 ];
get_user_name( target, sName, sizeof ( sName ) -1 );
new sMessage[ 64 ];
if( targetTeam == team )
{
formatex( sMessage, sizeof ( sMessage ) -1, "%s: %s", IsUserVip( target ) ? "VIP" : "Friend", sName);
}
else if( targetTeam != team && team != CS_TEAM_CT )
{
return PLUGIN_HANDLED;
}
if( targetTeam == CS_TEAM_CT )
{
set_hudmessage( 0, 63, 127, -1.0, -1.0, 0, 0.0, 0.1, 0.0, 0.0, -1 );
}
else if( targetTeam == CS_TEAM_T )
{
return PLUGIN_HANDLED;
}
show_hudmessage( id, "%s", sMessage );
}
}
}
return FMRES_IGNORED;
}
stock bool:IsUserVip( id )
{
if( get_user_flags( id ) & read_flags( "vxy" ) )
return true;
return false;
}
-
CsN^ ;x
- Membru eXtream
- Posts: 3560
- Joined: 02 Apr 2012, 16:58
- Detinator Steam: Nu
- CS Status: Retras din domeniul Counter-Strike
- Reputatie: Fost moderator
- Location: Bucuresti
- Has thanked: 797 times
- Been thanked: 607 times
16 Feb 2014, 14:57
Nu merge man,acuma si cand sunt tero si pun tinta pe ct nu imi mai arata X_x :| (deci sper ca ai inteles cu doresc :) tero pe ct ,ct pe ct si ct pe tero nu doar numele atat)
-
#Vali
- Fost moderator
- Posts: 2611
- Joined: 24 Jan 2012, 11:00
- Detinator Steam: Da
- SteamID: id/spryt3
- Reputatie: Fost Moderator
Fost Scripter eXtreamCS.com
1.2 / 3
- Location: root
- Has thanked: 81 times
- Been thanked: 144 times
-
Contact:
16 Feb 2014, 17:09
Try:
- | Afiseaza codul
#include < amxmodx >
#include < cstrike >
#include < fakemeta >
#pragma semicolon 1
#define PLUGIN "Furien Aiming Messages"
#define VERSION "1.0"
#define IsPlayer(%1) ( 1 <= %1 <= g_MaxPlayers )
new g_MaxPlayers;
public plugin_init( )
{
register_plugin( PLUGIN, VERSION, "Askhanar" );
register_forward( FM_PlayerPreThink, "fwdPlayerPreThink" );
g_MaxPlayers = global_get( glb_maxClients );
}
public fwdPlayerPreThink( id )
{
if( is_user_alive( id ) )
{
new target, body;
get_user_aiming( id, target, body, 9999 );
new CsTeams:team = cs_get_user_team( id );
if( is_user_alive( target ) )
{
if( IsPlayer( target ) )
{
new CsTeams:targetTeam = cs_get_user_team( target );
new sName[ 32 ];
get_user_name( target, sName, sizeof ( sName ) -1 );
new sMessage[ 64 ];
if( targetTeam == team )
{
formatex( sMessage, sizeof ( sMessage ) -1, "%s: %s", IsUserVip( target ) ? "VIP" : "Friend", sName);
}
else if( targetTeam != CS_TEAM_T && team != CS_TEAM_CT )
{
formatex( sMessage, sizeof ( sMessage ) -1, "%s: %s ", IsUserVip( target ) ? "VIP" : "Enemy", sName );
}
if( targetTeam == CS_TEAM_CT )
{
set_hudmessage( 0, 63, 127, -1.0, -1.0, 0, 0.0, 0.1, 0.0, 0.0, -1 );
}
else if( targetTeam == CS_TEAM_T )
{
return PLUGIN_HANDLED;
}
show_hudmessage( id, "%s", sMessage );
}
}
}
return FMRES_IGNORED;
}
stock bool:IsUserVip( id )
{
if( get_user_flags( id ) & read_flags( "vxy" ) )
return true;
return false;
}
-
Ulquiorra
- Fost moderator
- Posts: 2053
- Joined: 25 Jul 2010, 17:29
- Detinator Steam: Da
- CS Status: A mai trecut o zi asteptand una mai buna
- Detinator server CS: Retras.
- SteamID: STEAM_0:1:318247XX
- Reputatie: Fost Scripter eXtreamCS
Fost Moderator ajutator
Nick anterior: Askhanar
- Location: Braila, Romania.
- Has thanked: 215 times
- Been thanked: 1132 times
16 Feb 2014, 19:08
ct vad doar coechipierii.
t vad atat coechipierii cat si pe ct
fara hp
- | Afiseaza codul
#include < amxmodx >
#include < cstrike >
#include < fakemeta >
#pragma semicolon 1
#define PLUGIN "Furien Aiming Messages"
#define VERSION "1.0"
#define IsPlayer(%1) ( 1 <= %1 <= g_MaxPlayers )
new g_MaxPlayers;
public plugin_init( )
{
register_plugin( PLUGIN, VERSION, "Askhanar" );
register_forward( FM_PlayerPreThink, "fwdPlayerPreThink" );
g_MaxPlayers = global_get( glb_maxClients );
}
public fwdPlayerPreThink( id )
{
if( is_user_alive( id ) )
{
new target, body;
get_user_aiming( id, target, body, 9999 );
new CsTeams:team = cs_get_user_team( id );
if( is_user_alive( target ) )
{
if( IsPlayer( target ) )
{
new CsTeams:targetTeam = cs_get_user_team( target );
new sName[ 32 ];
get_user_name( target, sName, sizeof ( sName ) -1 );
new sMessage[ 64 ];
if( targetTeam == team )
{
formatex( sMessage, sizeof ( sMessage ) -1, "Friend: %s", sName );
}
else if( targetTeam != team && team != CS_TEAM_CT )
{
formatex( sMessage, sizeof ( sMessage ) -1, "Enemy: %s", sName );
}
if( targetTeam == CS_TEAM_CT )
{
set_hudmessage( 0, 63, 127, -1.0, -1.0, 0, 0.0, 0.1, 0.0, 0.0, -1 );
}
else if( targetTeam == CS_TEAM_T )
{
set_hudmessage( 127, 0, 0, -1.0, -1.0, 0, 0.0, 0.1, 0.0, 0.0, -1 );
}
show_hudmessage( id, "%s", sMessage );
}
}
}
return FMRES_IGNORED;
}
LE: pune cvarul mp_playerid 2 in amxx.cfg
Caut o persoana dedicata care se pricepe si stie ce face.
Vreau sa creeze si sa se ocupe de administrarea unui server de MU, da e vorba de vechiul joc..ma gandesc undeva la un season 3 ep1/2.
O sa achizitionez un domeniu .ro.
Totodata sponsorizez absolut orice este necesar.
Ma puteti contacta prin:
http://solo.to/stfrzv
-
CsN^ ;x
- Membru eXtream
- Posts: 3560
- Joined: 02 Apr 2012, 16:58
- Detinator Steam: Nu
- CS Status: Retras din domeniul Counter-Strike
- Reputatie: Fost moderator
- Location: Bucuresti
- Has thanked: 797 times
- Been thanked: 607 times
17 Feb 2014, 11:00
Le-am testat pe am2 si doar tero vede la ct si ct pe ct nu nici tero pe tero nu :| o fi de la semiclip?Am doar .amxx X_x si daca inlocuiesc cu altu imi dispare shop-ul,meniul si ce mai am.. (serveru e furien)
-
Ulquiorra
- Fost moderator
- Posts: 2053
- Joined: 25 Jul 2010, 17:29
- Detinator Steam: Da
- CS Status: A mai trecut o zi asteptand una mai buna
- Detinator server CS: Retras.
- SteamID: STEAM_0:1:318247XX
- Reputatie: Fost Scripter eXtreamCS
Fost Moderator ajutator
Nick anterior: Askhanar
- Location: Braila, Romania.
- Has thanked: 215 times
- Been thanked: 1132 times
17 Feb 2014, 18:20
pune pluginu deasupra celui de semiclip..
Caut o persoana dedicata care se pricepe si stie ce face.
Vreau sa creeze si sa se ocupe de administrarea unui server de MU, da e vorba de vechiul joc..ma gandesc undeva la un season 3 ep1/2.
O sa achizitionez un domeniu .ro.
Totodata sponsorizez absolut orice este necesar.
Ma puteti contacta prin:
http://solo.to/stfrzv
-
CsN^ ;x
- Membru eXtream
- Posts: 3560
- Joined: 02 Apr 2012, 16:58
- Detinator Steam: Nu
- CS Status: Retras din domeniul Counter-Strike
- Reputatie: Fost moderator
- Location: Bucuresti
- Has thanked: 797 times
- Been thanked: 607 times
17 Feb 2014, 19:21
Rezolvat,merge cu a lu Askhanar.
-
Users browsing this forum: No registered users and 40 guests