Categoria cu cereri de pluginuri si nu numai.
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
-
sorynn
- Membru, skill 0
- Posts: 52
- Joined: 08 Sep 2009, 19:46
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com!
- Has thanked: 1 time
30 Oct 2009, 22:08
salut care poate sa ma ajute cu un plugins GLOW= sa straluceasca tero adica vreau un plugins glow in care numai tero sa straluceasca red....
-
R E D
- Membru, skill 0
- Posts: 92
- Joined: 08 Sep 2009, 12:44
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com!
- Reputatie: Ban permanent !
(Ban scos de 1 mai!)
- Has thanked: 1 time
- Been thanked: 3 times
31 Oct 2009, 15:58
Ti-am pus o nuanta mai frumusica.
Daca mori, dispare stralucirea. :)
Ca sa il compilezi, mergi aici:
http://www.amxmodx.org/webcompiler.cgi
- | Afiseaza codul
[code=php]/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#define PLUGIN "Glow Terrorists"
#define VERSION "1.0"
#define AUTHOR "R E D"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_forward(FM_UpdateClientData,"client_update")
// Add your code here...
}
public client_update() {
static players[32], num
get_players(players, num, "e", "TERRORIST")
for( new k = 0 ; k < num ; k ++ ) {
new id = players[k]
if(is_user_connected(id) && get_user_team(id) == 1 && is_user_alive(id))
fm_set_rendering(id,kRenderFxGlowShell,50,5,15,kRenderTransColor,250)
}
}
stock fm_set_rendering(entity, fx = kRenderFxNone, r = 255, g = 255, b = 255, render = kRenderNormal, amount = 16) {
new Float:RenderColor[3]
RenderColor[0] = float(r)
RenderColor[1] = float(g)
RenderColor[2] = float(b)
set_pev(entity, pev_renderfx, fx)
set_pev(entity, pev_rendercolor, RenderColor)
set_pev(entity, pev_rendermode, render)
set_pev(entity, pev_renderamt, float(amount))
} [/code]
Last edited by
Ciprian on 31 Oct 2009, 16:12, edited 1 time in total.
Reason: Pentru texte lungi foloseste [sursa=nume]text[/sursa]!
-
Ciprian
- Fost administrator
- Posts: 5172
- Joined: 10 May 2008, 21:29
- Detinator Steam: Da
- CS Status: ^^
- SteamID: crazycipry
- Reputatie: Fost administrator
Fost Scripter eXtreamCS
Fost Supervizor CS.eXtreamCS.com
Fost Unbanner ZM.eXtreamCS.com
Fost Contribuitor
Nume anterior: crazy.cipry
- Location: Baia Mare
- Has thanked: 177 times
- Been thanked: 405 times
31 Oct 2009, 16:13
R E D wrote:Ti-am pus o nuanta mai frumusica.
Daca mori, dispare stralucirea. :)
Ca sa il compilezi, mergi aici:
http://www.amxmodx.org/webcompiler.cgi
- | Afiseaza codul
[code=php]/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#define PLUGIN "Glow Terrorists"
#define VERSION "1.0"
#define AUTHOR "R E D"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_forward(FM_UpdateClientData,"client_update")
// Add your code here...
}
public client_update() {
static players[32], num
get_players(players, num, "e", "TERRORIST")
for( new k = 0 ; k < num ; k ++ ) {
new id = players[k]
if(is_user_connected(id) && get_user_team(id) == 1 && is_user_alive(id))
fm_set_rendering(id,kRenderFxGlowShell,50,5,15,kRenderTransColor,250)
}
}
stock fm_set_rendering(entity, fx = kRenderFxNone, r = 255, g = 255, b = 255, render = kRenderNormal, amount = 16) {
new Float:RenderColor[3]
RenderColor[0] = float(r)
RenderColor[1] = float(g)
RenderColor[2] = float(b)
set_pev(entity, pev_renderfx, fx)
set_pev(entity, pev_rendercolor, RenderColor)
set_pev(entity, pev_rendermode, render)
set_pev(entity, pev_renderamt, float(amount))
} [/code]
Nu te inteleg de ce o tii intr-una cu fakemeta... In loc sa apelezi la o singura functie din fun.... Dar ma rog :-@
-
sorynn
- Membru, skill 0
- Posts: 52
- Joined: 08 Sep 2009, 19:46
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com!
- Has thanked: 1 time
31 Oct 2009, 20:38
sczz dar nu megre nici unu :|
-
R E D
- Membru, skill 0
- Posts: 92
- Joined: 08 Sep 2009, 12:44
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com!
- Reputatie: Ban permanent !
(Ban scos de 1 mai!)
- Has thanked: 1 time
- Been thanked: 3 times
31 Oct 2009, 21:26
Asigura-te ca stii cum sa instalezi un plugin si ca l-ai compilat unde trebuie.
Mai trebuie sa ai si modulul FakeMeta activat si prezent ca sa functioneze pluginul!
Am intrat la mine pe server cu niste buti si merge ok, ca sa stii si tu.
-
H3adShoT
- Membru, skill +3
- Posts: 1254
- Joined: 03 May 2009, 19:19
- Detinator Steam: Da
- CS Status: Nu mai incercati sa-mi furati contul!
- Detinator server CS: Nimic
- SteamID: PM
- Reputatie: Restrictie moderator
- Location: Hunedoara
- Has thanked: 47 times
- Been thanked: 92 times
-
Contact:
31 Oct 2009, 22:04
red poti te rog sal faci sa straluceasca ambele echipe ?
Retras din activitate.
-
compaq
- Fost moderator
- Posts: 2598
- Joined: 01 Dec 2008, 15:32
- Detinator Steam: Da
- Reputatie: Fost eXtream Mod
Fost contribuitor
Fost manager
Fost Scripter eXtreamCS
- Has thanked: 15 times
- Been thanked: 152 times
31 Oct 2009, 22:42
- Ts glow | Afiseaza codul
#include <amxmodx>
#include <cstrike>
#include <fun>
#include <hamsandwich>
#define color_0 255
#define color_1 0
#define color_2 0
public plugin_init()
{
register_plugin("Ts glow", "0.1", "compaq");
RegisterHam(Ham_Spawn, "player", "ham_spawn", 1);
}
public ham_spawn(id)
{
if( is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_T )
{
set_user_rendering(id, kRenderFxGlowShell, color_0, color_1, color_2, 25);
}
return HAM_IGNORED;
}
--------------
- Teams glow | Afiseaza codul
#include <amxmodx>
#include <cstrike>
#include <fun>
#include <hamsandwich>
public plugin_init()
{
register_plugin("Teams glow", "0.1", "compaq");
RegisterHam(Ham_Spawn, "player", "ham_spawn", 1);
}
public ham_spawn(id)
{
if( !is_user_alive(id) )
return PLUGIN_HANDLED;
if( cs_get_user_team(id) == CS_TEAM_T )
{
set_user_rendering(id, kRenderFxGlowShell, 255, 0, 0, 25);
}
else if( cs_get_user_team(id) == CS_TEAM_CT )
{
set_user_rendering(id, kRenderFxGlowShell, 0, 0, 255, 25);
}
return HAM_SUPERCEDE;
}
Nu folosi fakemeta sau fakemeta_util. Foloseste modulele "principale".
-
H3adShoT
- Membru, skill +3
- Posts: 1254
- Joined: 03 May 2009, 19:19
- Detinator Steam: Da
- CS Status: Nu mai incercati sa-mi furati contul!
- Detinator server CS: Nimic
- SteamID: PM
- Reputatie: Restrictie moderator
- Location: Hunedoara
- Has thanked: 47 times
- Been thanked: 92 times
-
Contact:
01 Nov 2009, 00:15
compaq nu mere teams glow :|
Retras din activitate.
-
compaq
- Fost moderator
- Posts: 2598
- Joined: 01 Dec 2008, 15:32
- Detinator Steam: Da
- Reputatie: Fost eXtream Mod
Fost contribuitor
Fost manager
Fost Scripter eXtreamCS
- Has thanked: 15 times
- Been thanked: 152 times
01 Nov 2009, 11:08
- Teams glow | Afiseaza codul
#include <amxmodx>
#include <cstrike>
#include <fun>
#include <hamsandwich>
public plugin_init()
{
register_plugin("Teams glow", "0.1", "compaq");
RegisterHam(Ham_Spawn, "player", "ham_spawn", 1);
}
public ham_spawn(id)
{
if( !is_user_alive(id) )
return PLUGIN_HANDLED;
if( cs_get_user_team(id) == CS_TEAM_T )
{
set_user_rendering(id, kRenderFxGlowShell, 255, 0, 0, 25);
}
else if( cs_get_user_team(id) == CS_TEAM_CT )
{
set_user_rendering(id, kRenderFxGlowShell, 0, 0, 255, 25);
}
return PLUGIN_HANDLED;
}
-
PoSiTiOn Of PoWeR
- Utilizator banat
- Posts: 2467
- Joined: 28 Oct 2007, 12:18
- Detinator Steam: Nu
- Reputatie: Fost super moderator (suspendare 2 luni)
Fost scripter eXtreamCS
Nick anterior : AlinHD
1.6 / 3
- Has thanked: 4 times
- Been thanked: 116 times
01 Nov 2009, 11:46
@compaq nu folosi in functi din hamsandwich return PLUGIN_HANDLED/PLUGIN_CONTINUE poti folosi return HAM_HANDLED vezi pe alliedmods mai multe tutoriale
-
compaq
- Fost moderator
- Posts: 2598
- Joined: 01 Dec 2008, 15:32
- Detinator Steam: Da
- Reputatie: Fost eXtream Mod
Fost contribuitor
Fost manager
Fost Scripter eXtreamCS
- Has thanked: 15 times
- Been thanked: 152 times
01 Nov 2009, 15:40
AlinHD wrote:@compaq nu folosi in functi din hamsandwich return PLUGIN_HANDLED/PLUGIN_CONTINUE poti folosi return HAM_HANDLED vezi pe alliedmods mai multe tutoriale
Mda, tot uit asta.
- Team glows | Afiseaza codul
#include <amxmodx>
#include <cstrike>
#include <fun>
#include <hamsandwich>
public plugin_init()
{
register_plugin("Teams glow", "0.1", "compaq");
RegisterHam(Ham_Spawn, "player", "ham_spawn", 1);
}
public ham_spawn(id)
{
if( !is_user_alive(id) )
return PLUGIN_HANDLED;
if( cs_get_user_team(id) == CS_TEAM_T )
{
set_user_rendering(id, kRenderFxGlowShell, 255, 0, 0, 25);
}
else if( cs_get_user_team(id) == CS_TEAM_CT )
{
set_user_rendering(id, kRenderFxGlowShell, 0, 0, 255, 25);
}
return HAM_IGNORED;
}
-
Users browsing this forum: No registered users and 4 guests