Cerere plugin :|

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
User avatar
online
Membru, skill +1
Membru, skill +1
Posts: 206
Joined: 25 Mar 2010, 14:15
Detinator Steam: Da
CS Status: furien.cs1.ro
Detinator server CS: da
SteamID: pointz0r69
Has thanked: 13 times
Been thanked: 6 times

19 Jul 2012, 01:48

Stiu ca este un plugin atunci cand pui tinta pe un jucator arata numele jucatorului . Daca stie cineva cum se numeste sau daca il aveti sa mi-l dati si mie :D . SI vrea sa il modific sa fie cand un CT pune tinta pe un terro sa nu ii apara dar cand un Terro pune tinta pe terro sau ct sa ii apara . Multumesc



EDIT : Am gasit un plugin ceva de genul dar trebuie modificat cum am zis mai sus ....

Code: Select all

#include <amxmodx>

native zp_get_user_zombie(index);
new g_status_sync;

public plugin_init()
{
	register_plugin("PGL-Zombie Stats", "1.0", "Hattrick");
	register_event("StatusValue", "showStatus", "be", "1=2", "2!0");
	register_event("StatusValue", "hideStatus", "be", "1=1", "2=0");
	g_status_sync = CreateHudSyncObj();
}

public showStatus(id)
{
	if (is_user_connected(id) && !zp_get_user_zombie(id))
	{
		new name[32], pid = read_data(2);
		get_user_name(pid, name, 31);
		if (zp_get_user_zombie(pid))
		{
			set_hudmessage(255, 10, 10, -1.0, 0.60, 1, 0.01, 3.0, 0.01, 0.01, -1);
			ShowSyncHudMsg(id, g_status_sync, "%s^nHP: %d", name, get_user_health(pid));
		}
	}
}

public hideStatus(id)
{
	ClearSyncHud(id, g_status_sync);
}
Image
Image
Image
User avatar
K1d0x
Fost moderator
Fost moderator
Posts: 800
Joined: 26 Feb 2012, 15:57
Detinator Steam: Da
CS Status: We Build Together ;3 RedFear
Detinator server CS: PuB.RedFear.Ro
SteamID: k1dox
Reputatie: Fost moderator ajutator
Location: Reșița
Been thanked: 152 times
Contact:

19 Jul 2012, 16:25

| Afiseaza codul
#include <amxmodx>

new iSync;

public plugin_init() {
      register_event("StatusValue", "ShowName", "be", "1=2", "2!0");
      iSync = CreateHudSyncObj();
}

public ShowName(id) {
      if(is_user_alive(id)) {
            new tNAME[32], tID = read_data(2);
            get_user_name(tID, tNAME, 31);

            if(get_user_team(id) == get_user_team(tID)) {
                  set_hudmessage(255, 10, 10, -1.0, 0.60, 1, 0.01, 3.0, 0.01, 0.01, -1);
                  ShowSyncHudMsg(id, iSync, "Name of your friend is:^n %s", tNAME);
            } else {
                  iClear(id);
            }
      }
}

stock iClear(id) {
      ClearSyncHud(id, iSync);
}
Image
32slots.net - Sursa ta de încredere de KIT-uri CS 1.6
RedFear.Ro România - | Afiseaza codul
Vă aştept cu un Register pe Forum
- Suntem în căutare de Dezvoltatori & Administratori :
HTML
PHP
MYSQL
C++
Ofer Server CS spre administrare | Afiseaza codul
Condiții : 
- Să dispui de timp liber
- Să ai cunoștințe AMXX & HLDS
Boostul este asigurat de către Mine (PM pentru. detalii)
ik1d0x@redfear.ro
User avatar
Ulquiorra
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 2054
Joined: 25 Jul 2010, 16: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: Scripter eXtreamCS
Nick anterior: sPuf ?, a^ml), Loca Tapioca, Askhanar
Fost Moderator ajutator
Location: Braila, Romania.
Has thanked: 214 times
Been thanked: 1131 times
Contact:

19 Jul 2012, 16:32

il am facut de vreo 5 6 luni.. dar totusi incearca`l..
mie imi mergea perfect..
Furien Aiming Messages | 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^nHealth: %i",  sName,  get_user_health(  target  )  );
				}
				else if(  targetTeam  !=  team  &&  team  ==  CS_TEAM_T  )
				{
					formatex(  sMessage, sizeof  (  sMessage  )  -1, "Enemy: %s Health: %i",  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;
}
nu garantez pentru el !

EDIT:
K1d0x wrote:sPuf? pentru ceea ce vrea el nu cred ca are rost sa incarce server-ul aiurea :-??
vrea sa`l puna.. nu`l opreste nimeni.. nu vrea.. iarasi nu se supara nimeni:)
mezzu l-a pus cum l-a gasit si nimic neobisnuit :P
Last edited by Ulquiorra on 19 Jul 2012, 17:28, edited 1 time in total.
""Copilarie, iarta-ma c-am vrut sa fiu om mare.. ""
User avatar
K1d0x
Fost moderator
Fost moderator
Posts: 800
Joined: 26 Feb 2012, 15:57
Detinator Steam: Da
CS Status: We Build Together ;3 RedFear
Detinator server CS: PuB.RedFear.Ro
SteamID: k1dox
Reputatie: Fost moderator ajutator
Location: Reșița
Been thanked: 152 times
Contact:

19 Jul 2012, 16:35

sPuf? pentru ceea ce vrea el nu cred ca are rost sa incarce server-ul aiurea :-??
Image
32slots.net - Sursa ta de încredere de KIT-uri CS 1.6
RedFear.Ro România - | Afiseaza codul
Vă aştept cu un Register pe Forum
- Suntem în căutare de Dezvoltatori & Administratori :
HTML
PHP
MYSQL
C++
Ofer Server CS spre administrare | Afiseaza codul
Condiții : 
- Să dispui de timp liber
- Să ai cunoștințe AMXX & HLDS
Boostul este asigurat de către Mine (PM pentru. detalii)
ik1d0x@redfear.ro
User avatar
online
Membru, skill +1
Membru, skill +1
Posts: 206
Joined: 25 Mar 2010, 14:15
Detinator Steam: Da
CS Status: furien.cs1.ro
Detinator server CS: da
SteamID: pointz0r69
Has thanked: 13 times
Been thanked: 6 times

19 Jul 2012, 23:20

sPuf? wrote:il am facut de vreo 5 6 luni.. dar totusi incearca`l..
mie imi mergea perfect..
Furien Aiming Messages | 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^nHealth: %i",  sName,  get_user_health(  target  )  );
				}
				else if(  targetTeam  !=  team  &&  team  ==  CS_TEAM_T  )
				{
					formatex(  sMessage, sizeof  (  sMessage  )  -1, "Enemy: %s Health: %i",  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;
}
nu garantez pentru el !

EDIT:
K1d0x wrote:sPuf? pentru ceea ce vrea el nu cred ca are rost sa incarce server-ul aiurea :-??
vrea sa`l puna.. nu`l opreste nimeni.. nu vrea.. iarasi nu se supara nimeni:)
mezzu l-a pus cum l-a gasit si nimic neobisnuit :P


Imi merge dar daca poti sa-l modifici ca atunci cand esti terro si pui tinta pe ct si terro sa iti apara si cand esti ct sa iti apara doar cand pui tinta pe ct :D
Image
Image
Image
User avatar
Ulquiorra
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 2054
Joined: 25 Jul 2010, 16: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: Scripter eXtreamCS
Nick anterior: sPuf ?, a^ml), Loca Tapioca, Askhanar
Fost Moderator ajutator
Location: Braila, Romania.
Has thanked: 214 times
Been thanked: 1131 times
Contact:

20 Jul 2012, 01:14

ia incearca acum..
Spoiler | 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^nHealth: %i",  sName,  get_user_health(  target  )  );
				}
				else if(  targetTeam  !=  team  &&  team  ==  CS_TEAM_T  )
				{
					formatex(  sMessage, sizeof  (  sMessage  )  -1, "Enemy: %s Health: %i",  sName,  get_user_health(  target  )  );
				}
				else
				{
					formatex(  sMessage, sizeof  (  sMessage  )  -1, " ");
				}
					
				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;
}
""Copilarie, iarta-ma c-am vrut sa fiu om mare.. ""
User avatar
online
Membru, skill +1
Membru, skill +1
Posts: 206
Joined: 25 Mar 2010, 14:15
Detinator Steam: Da
CS Status: furien.cs1.ro
Detinator server CS: da
SteamID: pointz0r69
Has thanked: 13 times
Been thanked: 6 times

20 Jul 2012, 14:02

Nu merge :( e la fel ca inainte...
Image
Image
Image
User avatar
K1d0x
Fost moderator
Fost moderator
Posts: 800
Joined: 26 Feb 2012, 15:57
Detinator Steam: Da
CS Status: We Build Together ;3 RedFear
Detinator server CS: PuB.RedFear.Ro
SteamID: k1dox
Reputatie: Fost moderator ajutator
Location: Reșița
Been thanked: 152 times
Contact:

20 Jul 2012, 14:24

Vezi acum
| 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^nHealth: %i",  sName,  get_user_health(  target  )  );
					set_hudmessage( 0, 63, 127, -1.0, -1.0, 0, 0.0, 0.1, 0.0, 0.0, -1 );
				}
				
				
				show_hudmessage(  id,  "%s",  sMessage  );
			}
		}
	}
	
	return FMRES_IGNORED;
}
Image
32slots.net - Sursa ta de încredere de KIT-uri CS 1.6
RedFear.Ro România - | Afiseaza codul
Vă aştept cu un Register pe Forum
- Suntem în căutare de Dezvoltatori & Administratori :
HTML
PHP
MYSQL
C++
Ofer Server CS spre administrare | Afiseaza codul
Condiții : 
- Să dispui de timp liber
- Să ai cunoștințe AMXX & HLDS
Boostul este asigurat de către Mine (PM pentru. detalii)
ik1d0x@redfear.ro
User avatar
online
Membru, skill +1
Membru, skill +1
Posts: 206
Joined: 25 Mar 2010, 14:15
Detinator Steam: Da
CS Status: furien.cs1.ro
Detinator server CS: da
SteamID: pointz0r69
Has thanked: 13 times
Been thanked: 6 times

22 Jul 2012, 23:04

Nici acum ...la fel e :| deci vreau cand esti terro si pui tinta pe ct / terro sa apara numele si cand esti ct si pui tina pe ct sa apara numele atat ...
Image
Image
Image
User avatar
Rap^
Membru, skill +2
Membru, skill +2
Posts: 621
Joined: 30 Sep 2011, 23:25
Detinator Steam: Da
Reputatie: Fost Scripter eXtreamCS
Fost Super moderator
Location: Bucuresti
Has thanked: 16 times
Been thanked: 156 times

22 Jul 2012, 23:18

Al doilea al lui spuf arata ok, nu vad de ce nu ar merge. Cred ca ai incurcat pluginul vechi cu acela, altfel nu stiu..
Imagination is more important than knowledge.
Knowledge is limited - Imagination encircles the world.
User avatar
Ulquiorra
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 2054
Joined: 25 Jul 2010, 16: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: Scripter eXtreamCS
Nick anterior: sPuf ?, a^ml), Loca Tapioca, Askhanar
Fost Moderator ajutator
Location: Braila, Romania.
Has thanked: 214 times
Been thanked: 1131 times
Contact:

22 Jul 2012, 23:33

ia vezi acum :- ??

pune si cvarul mp_playerid pe 2..
spoiler | 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^nHealth: %i",  sName,  get_user_health(  target  )  );
				}
				else if(  targetTeam  !=  team  &&  team  !=  CS_TEAM_CT  )
				{
					formatex(  sMessage, sizeof  (  sMessage  )  -1, "Enemy: %s Health: %i",  sName,  get_user_health(  target  )  );
				}
				else
				{
					formatex(  sMessage, sizeof  (  sMessage  )  -1, " ");
				}
					
				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;
}
""Copilarie, iarta-ma c-am vrut sa fiu om mare.. ""
User avatar
online
Membru, skill +1
Membru, skill +1
Posts: 206
Joined: 25 Mar 2010, 14:15
Detinator Steam: Da
CS Status: furien.cs1.ro
Detinator server CS: da
SteamID: pointz0r69
Has thanked: 13 times
Been thanked: 6 times

22 Jul 2012, 23:36

Rap^ wrote:Al doilea al lui spuf arata ok, nu vad de ce nu ar merge. Cred ca ai incurcat pluginul vechi cu acela, altfel nu stiu..
l-am testat acum din nou si la fel . Doar cand esti terro si pui tinta pe ct merge in rest nu
Image
Image
Image
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 24 guests