Kupiłem serwer z kumplami na Gamepad.pl i mam do was pytania.
1. Mam na serwerze plugin bomba_explode_sound
/*
Bomb Countdown HUD Timer v0.2 by SAMURAI
* Plugin Details
With this plugin enabled, you can see an colored Hud Message with the c4 time left, until explode
Remeber : if until explode remains less than 8 seconds, hudmessage color will be red, if > 7 will be yellow and > 13 will be green.
* Required Modules:
- CSX
* Credits:
- Emp` for various indicates
- Alka for full tests
* Changelog
- Fixed Events problems
- Pcvars
- Fixed any bug on plugin
*/
#include <amxmodx>
#include <csx>
#define PLUGIN "Bomb Countdown HUD Timer"
#define VERSION "0.2"
#define AUTHOR "SAMURAI"
//
// KONFIGURACJA TUTAJ
//
#define muzyczka "sound/misc/bomba.wav"
#define czas 10
//
//
new g_c4timer, pointnum;
new bool:b_planted = false;
new g_msgsync;
public plugin_init()
{
register_plugin(PLUGIN,VERSION,AUTHOR);
pointnum = get_cvar_pointer("mp_c4timer");
register_logevent("newRound", 2, "1=Round_Start");
register_logevent("endRound", 2, "1=Round_End");
register_logevent("endRound", 2, "1&Restart_Round_");
g_msgsync = CreateHudSyncObj();
}
public newRound()
{
g_c4timer = -1;
remove_task(652450);
b_planted = false;
}
public endRound()
{
g_c4timer = -1;
remove_task(652450);
}
public bomb_planted()
{
b_planted = true;
g_c4timer = get_pcvar_num(pointnum);
dispTime()
set_task(1.0, "dispTime", 652450, "", 0, "b");
}
public bomb_defused()
{
if(b_planted)
{
remove_task(652450);
b_planted = false;
}
}
public bomb_explode()
{
if(b_planted)
{
remove_task(652450);
b_planted = false;
}
}
public dispTime()
{
if(!b_planted)
{
remove_task(652450);
return;
}
if(g_c4timer >= 0)
{
if(g_c4timer > 13) {
set_hudmessage(0, 150, 0, -1.0, 0.80, 0, 1.0, 1.0, 0.01, 0.01, -1);
}
else if(g_c4timer > 7) {
set_hudmessage(150, 150, 0, -1.0, 0.80, 0, 1.0, 1.0, 0.01, 0.01, -1);
if(g_c4timer == czas) {
client_cmd(0, "spk %s", muzyczka)
}
}
else {
set_hudmessage(150, 0, 0, -1.0, 0.80, 0, 1.0, 1.0, 0.01, 0.01, -1);
}
ShowSyncHudMsg(0, g_msgsync, "C4: %d", g_c4timer);
--g_c4timer;
}
}
public plugin_precache()
{
precache_sound("misc/bomba.wav")
return PLUGIN_CONTINUE
} I mam z nim problemy: Gdy paka jest podłożona i TT zabije CT to paka znika (to jest OK), ale czasem jest tak, że paka podłożona TT zabija CT i ta paka przechodzi do następnej rundy i pika dalej, a potem wybucha.2. Szukam pluginu, że tylko admin może patrzeć na każdą drużynę i z każdej kamery.
3. Co dopisać do server.cfg żeby można było patrzeć tylko z jednej kamery "First Person"
4. Czego tylko 1 osoba w z ct może mieć defuse kita??
5. Mam na serwerze ATAC 3.0.1 i chciałbym żeby ktoś napisał mi taki plugin np: wpisuje a konsoli atac_menu i wyświetla mi się menu po lewej stronie (tak jak amxmodmenu) i tak wybieram nick(jednego z graczy online na serwerze) i przechodzi do następnego "okienka" z karami czyli jaką kare mu chce dać.
6. Gdy włączam serwer (przypominam, że mam serwer na Gamepad.pl) to mapy ładują mi się z mapcycle - prawie. Chodzi o to, że w cstrike/mapcycle.txt na pierwszą mapę mam ustawiony aim_map, a przy ładowaniu serwer w gamepadowej konsoli piszę mi tak:
Auto detecting CPU
Using AMD Optimised binary.
Console initialized.
scandir failed:/home/panel/user_files/s17626/CS_v1.6/./valve/SAVE
scandir failed:/home/panel/user_files/s17626/CS_v1.6/./platform/SAVE
Protocol version 47
Exe version 1.1.2.5/Stdio (cstrike)
Exe build: 20:02:44 Oct 24 2006 (3651)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 91.204.163.221:27231
Metamod version 1.19 Copyright (c) 2001-2006 Will Day
Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `meta gpl' for details.
AMX Mod X version 1.8.1.3746 Copyright (c) 2004-2006 AMX Mod X Development Team
AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
This is free software and you are welcome to redistribute it under
certain conditions; type 'amxx gpl' for details.
scandir failed:/home/panel/user_files/s17626/CS_v1.6/./valve/SAVE
scandir failed:/home/panel/user_files/s17626/CS_v1.6/./platform/SAVE
L 09/28/2008 - 20:07:32: -------- Mapchange to de_dust --------
stray key in process_key: item_getiteminfo 63
[AMXX] Zaladowano 7 adminow z pliku
Last man bets version 0.9.3 initialized.
L 09/28/2008 - 20:07:32: [M_Antirusher.amxx]
Admin Spectator ESP v1.3, Copyright (C) 2006 by KoST
Executing AMX Mod X Configuration File
Czestotliwosc wyswietlania wiadomosci: 10:00 minut
[PTB] Ptb.cfg is being executed
PTB: (limitjoin) WTJ prevention is ON.
PTB: (limitafter) Team limiting starts after 0 round(s).
PTB: (limitmin) Team limiting needs at least 0 player(s).
PTB: (maxsize) Maximum team size is 11 player(s).
PTB: (maxdiff) Maximum team size difference is 2.
PTB: (autorounds) First 3 rounds no free team choice.
PTB: (wtjauto) Auto-joining WTJ after 3 tr(y/ies).
PTB: (wtjauto) Auto-kicking WTJ after 5 tr(y/ies).
PTB: (kick) WTJ kicking is OFF.
PTB: (savewtj) Saving to wtj.log is OFF.
PTB: (switch) Team switching is ON.
PTB: (switchafter) Switching starts after 3 round(s).
PTB: (switchmin) Switching needs at least 5 player(s).
PTB: (switchfreq) Switch occurs every 1 round(s) at maximum.
PTB: (playerfreq) Individual players are switched every 7 round(s) at maximum.
PTB: (forceswitch) Forcing switch after 0 unsuccessful switch(es).
PTB: (deadonly) Switching dead only is ON.
PTB: (tellwtj) Telling about WTJ tries is OFF.
PTB: (announce) Announcements are OFF.
PTB: (sayok) "OK" announcements are ON.
PTB: (typesay) typesay usage is OFF.
PTB: (maxstreak) Maximum accepted win streak is 3.
PTB: (maxscore) Maximum accepted team score difference is 2.
PTB: (minrating) Minimum critical strength rating is 1.49.
PTB: (maxrating) Maximum critical strength rating is 2.00.
PTB: (superrating) Super critical strength rating is 3.00.
PTB: (maxincidents) Maximum incidents before internal player score scale down is 50.
PTB: (scaledown) Integer scale down factor for player scores is 2.
Menu item 17 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"
Menu item 18 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"
VAC secure mode disabled.(to co na czerwono to właśnie o to mi chodzi) po zatrzymaniu i uruchomieniu serwera jest mapa de_dust (gdy wpisuję nextmap to piszę aim_map), a pierwsza mapa w mapcycle jest aim_map , a de_dust chyba 5 z kolei. I do amxx.cfg dopisałem//Skad zmieniac mapy //0-folder z mapami 1- mapcycle 2-plik maps.ini amx_mapchooser_mapsloc 1 //Skad brac mapy do amxmodmenu amx_mapsmenu_mapsloc 1 amx_mapmenu_mapsloc 1i nic. - POMOCY!
7. Problem z motd: Wyświetla się lecz nie cały
Proszę o POMOC.
Z góry bardzo dziękuję i jestem wdzięczny.


Dodatki SourceMod



Temat jest zamknięty









