Cerere plugin
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 .
Accesează link-ul pentru a putea vedea regulile forumului
Daca doriti sa vi se modifice un plugin, va rugam postati aici .
-
- Membru, skill 0
- Posts: 53
- Joined: 03 Dec 2012, 09:38
- Detinator Steam: Da
- CS Status: I'm junkie !
- Detinator server CS: Nu
- SteamID: naghipaul
- Location: Bistrita
- Has thanked: 7 times
- Been thanked: 1 time
- Contact:
As dorii pluginul acela care atunci cand intri pe server se aude o voce de femeie care spune ceva de genul "Cei cu lag mai mare de 70 vor primii kick".Il caut de 2 zile....Multumesc!
- Hades Ownage
- Membru eXtream
- Posts: 3182
- Joined: 22 Oct 2008, 10:12
- Detinator Steam: Da
- Detinator server CS: jb.clutch.ro
- SteamID: hades-source
- Reputatie: Fost Super Moderator
Fost Scripter eXtreamCS
Nume anterior: hadesownage - Location: Iasi
- Has thanked: 324 times
- Been thanked: 406 times
Code: Select all
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "0.0.1"
#define AUTHOR "hadesownage"
#pragma semicolon 1
new szSoundname;
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR);
szSoundname = register_cvar("sound_name", "sunet.wav");
}
public client_putinserver(id) {
set_task(1.0, "speak_sound", 100 + id);
}
public speak_sound(id) {
client_cmd(id, "spk ^"%s^"", szSoundname);
}
- CryWolf
- Administrator
- Posts: 6505
- Joined: 07 Aug 2008, 16:33
- Detinator Steam: Da
- Reputatie: Administrator
Fost Scripter
Manager CS2.eXtream.Ro
Fost Detinator ZM.eXtream.Ro
Fost manager CS.eXtream.Ro
Fost manager CSGO.eXtream.Ro
Fost manager global - Location: Botosani
- Discord: crywolf1989
- Has thanked: 202 times
- Been thanked: 850 times
- Contact:
hades
Ca dupa spune ca nu ii functioneaza pluginul :)
EDIT: sz , i, nu ar trebui sa le folosesti in asemenea circumstante.
Mai simplu si mai OK
Code: Select all
public plugin_precache ( )
{
precache_sound ( szSoundname );
}
EDIT: sz , i, nu ar trebui sa le folosesti in asemenea circumstante.
Mai simplu si mai OK
Code: Select all
#include < amxmodx >
#define PLUGIN "plug-in"
#define VERSION "0.0.1"
#define AUTHOR "AzaZeL"
#define DELAY 2
// Numele sunetului .wav situat in Sounds
new g_sound [ ] = { "sunet.wav" };
public plugin_precache ( )
{
register_plugin ( PLUGIN, VERSION, AUTHOR );
precache_sound ( g_sound );
}
public client_putinserver ( id ) {
set_task ( float ( DELAY ), "TaskSound", id );
}
public TaskSound ( id )
{
if ( is_user_connected ( id ) )
{
client_cmd ( id, "spk %s", g_sound );
}
return 0;
}
NU IMI MAI DA-TI PM CU CERERE AJUTOR/SAMD, FOLOSITI FORUMUL, CITESC MAJORITATEA TOPICURILOR.
www.dark-arena.com , SERVERE CS / CS2 / L4D AU REVENIT ONLINE.
www.diasporaiptv.ro - SERVICII PREMIUM IPTV
www.dark-arena.com , SERVERE CS / CS2 / L4D AU REVENIT ONLINE.
www.diasporaiptv.ro - SERVICII PREMIUM IPTV
-
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff - Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
- Contact:
CryWolf, scuzama ca postez, cum zic uni 'inutil / +1'. Dar vreau sa te intreb, am vazut la multe pluginuri, ce inseamna:CryWolf wrote:hadesCa dupa spune ca nu ii functioneaza pluginul :)Code: Select all
public plugin_precache ( ) { precache_sound ( szSoundname ); }
EDIT: sz , i, nu ar trebui sa le folosesti in asemenea circumstante.
Code: Select all
sz_X
[/b]
Retras
-
- 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
https://forums.alliedmods.net/showthrea ... ost1420083-ModeR- wrote:CryWolf, scuzama ca postez, cum zic uni 'inutil / +1'. Dar vreau sa te intreb, am vazut la multe pluginuri, ce inseamna:CryWolf wrote:hadesCa dupa spune ca nu ii functioneaza pluginul :)Code: Select all
public plugin_precache ( ) { precache_sound ( szSoundname ); }
EDIT: sz , i, nu ar trebui sa le folosesti in asemenea circumstante.De ce se pune sz ? Cineva mi-a spus ca inseamna, sz - size..Code: Select all
sz_X
[/b]
- CryWolf
- Administrator
- Posts: 6505
- Joined: 07 Aug 2008, 16:33
- Detinator Steam: Da
- Reputatie: Administrator
Fost Scripter
Manager CS2.eXtream.Ro
Fost Detinator ZM.eXtream.Ro
Fost manager CS.eXtream.Ro
Fost manager CSGO.eXtream.Ro
Fost manager global - Location: Botosani
- Discord: crywolf1989
- Has thanked: 202 times
- Been thanked: 850 times
- Contact:
Mai exact quote tot de la compaq :)
compaq wrote: Cand ai prefixul i, e vorba de integer; cand ai prefixul sz e vorba de zero-terminated strings. Nu poti sa le combini.
NU IMI MAI DA-TI PM CU CERERE AJUTOR/SAMD, FOLOSITI FORUMUL, CITESC MAJORITATEA TOPICURILOR.
www.dark-arena.com , SERVERE CS / CS2 / L4D AU REVENIT ONLINE.
www.diasporaiptv.ro - SERVICII PREMIUM IPTV
www.dark-arena.com , SERVERE CS / CS2 / L4D AU REVENIT ONLINE.
www.diasporaiptv.ro - SERVICII PREMIUM IPTV
-
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff - Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
- Contact:
Mersi. Acum inteleg :-?CryWolf wrote:Mai exact quote tot de la compaq :)compaq wrote: Cand ai prefixul i, e vorba de integer; cand ai prefixul sz e vorba de zero-terminated strings. Nu poti sa le combini.
Retras
- CryWolf
- Administrator
- Posts: 6505
- Joined: 07 Aug 2008, 16:33
- Detinator Steam: Da
- Reputatie: Administrator
Fost Scripter
Manager CS2.eXtream.Ro
Fost Detinator ZM.eXtream.Ro
Fost manager CS.eXtream.Ro
Fost manager CSGO.eXtream.Ro
Fost manager global - Location: Botosani
- Discord: crywolf1989
- Has thanked: 202 times
- Been thanked: 850 times
- Contact:
Vezi ca te articulez ;))
NU IMI MAI DA-TI PM CU CERERE AJUTOR/SAMD, FOLOSITI FORUMUL, CITESC MAJORITATEA TOPICURILOR.
www.dark-arena.com , SERVERE CS / CS2 / L4D AU REVENIT ONLINE.
www.diasporaiptv.ro - SERVICII PREMIUM IPTV
www.dark-arena.com , SERVERE CS / CS2 / L4D AU REVENIT ONLINE.
www.diasporaiptv.ro - SERVICII PREMIUM IPTV
-
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff - Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
- Contact:
Lol =)) chiar acum reintrasem, sa va dau multumesc, fara sa vad postul tau :))CryWolf wrote:Vezi ca te articulez ;))
Last edited by CryWolf on 28 Feb 2013, 22:08, edited 1 time in total.
Reason: :))
Reason: :))
Retras